layerstate-has

AutoCad AutoLISP Functions

 
layerstate-has
 
 
 

Checks if a layer state is present

(layerstate-has layerstatename)

Arguments

layerstatename

A string specifying the name of the layer state to be queried.

Return Values

T if the name exists; otherwise nil

Examples

(layerstate-has “myLayerState”)
T