dbSave
dbSave(d_cellview[d_destCellView|t_libNamet_cellNamet_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
|
Specifies a cellview to save the data into. In the first form, this destination cellview is specified by a dbObject. |
|
|
Specifies one or more view names in the l_viewName or t_cellName form. |
Values Returned
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