Export (Preferences)

Description

Exports one or multiple categories of preferences into a file.

Scripting Syntax

Preferences.Export( Filename, [Categories] )

C# Syntax

Preferences.Export( String in_bstrFile, String in_bstrCategories );

Parameters

Parameter

Type

Description

Filename

String

The filename to export.

Categories

String

The categories to export. The categories must be separated by commas. If null all categories will be exported

Examples

1. VBScript Example

' This will export 2 categories
Application.Preferences.Export InstallationPath(siFactoryPath) & "/myprefs.xsipref", "data_management,scripting"

2. VBScript Example

' This will export all preferences
Application.Preferences.Export InstallationPath(siFactoryPath) & "/myprefs.xsipref"


SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index