layerstate-getnames


(layerstate-getnames  [ withHidden ]  [ withXref ] )

This function returns a list of all LayerStates matching the specified conditions.

Arguments

withHidden  if T, hidden LayerStates will be included, it omitted or NIL, hidden LayerStates are excluded

withXref  if T, xref-based LayerStates will be included, it omitted or NIL, xref-based LayerStates are excluded

Return

list of LayerState names (string) matching the conditions; can be NIL

Example

(layerstate-getnames)  ("Walls" "Roof" ..."Basement")
(layerstate-getnames NIL T)  ("Walls" "Roof" ..."Dwg1|Walls" "Dwg1|Roof" ..."Basement")

Remarks




©  Bricsys NV. All rights reserved.