Renames a layer state
Supported Platforms: Windows and Mac OS
(layerstate-rename oldlayerstatename newlayerstatename)
Type: String
Name of the layer state to be renamed.
Type: String
Name of the layer state to be updated.
Type: T or nil
T if the rename is successful; otherwise nil.
(layerstate-rename "myLayerState" "myNewLayerState") T