pteSaveAsLayerSet
pteSaveAsLayerSet(
t_layerSetName
t_layerSetRepositoryPath
[ g_overwrite ]
[ w_windowId ]
)
=> t / nil
Description
Saves the layer set currently in use with a new name.
Arguments
|
t_layerSetName
|
Name with which the layer set is to be saved.
|
|
t_layerSetRepositoryPath
|
|
|
Path to the layer set repository.
|
|
g_overwrite
|
If set to t, any existing layer set file with the same name is overwritten. Default value: t
|
|
w_windowId
|
ID of the window containing the Palette from which you want to save information. Valid values: ID of any open window Default: Current window
|
Value Returned
|
t
|
The layer set was saved with the specified name.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteSaveAsLayerSet("metal" ".cadence")
pteSaveAsLayerSet("metal" "/share/.cadence")
pteSaveAsLayerSet("metal" ".cadence" t)
pteSaveAsLayerSet("metal" ".cadence" t window(2))
Return to top