ImportPrefs

Introduced

v1.5

Categories

file

Description

Imports a saved .DSPrefs file. It is required to have a .DSPrefs file saved on disk to execute this command.

This command is not directly accessible from the user interface, however you can achieve a similar result using the InstallAddon command. From the "Install Add-On" dialog box, press the browse button (...). From the file selection dialog, change the "File types" field to Preferences (old format), and then select the .DSPrefs file. Then press Install in the "Install Add-On" dialog box.

DSPref files can no longer be created in Softimage. The information that used to be stored in them is now contained in Softimage addons.

Note: This command imports ALL the presets saved in the file.

Scripting Syntax

ImportPrefs( [FileName] );

Parameters

Parameter Type Description
FileName String Name of the file to import

Default Value: A file browser will prompt for a file if no filename is provided.

See Also

InstallAddon CreateToolbar CreateToolbarButton CreateScriptCommand