layerstate-rename

AutoCad AutoLISP Functions

 
layerstate-rename
 
 
 

Renames a layer state

(layerstate-rename oldlayerstatename newlayerstatename)

Arguments

oldlayerstatename

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

newlayerstatename

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

Return Values

T if the rename is successful; otherwise nil

Examples

(layerstate-rename “myLayerState“ “myNewLayerState“)
T