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

dbSetAutoSave

dbSetAutoSave( 
g_isAutoSaveSet 
[ u_saveInterval ] 
) 
=> t / nil

Description

Enables or disables the automatic save feature.

With the automatic save feature enabled, all cellviews that have been modified and not saved are auto-saved after the specified time interval has passed. Auto-saved cellviews have the.oa+ file extension.

To minimize the impact on Virtuoso session performance, auto-save checking is done on a user-event such as clicking on a menu item or typing something into the CIW. This means that if you make an edit to a layout cellview and check the UNIX file time stamp of the corresponding layout .oa+ file, it will not be updated. The file time stamp will change only after a user-event.

Arguments

g_isAutoSaveSet

Specifies whether or not to set the automatic save feature. The default value is nil, which means the feature is not set; t sets the save feature.

u_saveInterval

Specifies the time interval in seconds after which the cell is saved automatically. The default time interval is 300 seconds or five minutes.

This value is interpreted as a time interval in seconds.

Value Returned

t

The automatic save feature has been set successfully.

nil

The automatic save feature has not been set successfully.

Examples

Disable the automatic save option.

dbSetAutoSave(nil)
=> t

Set the automatic save option so that data is saved automatically after every 100 seconds.

dbSetAutoSave(t 100)
=> t

Return to top
 ⠀
X