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

lmOpenLib

lmOpenLib( 
t_lib [ { t_path | nil } [ { t_config | nil } [ { t_mode | nil } ] ] ] 
) 
=> t / nil

Description

Opens a library.

Call lmOpenLib before starting any S/SLG command and call lmCloseLib when you are done if you are not using lmLoadData to load the library command file.

Arguments

t_lib

Working library name.

t_path

Search path of the working library. If you specify a null string or nil, the program searches paths previously set up by dbSetPath for the named library.

t_config

Configuration name, which lets you set up the working context of the library. If you specify a null string or nil, the program uses the default configuration.

t_mode

Valid Values: r (read only), a (append), w (write only)
Default: r

Example

lmOpenLib( "myLib" )

Opens a library in read mode, where myLib is your working library.


Return to top
 ⠀
X