Methods and Properties Introduced:
|
|
IpfcParameter.GetScaledValue() |
|
|
IpfcParameter.SetScaledValue() |
|
|
IpfcBaseParameter.IsDesignated |
|
|
IpfcBaseParameter.IsModified |
|
|
IpfcBaseParameter.ResetFromBackup() |
|
|
IpfcParameter.Description |
|
|
IpfcParameter.GetRestriction() |
|
|
IpfcParameter.GetDriverType() |
Parameters inherit methods from the IpfcBaseParameter, IpfcParameter and IpfcNamedModelItem classes.
The property IpfcBaseParameter.Value returns the value of the parameter or dimension.
The method IpfcParameter.GetScaledValue() returns the parameter value in the units of the parameter, instead of the units of the owner model as returned by IpfcBaseParameter.Value.
The method IpfcParameter.SetScaledValue() assigns the parameter value in the units provided, instead of using the units of the owner model as assumed by IpfcBaseParameter.Value.
The method IpfcParameter.Units() returns the units assigned to the parameter.
You can access the designation status of the parameter using theproperty IpfcBaseParameter.IsDesignated .
The property IpfcBaseParameter.IsModified and the method pfcBaseParameter.ResetFromBackup() enable you to identify a modified parameter or dimension, and reset it to the last stored value. A parameter is said to be
"modified" when the value has been changed but the parameter's owner has not yet been regenerated.
The property IpfcParameter.Description returns the parameter description, or null, if no description is assigned.
The property
IpfcParameter.GetRestriction() identifies if the parameter’s value is restricted to a certain range or enumeration. It returns the
IpfcParameterRestriction object. Refer to the section
Parameter Restrictions for more information.
The property IpfcParameter.GetDriverType() returns the driver type for a material parameter. The driver types are as follows:
|
• |
EpfcPARAMDRIVER_PARAM—Specifies that the parameter value is driven by another parameter. |
|
• |
EpfcPARAMDRIVER_FUNCTION—Specifies that the parameter value is driven by a function. |
|
• |
EpfcPARAMDRIVER_RELATION—Specifies that the parameter value is driven by a relation. This is equivalent to the value obtained using IpfcBaseParameter.IsRelationDriven for a parameter object type. |
The method IpfcParameter.Reorder() reorders the given parameter to come immediately after the indicated parameter in the Parameter dialog box and information files generated by Creo Parametric.
The method IpfcParameter.Delete( permanently removes a specified parameter.
The property IpfcNamedModelItem.Name accesses the name of the specified parameter.