vfoGREnableVersionCache
vfoGREnableVersionCache(l_FGRcellDDID t_libName[?cellNamet_cellName] [?viewNamet_viewName] ) => t / nil
Description
Enables version cache on all instances currently not cache-enabled that belong to the specified list of FGR super-masters and found in the in the specified library, cell, or view. The createVersionCache parameter of such instances will get updated from 0 to the VFO version of the current Virtuoso session.
The function
vfoGREnableVersionCache calls the dbSave function in the background, so any unsaved changes in the layout cellview are saved when the vfoGREnableVersionCache function is called.Arguments
Value Returned
Example
The following code snippet shows how to enable version cache for all the instances of the device reflib/FGR2 in all cellviews named as layout2 of all the cells in the library reflib.
devids = ddGetObj("reflib" "FGR2")
lst=list(devids)
vfoGREnableVersionCache(lst "reflib" ?viewName "layout2")
Return to top