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

hdbSaveACopy

hdbSaveACopy(
h_configId 
t_libName 
t_cellName 
t_viewName
)
=> t / nil

Description

Makes a copy of a configuration and saves it to a library/cell/view. Unlike hdbSaveAs, this function does not modify the location of the configuration associated with the specified configId.

Example:

Arguments

h_configId

A configuration ID; something returned by hdbOpen.

t_libName

A library name.

t_cellName

A cell name.

t_viewName

A view name.

Value Returned

t

The configuration is saved to library/cell/view.

nil

The configuration is not saved to library/cell/view.

Example

cv=hdbOpen("LIB1" "cell1" "config" "r")
hdbSaveACopy(cv "LIB1" "cell1" "config_new")

Makes a copy of the configuration cv and saves it to LIB1/cell1/config_new.

Related Topics

hdbSaveAs

Hierarchy Database Functions

Occurrence Property Functions

Parent/Child Database Functions


Return to top
 ⠀
X