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 (HelpSDK Guides in Softimage).

    Tip

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

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License