Product Documentation
Virtuoso Studio Design Environment SKILL Reference
Product Version IC23.1, November 2023

hdbOpen

hdbOpen(
t_libName 
t_cellName 
t_viewName 
t_mode 
[ t_nameSpace ]
) 
=> h_configId / nil 

Description

Opens a configuration for read or edit.

Arguments

t_libName

The library name for the configuration you want to open.

t_cellName

The cell name for the configuration you want to open.

t_viewName

The view name for the configuration you want to open.

t_mode

String value of r, w, or a.

  • "r" Opens a configuration for read by reading in an existing configuration file.

  • "w" Creates a new (empty) configuration for edit. When the configuration is saved, a new configuration file is created. If a configuration file already existed it is ignored.

  • "a" Opens a configuration for edit. If a configuration file exists, it is modified at the time of save. If the configuration file doesn't exist, a new one is created.

t_nameSpace

The name space you want to use for library/cell/view and instance names when using the hdb interface.

Value Returned

h_configId

The ID of the configuration opened.

nil

The open operation failed.

Example

hdbConfig = hdbOpen( "lib1" "cell1" "view1" "r" "CDBA" )

An example for the use of this function can also be found at:

your_install_dir/tools/hdb/examples/hdbTraverse.il

Related Topics

Hierarchy Database Functions

Occurrence Property Functions

Parent/Child Database Functions


Return to top
 ⠀
X