By creating custom preferences, you can control plug-ins and add-ons by using settings that are automatically saved and restored from session to session.
Custom preferences appear in the Preferences window under the Custom folder. Any modified settings are saved in the default.xsipref file in the Data\Preferences subdirectory of the user location, together with native XSI preferences.
For more information about preferences in general, see User Preferences in the Data Management guide.
For more information about accessing custom preferences from scripts and plug-ins, see the SDK Guides.
To create a custom preference set
1. Create a custom parameter set on any object. Give the parameter set the name that you want to use for the custom preference set, and add all the parameters you want to include in the preference set.
2. Select the custom parameter set and run the InstallCustomPreferences command from the script editor. For more information about InstallCustomPreferences and related commands, see the SDK Guides.
The parameter set is removed from the object on which it was applied, and the new preferences appear under the Custom folder in the Preferences window. In addition, a preset file is created in the Data\Preferences subdirectory of the user location.
SOFTIMAGE|XSI v.6.01