Saves a layer state in the current drawing
(layerstate-save layerstatename mask viewport)
An integer sum designating which properties in the layer state are to be restored.
1- Restore the saved On or Off value
2- Restore the saved Frozen or Thawed value
4- Restore the saved Lock value
8- Restore the saved Plot or No Plot value
16- Restore the saved VPVSDFLT value
T if the save is successful; otherwise nil
(layerstate-save “myLayerState“ 21 viewportId)
T
(layerstate-save “myLayerState“ nil nil)
nil