Introduced
4.0
Description
Restores the default values for a preference or for all preferences in a category. A category is a set of preferences on the same subject grouped together in a node under the Preferences object located under the Application.
Scripting Syntax
RestoreDefaultPreference( PreferenceName )
Parameters
|
Parameter |
Type |
Description |
|
PreferenceName |
The preference to restore or the category. For a preference the category must be specified (category.preference). The categories can be found under the Preferences node. |
Examples
1. VBScript Example
' This will restore to default all preferences in the data management category RestoreDefaultPreference "data_management"
2. VBScript Example
' This will restore only this preference RestoreDefaultPreference "data_management.projects_auto_import_enable"
See Also
Autodesk Softimage v7.5