Returns a list of the layer state names
Supported Platforms: Windows and Mac OS
(layerstate-getnames [includehidden] [includexref])
Type: T or nil
If includehidden is T, the list will include the names of hidden layer states. If omitted or nil, hidden layer states will be excluded.
Type: T or nil
If includexref is nil, the list will exclude the names of xref layer states. If omitted or T, xref layer states will be included
Type: List or nil
Returns a list of the layer state names.
(layerstate-getnames) ("First Floor" "Second Floor" "Foundation")