pteToggleLSActive
pteToggleLSActive( ?layerSetst_layerSetName[ ?toggleVis { t | nil } ] [ ?toggleSel { t | nil } ] [w_windowId] ) => t / nil
Description
Adds or removes the specified layer set from the list of active layer sets. Additionally, toggles the visibility and selectability status of the various layer-purpose pairs contained in the layer set.
Arguments
Value Returned
|
The specified layer set was added or removed from the list of active layers and the visibility and selectability status was toggled as required. |
|
Examples
pteToggleLSActive(?layerSet "All Layers" ?toggleVis t ?toggleSel nil)
pteToggleLSActive(?layerSet pteGetLSAtPosition(1) ?toggleVis t ?toggleSel t window(2))
Return to top