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

dbSave

dbSave(
d_cellview
[ d_destCellView | t_libName t_cellName t_viewName ]
)
=> t / nil

Description

Saves the changes made to a specified cellview opened in write or append mode. By default the cellview is saved to the same database ID; however, you can optionally specify a different destination cellview ID or create a new cellview in a different library. A cellview opened in read mode can only be saved as a new cellview with the different name.

The specification for the destination cellview is identical to dbOpenCellViewByType, but mode is omitted. A cellview that has been opened in read mode cannot be saved or overwritten.

When you use dbSave, undo checkpoints for all edit actions before the save operation are cleared. To avoid losing the undo checkpoint information while saving a cellview, set the dbUndoAcrossSave cdsenv variable value to t.

Arguments

d_cellView

The cellview to be saved.

d_destCellView

Specifies a cellview to save the data into. In the first form, this destination cellview is specified by a dbObject.

t_libname

The library name.

t_cellName

Specifies the cell name.

t_viewName

Specifies one or more view names in the l_viewName or t_cellName form.

Values Returned

t

The cellview is saved.

nil

The cellview is not saved.

Examples

Overwrites the specified cellview.

dbSave(cellview)

Saves the changes to an open destination cellview.

destCV = dbOpenCellViewByType(lib "cellName" "schematic"
"schematic" "w")
dbSave(cellview destCV)

Saves the changes to a destination cellview in a different library.

dbSave(cellview "libName" "cellName" "viewName")

Return to top
 ⠀
X