pteSetNoneVisible
pteSetNoneVisible(
[ ?mode { Display | Selection | Propagate } ]
[ ?only { t | nil } ]
[ ?panel { Layers | Objects | Grids } ]
[ ?window w_windowId ]
)
=> t / nil
Description
Sets as invisible the specified items in the specified Palette panel.
Arguments
|
?mode
|
Scope of execution of the command.
Valid values:
-
Display: All items displayed in the specified Palette panel are set as invisible. If the parent and child items in the Objects and Grids panels are in a desynchronized state, only the parent items are set as invisible. -
Selection: Only the items selected in the specified Palette panel are set as invisible.
-
Propagate: Both parent and child items in the specified Palette panel are set as invisible. Use this mode only if the parent and child objects in the Objects and Grids panels are in a desynchronized state.
|
|
?only
|
If set to t, only the items corresponding to the specified mode are set as invisible.
|
|
?panel
|
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.
|
|
?window 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 items were set as invisible.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteSetNoneVisible(?panel "Layers")
pteSetNoneVisible(?only t)
pteSetNoneVisible(?mode "Display")
pteSetNoneVisible(?window window(2))
pteSetNoneVisible(?mode "Display" ?only t ?panel "Layers" ?window window(2))
Return to top