pteSetLayerSetMember
pteSetLayerSetMember(
t_layerPurposeName
g_memberState
t_panelName
[ w_windowId ]
)
=> t / nil
Description
Adds or removes the specified layer-purpose pair from the layer set currently in use.
Arguments
|
t_layerPurposeName
|
|
|
Name of the layer-purpose pair to be added or removed.
|
|
g_memberState
|
If set to t, the layer-purpose pair is added as a member to the layer set currently in use. If set to nil, the layer-purpose pair is removed from the layer set currently in use.
|
|
t_panelName
|
Name of the Palette panel. Valid values: Layers, Objects, and Grids
|
|
w_windowId
|
ID of the window containing the Palette that you want to update. Valid values: ID of any open window Default: Current window
|
Value Returned
|
t
|
The layer-purpose pair was added or removed from the layer set currently in use.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteSetLayerSetMember("OVERLAP boundary" nil "Layers")
pteSetLayerSetMember("nwell drawing" t "Layers" window(2))
Return to top