pteToggleAllValidity
pteToggleAllValidity(
t_panelName
[ w_windowId ]
)
=> t / nil
Description
Toggles the validity status of all the items in the specified panel.
Arguments
|
t_panelName
|
Name of the Palette panel. Valid values: Layers, Objects, and Grids
Default: The panel that is currently active. If none of the panels is active, the command is run on the Layers panel.
|
|
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 status of all the items in the specified panel was toggled.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteToggleAllValidity("Layers")
pteToggleAllValidity("Layers" window(2))
Return to top