pteImportLayerSet
pteImportLayerSet(
t_layerSetFilePath
t_layerSetRepositoryPath
t_layerSetName
[ g_overwrite ]
)
=> t / nil
Description
Imports the specified layer set file from the file system to the Palette repository and saves it with the specified name.
Arguments
|
t_layerSetFilePath
|
|
|
Path to the layer set file that is to be imported.
|
|
t_layerSetRepositoryPath
|
|
|
Path to the layer set repository.
|
|
t_layerSetName
|
The name with which the imported layer set file needs to be saved in the layer set repository.
|
|
g_overwrite
|
If set to t, replaces an existing layer set file if it has the same name as that specified for the file being imported.
|
Value Returned
|
t
|
The specified layer set was imported.
|
|
nil
|
The command was unsuccessful.
|
Examples
pteImportLayerSet("/tmp/metal.layerSet" ".cadence" "metal")
pteImportLayerSet("/tmp/metal.layerSet" "/share/.cadence" "metal" t)
Return to top