vfoGRUpdateVersionCache
vfoGRUpdateVersionCache(l_FGRcellDDID t_libName[?cellNamet_cellName] [?viewNamet_viewName] ) => t / nil
Description
Updates the vfoCreateVersion parameter of an instance to the current Virtuoso version. If the vfoCreateVersion parameter is set to 0, the vfoGRUpdateVersionCache function does not update the vfoCreateVersion parameter to the latest Virtuoso version. You have to call the vfoGREnableVersionCache function to update this parameter to the latest Virtuoso version. If the vfoCreateVersion parameter is set to an older Virtuoso version and the image of the sub-master is not found in the cache files, cache.pcl and index.pcl, the vfoGRUpdateVersionCache function does not update the vfoCreateVersion parameter to the latest Virtuoso version. You have to call the vfoGRDisableVersionCache function and then the vfoGREnableVersionCache function to update this parameter to the latest Virtuoso version.
vfoGRUpdateVersionCache calls the dbSave function in the background, so any unsaved changes in the layout cellview are saved when the vfoGRUpdateVersionCache function is called.Arguments
Value Returned
Example
The following code snippet shows how this function updates the cacheCreateVersion parameter to the current version in all the cellviews of the library reflib for instances of the device FGR2.
devids = ddGetObj("reflib" "FGR2")
lst=list(devids)
vfoGRUpdateVersionCache(lst "reflib")
Return to top