| Library | Package | Frames | Expand | Java Toolkit |
| Method Summary | |
|---|---|
| /*optional*/ WParameter | GetDrivingParam
()
Obtains the driving parameter for a material parameter, if the driver type is pfcPARAMDRIVER_PARAM. |
| ParamLockstatus | GetLockStatus
()
Obtains the lock status of the parameter. |
| /*optional*/ ParamTableset | GetTableset
()
Obtains the parameter table set that this parameter is governed by. |
| ParamValueWithUnits | GetValueWithUnits
()
Obtains the value of the parameter along with units. |
| void | SetDrivingParam
(WParameter DrivingParam)
Assigns the driving parameter for a material parameter. This will set the driver type to be pfcPARAMDRIVER_PARAM. |
| void | SetLockStatus
(ParamLockstatus LockStatus)
Sets the lock status of the parameter. |
| void | SetValueWithUnits
(ParamValueWithUnits ValueWithUnits)
Sets the value of the parameter along with units. |
| 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 |
| Methods Inherited from Interface com.ptc.pfc.pfcModelItem.Parameter |
|---|
| Delete, GetUnits, GetScaledValue, SetScaledValue, GetDescription, SetDescription, Reorder, GetDriverType, GetRestriction |
| Method Detail |
|---|
| GetTableset |
|---|
| /*optional*/ ParamTableset | GetTableset | () |
| Obtains the parameter table set that this parameter is governed by. Exceptions thrown (but not limited to): XToolkitNotFound - The parameter is not governed by a parameter table set.
|
| GetDrivingParam |
|---|
| /*optional*/ WParameter | GetDrivingParam | () |
|
Obtains the driving parameter for a material parameter,
if the driver type is pfcPARAMDRIVER_PARAM.
Exceptions thrown (but not limited to): XToolkitNotFound - The driver type is not 'parameter'.
|
| SetDrivingParam |
|---|
| void | SetDrivingParam | (WParameter DrivingParam) |
|
Assigns the driving parameter for a material parameter. This will
set the driver type to be pfcPARAMDRIVER_PARAM.
Exceptions thrown (but not limited to): XToolkitBadContext - This parameter cannot be driven by another parameter.
|
| GetLockStatus |
|---|
| ParamLockstatus | GetLockStatus | () |
Obtains the lock status of the parameter.
|
| SetLockStatus |
|---|
| void | SetLockStatus | (ParamLockstatus LockStatus) |
Sets the lock status of the parameter.
|
| GetValueWithUnits |
|---|
| ParamValueWithUnits | GetValueWithUnits | () |
|
Obtains the value of the parameter along with units.
Exceptions thrown (but not limited to): XToolkitNotFound - The owner was not found.
|
| SetValueWithUnits |
|---|
| void | SetValueWithUnits | (ParamValueWithUnits ValueWithUnits) |
|
Sets the value of the parameter along with units.
For unitless parameters use Unit as NULL in <reference 3 to unknown entity ParamValueWithUnits> 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.
|