(layerstate-compare)

(layerstate-compare layerstatename viewport)


Compares a layerstate to the layers in the current drawing.


The layerstatename argument is a string specifying the name of the layer state to compare. The viewport argument is an ename (ads_name) of the viewport to be used in the comparison. If viewport is nil, the current viewport is used. Return s T if successful; otherwise nil.

Example

Code Returns
(layerstate-compare "myLayerState") T

 

Tell me about...

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language