XSI_CustomParamInfo

Supplements the XSI_CustomPSet template with additional information.

 

This template is not available in SI|3D.

 

This template corresponds to the CSLXSICustomParamInfo class.

Introduced

3.6

Template

XSI_CustomParamInfo <name> {
   <min>,
   <max>,
   <capabilities>
}

Members

Member name

Description

min

Minimum value

Note: For string parameters, this value must be set to empty string (““).

max

Maximum value

For string parameters, this value must be set to empty string (““).

capabilities

Bit flags corresponding to the capabilities of the parameter. Same as “siCapabilities” in the object model.

Flag values can be cumulative. You can combine them with bitwise “OR”.

Possible values are:

1 = Animatable

2 = Read only

4 = Persistable

8 = Not inspectable

16 = Silent

128 = Not Pset inspectable

256 = Texturable

Example

XSI_CustomPSet cube.My_customPset { 
       "NODE", 
       4,
       "Param","Text","TEXT", 
       "myparam1","Boolean",0, 
       "myParam2","Integer",-86, 
       "MYParam3","Floating Point Number",77.000000, 
       XSI_CustomParamInfo Param { 
          "", 
          "", 
          24548, 
       }

       XSI_CustomParamInfo myparam1 { 
          0, 
          1, 
          23813, 
       }

       XSI_CustomParamInfo myParam2 { 
          -400, 
          400, 
          11413, 
       }

       XSI_CustomParamInfo MYParam3 { 
          -141.091003, 
          202.182007, 
          10678, 
       }

   }

   XSI_CustomPSet cube.Mesh_Subdivision_Info { 
       "NODE", 
       1,
       "Subdivision","Small Integer Number",0, 
       XSI_CustomParamInfo Subdivision { 
          0, 
          4, 
          47956, 
       }

   }


Autodesk Crosswalk v5.0