Parameter Restrictions
Creo+ allows users to assign specified limitations to the value allowed for a given parameter (wherever the parameter appears in the model). You can only read the details of the permitted restrictions from Creo Object TOOLKIT C++, but not modify the permitted values or range of values. Parameter restrictions in Creo Object TOOLKIT C++ are represented by the interface pfcParameterRestriction.
Method Introduced:
The method pfcParameterRestriction::GetType returns the pfcRestrictionType object containing the types of parameter restrictions. The parameter restrictions are of the following types:
pfcPARAMSELECT_ENUMERATION—Specifies that the parameter is restricted to a list of permitted values.
pfcPARAMSELECT_RANGE—Specifies that the parameter is limited to a specified range of numeric values.
Was this helpful?