pteSetValidity
pteSetValidity(
{ t_layerPurposeName | t_paletteElementPath }
g_validityState
t_panelName
[ w_windowId ]
)
=> t / nil
Description
Sets the validity state for the specified item.
Arguments
|
t_layerPurposeName
|
|
|
Name of the item to be made valid.
|
|
t_paletteElementPath
|
|
|
Path to the item to be made valid.
|
|
g_validityState
|
Validity state to be set for the specified layer-purpose pair or Palette element. If set to t, validity is turned on. If set to nil, validity is turned off.
|
|
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 validity state was set for the specified item.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteSetValidity("Metal8 drawing" nil "Layers")
pteSetValidity("Metal8 drawing" nil "Layers" window(2))
Return to top