Class pfcParameter
Description
This class defines a parameter object.
Direct Parent Classes:
User Guide References:
Property Summary
/* optional */ string | |
| |
| |
| Parameter description string. |
/* readonly */ /* optional */ pfcUnit | |
| |
| |
| Units assigned to the parameter. |
Method Summary
void | |
| |
| |
| Deletes a parameter. |
| |
| |
| |
| Obtains the type of driver for a material parameter. |
| |
| |
| |
| Identifies if a parameter's value is restricted to a certain range or enumerated. |
| |
| |
| |
| Gets the parameter value in the units of the parameter, instead of the units of the owner model. |
void | |
| |
| |
| Reorders the given parameter to come just after the indicated parameter. |
void | |
| |
| |
| Sets the parameter value in terms of the units provided, instead of using the units of the owner model. |
Property Detail
/* optional */ string | Description | |
Parameter description string.
Exceptions thrown (but not limited to):
Units assigned to the parameter.
Exceptions thrown (but not limited to):
Method Detail
Deletes a parameter.
Exceptions thrown (but not limited to):
Obtains the type of driver for a material parameter.
Returns:
The parameter driver type.
User Guide References:
Identifies if a parameter's value is restricted to a certain range or enumerated.
Returns:
The parameter restriction.
User Guide References:
Gets the parameter value in the units of the parameter, instead of the units of the owner model.
Exceptions thrown (but not limited to):
Returns:
The parameter scaled value.
User Guide References:
Reorders the given parameter to come just after the indicated parameter.
Exceptions thrown (but not limited to):
pfcXToolkitBadContext - Parameter 'param_before' does not have the same owner as the parameter to be reordered.
Parameters:
ParamBefore
The parameter to be just before the reordered parameter. If NULL, the reordered parameter is moved to the first position in the parameter list.
User Guide References:
Sets the parameter value in terms of the units provided, instead of using the units of the owner model.
Exceptions thrown (but not limited to):
Parameters:
value
The value of the parameter to be set.
Units
The units in which the value is expressed. The value can be null.
User Guide References: