pteSetLSPosition
pteSetLSPosition(
t_layerSetName
x_position
[ w_windowId ]
)
=> t / nil
Description
Moves the specified layer set to the specified position in the Layer Set Manager.
Arguments
|
t_layerSetName
|
Name of the layer set that needs to be moved up or down the list.
|
|
x_position
|
Position to which the layer set needs to be moved, where 0 is the first item in the list, 1 the second item, and so on. Disabled layer sets, which may not be displayed in the Layer Set Manager at the given instance, are counted while identifying the new position for the layer set.
|
|
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 moved to a new position.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteSetLSPosition("metal" 2)
pteSetLSPosition("metal" 2 window(2))
Return to top