| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| void | Delete
()
Deletes a parameter. |
| /*optional*/ String | GetDescription
()
Get method for attribute "Description" Parameter description string. |
| /*optional*/ ParameterDriverType | GetDriverType
()
Obtains the type of driver for a material parameter. |
| /*optional*/ ParameterRestriction | GetRestriction
()
Identifies if a parameter's value is restricted to a certain range or enumerated. |
| ParamValue | GetScaledValue
()
Gets the parameter value in the units of the parameter, instead of the units of the owner model. |
| /*optional*/ Unit | GetUnits
()
Get method for attribute "Units" Units assigned to the parameter. |
| void | Reorder
(
/*optional*/
Parameter ParamBefore)
Reorders the given parameter to come just after the indicated parameter. |
| void | SetDescription
(
/*optional*/
String value)
Set method for attribute "Description" Parameter description string. |
| void | SetScaledValue
(ParamValue value,
/*optional*/
Unit Units)
Sets the parameter value in terms of the units provided, instead of using the units of the owner model. |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.BaseParameter |
|---|
| GetValue, SetValue, GetIsDesignated, SetIsDesignated, GetIsRelationDriven, GetIsModified, ResetFromBackup |
| Methods Inherited from Interface com.ptc.pfc.pfcObject.Child |
|---|
| GetDBParent, GetOId |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.NamedModelItem |
|---|
| GetName |
| Method Detail |
|---|
| Delete |
|---|
| void | Delete | () |
| Deletes a parameter.
Exceptions thrown (but not limited to): XToolkitNotFound - The owner was not found.
|
| GetUnits |
|---|
| /*optional*/ Unit | GetUnits | () |
| Units assigned to the parameter. Exceptions thrown (but not limited to): XToolkitNotFound - The parameter is unitless.
|
| GetScaledValue |
|---|
| ParamValue | GetScaledValue | () |
| Gets the parameter value in the units of the parameter, instead of the units of the owner model.
Exceptions thrown (but not limited to): XToolkitNotFound - The owner was not found.
|
| SetScaledValue |
|---|
| void | SetScaledValue | (ParamValue value, /*optional*/ Unit Units) |
| 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): XToolkitNotFound - The owner was not found. XToolkitInvalidType - The unit type provided does not match the units of the parameter.
|
| GetDescription/SetDescription |
|---|
| /*optional*/ String | GetDescription | () |
| void | SetDescription | ( /*optional*/ String value) |
| Parameter description string. Exceptions thrown (but not limited to): XToolkitNotFound - The parameter's description is not set.
|
| Reorder |
|---|
| void | Reorder | ( /*optional*/ Parameter ParamBefore) |
| Reorders the given parameter to come just after the indicated parameter.
Exceptions thrown (but not limited to): XToolkitBadContext - Parameter 'param_before' does not have the same owner as the parameter to be reordered. XToolkitNoLicense - No license is available for this functionality.
|
| GetDriverType |
|---|
| /*optional*/ ParameterDriverType | GetDriverType | () |
Obtains the type of driver for a material parameter.
|
| GetRestriction |
|---|
| /*optional*/ ParameterRestriction | GetRestriction | () |
Identifies if a parameter's value is restricted to a certain range or enumerated.
|