Create a parameter definition using the AddParameter2 mapping. More...
 
  
 | Public Member Functions | |
| def | __init__ | 
| Init Method.  More... | |
|  Public Member Functions inherited from gear.xsi.parameter.ParamDef | |
| def | __init__ | 
| Init Method.  More... | |
| def | create | 
| Add a parameter to property using the parameter definition.  More... | |
| def | getAsXml | 
| Return the xml definition of the parameterDef.  More... | |
| def | setFromXml | 
| Public Attributes | |
| scriptName | |
| valueType | |
| value | |
| minimum | |
| maximum | |
| sugMinimum | |
| sugMaximum | |
| classification | |
| capabilities | |
|  Public Attributes inherited from gear.xsi.parameter.ParamDef | |
| scriptName | |
| value | |
| valueType | |
| minimum | |
| maximum | |
| sugMinimum | |
| sugMaximum | |
| classification | |
| capabilities | |
Create a parameter definition using the AddParameter2 mapping.
 I didn't implement the simple ParamDef class (only ParamDef2 and ParamDef3) beacuase this is some kind of obsolete method in Softimage SDK. 
| def gear.xsi.parameter.ParamDef2.__init__ | ( | self, | |
| scriptName, | |||
| valueType, | |||
| value, | |||
| minimum = None, | |||
| maximum = None, | |||
| sugMinimum = None, | |||
| sugMaximum = None, | |||
| classification = c.siClassifUnknown, | |||
| capabilities = c.siPersistable | |||
| ) | 
Init Method.
| self | |
| scriptName | String - Parameter scriptname | 
| valueType | Integer - siVariantType | 
| value | Variant - Default parameter value | 
| minimum | Variant - mininum value | 
| maximum | Variant - maximum value | 
| sugMinimum | Variant - suggested mininum value | 
| sugMaximum | Variant - suggested maximum value | 
| classification | Integer - parameter classification | 
| capabilities | Integer - parameter capabilities | 
 1.8.5
 1.8.5