v4.0
Imports a set of preferences from a file. The file must use the .xsipref file format, which can be created by exporting preferences. When importing preferences, all values are set local to the user and are saved in the user file.
ImportPreferences( FileName ); |
Parameter | Type | Description |
---|---|---|
FileName | String | The location of the file containing the preferences to be imported. |
' Here we set a preference value , export the data_management category and reimport it SetValue "preferences.data_management.projects_new_project", 1 ExportPreferences InstallationPath(siFactoryPath) & "myDMprefs.xsipref", "data_management" ImportPreferences InstallationPath(siFactoryPath) & "myDMprefs.xsipref" |