pteSetSelectable
pteSetSelectable(
{ t_layerPurposeName | t_paletteElementPath }
g_selectabilityState
t_panelName
[ w_windowId ]
)
=> t / nil
Description
Sets the selectability state for the specified item.
Arguments
|
t_layerPurposeName
|
|
|
Name of the item to be made selectable.
|
|
t_paletteElementPath
|
|
|
Path to the item to be made selectable.
|
|
g_selectabilityState
|
|
|
Selectability state to be set for the specified item. If set to t, selectability is turned on. If set to nil, selectability 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 selectability state was set for the specified item.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteSetSelectable("Metal1 drawing" nil "Layers")
pteSetSelectable("Metal1;Metal1 drawing" nil "Layers") (in ViewBy mode)
pteSetSelectable("Shapes;Circle/Ellipse" nil "Objects" window(2))
Related Topics
pteIsSelectable
Return to top