layerstate-rename (AutoLISP)

Renames a layer state

Supported Platforms: Windows and Mac OS

Signature

(layerstate-rename oldlayerstatename newlayerstatename)
oldlayerstatename

Type: String

Name of the layer state to be renamed.

newlayerstatename

Type: String

Name of the layer state to be updated.

Return Values

Type: T or nil

T if the rename is successful; otherwise nil.

Examples

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