Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

pteSaveLayerSetListInRepository

pteSaveLayerSetListInRepository(
t_layerSetRepositoryPath
[ g_overwrite ]
[ w_windowId ]
)
=> t / nil

Description

Saves the list of layer sets displayed in the Layer Set Manager to a file named layerset.order in the specified repository. The order in which the layer sets are listed and their state—whether enabled or disabled—is also saved.

Arguments

t_layerSetRepositoryPath

  

Path to which you want to save the layerset.order file.

g_overwrite

If set to t, the existing layerset.order file 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 layerset.order file was successfully saved at the specified location.

nil

The command was unsuccessful.

Examples

Saves the layerset.order file to the present working directory:

pteSaveLayerSetListInRepository("./.cadence")

Saves the layerset.order file to the user’s home directory:

pteSaveLayerSetListInRepository("/home/user01/.cadence")

Return to top
 ⠀
X