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

dbClose

dbClose( 
d_cellViewId 
) 
=> t / nil 

Description

Closes a cellview.

When the number of closes to the cellview equals the number of opens, the cellview is purged from virtual memory, freeing the memory so it can be reused in subsequent dbOpenCellViewByType calls. Internally, the system maintains the count for the number of openings and closings.

Only one user at a time can open a cellview for append or write. It is recommended that you close all cellviews that you open.

dbClose will close the cellview twice when the reference count is two (2), thereby removing the cellview from virtual memory.

Arguments

d_cellViewId

The cellview to be closed.

Values Returned

t

The cellview is closed.

nil

The cellview is not closed.

Examples

Saves the changes and close the cellview.

dbSave(cellview)
dbClose(cellview)

Return to top
 ⠀
X