RestoreDefault (Preferences)
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
Preferences.RestoreDefault( PreferenceName )
C# Syntax
Preferences.RestoreDefault( String in_bstrPrefName );Parameters
|
Parameter |
Type |
Description |
|
PreferenceName |
The category or the preference to restore the default value. It can also be a specific preference. |
Examples
1. Python Example
# This restores the default for the data_management category Application.Preferences.RestoreDefault("data_management")
2. JScript Example
// This restores the default for only the scripting.language preference Application.Preferences.RestoreDefault("scripting.language");
See Also
|
|
|
Autodesk Softimage v7.5