Using Enums and String Constants

Enum values must be prefixed with the name of the enum, for example:

myXSIApp.LogMessage( "Hello, World!", siSeverityType.siWarning );

String constant values must be prefixed with "StringModule", for example:

myXSIApp.LogMessage( myObj.BelongsTo(StringModule.siMeshFamily) );

To find the name of a module for a given enum or constant

- Type the name of the enum value into the Index keyword box in the SDK Documentation (Help > SDK Guides in Softimage).

 

Each enum and constant page also provides the full name of each value for C# at the top of the page.



Autodesk Softimage v7.5