pteSetLSEnable
pteSetLSEnable(
t_layerSetName
g_showState
[ w_windowId ]
)
=> t / nil
Description
Enables or disables the specified layer set. The layer set currently in use cannot be disabled.
Arguments
|
t_layerSetName
|
Name of the layer set to be enabled or disabled.
|
|
g_showState
|
If set to t, the layer set is enabled. If set to nil, the layer set is disabled.
|
|
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 specified layer set was enabled or disabled.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteSetLSEnable("metal" t)
pteSetLSEnable("metal" nil window(2))
Return to top