Hide Table of Contents

System Options > Backup/Recover


 

Setting

Get/Set Methods

Return value
or
<Value>
or
<OnFlag>

Comment

Auto-recover - Save auto-recover info every

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swAutoSaveEnable) ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swAutoSaveEnable, <OnFlag>)

Boolean value

Specifies whether auto-recovery is enabled

Auto-recover - Save auto-recover info every - <n>

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swAutoSaveInterval) ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swAutoSaveInterval, <Value>)

Integer value:

  • 0 = Turn off auto-recovery

  • non-0 = number of operations between auto-recoveries, up to 120

 

Auto-recover - Save auto-recover info every - <units>

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swAutoSaveIntervalMode) ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swAutoSaveIntervalMode, swAutoSaveIntervalMode_e.<Value>)

See swAutoSaveIntervalMode_e for valid options

Specifies auto-recover mode

Auto-recover - Auto-recover folder

ISldWorks::GetUserPreferenceStringValue(swUserPreferenceStringValue_e.swAutoSaveDirectory)

ISldWorks::SetUserPreferenceStringValue(swUserPreferenceStringValue_e.swAutoSaveDirectory, <Value>)

String value

 

Backup - Number of backup copies per document

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swBackupEnable) ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swBackupEnable, <OnFlag>)

Boolean value

Specifies whether backup copies of the document are created before any changes to the document are made

Backup - Number of backup copies per document - <n>

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swBackupCopiesPerDocument)

ISldWorks::SetUserPreferIntegerStringValue_e.swBackupCopiesPerDocument, <Value>)

Integer value: 1 - 10

Specifies number of backup copies per document

Backup - Backup folder

Backup - Save backup files in the same location as the original

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveBackupFilesInSameLocationAsOriginal) ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveBackupFilesInSameLocationAsOriginal, <OnFlag>)

Boolean value:

  • True: Specifies to save backup files in same location as original file

  • False: Specifies to save backup files in the folder specified in Backup folder

 

Backup - Backup folder - <folder>

ISldWorks::GetUserPreferenceStringValue(swUserPreferenceStringValue_e.swBackupDirectory)

ISldWorks::SetUserPreferenceStringValue(swUserPreferenceStringValue_e.swBackupDirectory, <Value>)

String value

Specifies the  folder where to save backup files

Backup - Remove backups older

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swBackupRemoveEnable) ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swBackupRemoveEnable, <OnFlag>)

Boolean value

Specifies whether  backup documents older than the specified days are removed when you start up SOLIDWORKS

Backup - Remove backups older than <n> days

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swBackupRemoveInterval)

ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swBackupRemoveInterval, <Value>)

Integer value: 1 - 30

Specifies the number of days when to remove backup copies of a document

Save notification - Show reminder if document has not been saved for

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveReminderEnable) ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveReminderEnable, <OnFlag>)

Boolean value

Specifies whether to display a reminder if document has not been saved

Save notification - Show reminder if document has not been saved for - <n>

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveReminderInterval) ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveReminderInterval, <Value>)

Integer value: 1 - 60

Specifies how long to wait before sending a save notification reminder

Save notification - Show reminder if document has not been saved for - <units>

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveReminderIntervalMode) ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveReminderIntervalMode, swSaveReminderIntervalMode_e.<Value>)

See swSaveReminderIntervalMode_e for valid options

Specifies the units of Save notification - Show reminder if document has not been saved for - <n>

Save notification - Automatically dismiss after

ISldWorks::GetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveReminderAutoDismissEnable) ISldWorks::SetUserPreferenceToggle(swUserPreferenceToggle_e.swSaveReminderAutoDismissEnable, <OnFlag>)

Boolean value

Specifies whether to automatically dismiss the save notification reminder; valid only if Save notification - Show reminder if document has not been saved for is true

Save notification - Automatically dismiss after - <n> seconds

ISldWorks::GetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveReminderAutoDismissInterval) ISldWorks::SetUserPreferenceIntegerValue(swUserPreferenceIntegerValue_e.swSaveReminderAutoDismissInterval, <Value>)

Integer value: 1 - 999

Specifies the number of seconds to wait before dismissing the save notification reminder

 



Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   System Options > Backup/Recover
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2018 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.