layerstate-getlayers


(layerstate-getlayers  layerState  [ inverted ] )

This function returns the list of all layers stored in layerState or those layers not stored in the LayerState.

Arguments

layerState  (string) name of the LayerState to query for the layers

inverted  (optionally) if NIL or omitted, it lists the layers stored in layerState; if T, it lists the layers not stored in layerState

Return

list of layer names (strings); can be NIL if the specified LayerState does not  exist, or does not contain any layer definition

Example

(layerstate-getlayers-"WallLayers")  ("Wall_1" "Wall_2" ...)
(layerstate-getlayers-"WallLayers" T)  ("Windows" "Roof" ...)

Remarks




©  Bricsys NV. All rights reserved.