Product Documentation
Virtuoso Schematic Editor SKILL Functions Reference
Product Version IC23.1, November 2023

schHiEnvSaveLoad

schHiEnvSaveLoad(
[ ?action t_action ]
[ ?fileName t_fileName ] 
)
=> t

Description

Saves or loads the schematic environment variables. Usable when editing schematics or symbols.

If t_action is save, the current environment changes are saved to the named file. If t_action is load, the environment variables specified in t_fileName are read in and any corresponding form defaults are set. This is useful if you saved defaults to a file other than ~/.cdsenv.

Arguments

t_action

Specifies the action this function should take; must be enclosed in quotation marks.
Valid Values: save, load

t_fileName

The name of the file from which the schematic environment variables will be saved to or loaded from; must be enclosed in quotation marks. If no filename is specified, the variables are saved in ~/.cdsenv.

Value Returned

Always returns t.

Examples

Saves the schematic environment variables and their current values to the /tmp/schenv file.

schHiEnvSaveLoad( "save" "/tmp/schenv" )

Return to top
 ⠀
X