User's Guide > Core: Parameters > Restricted Parameters
Restricted Parameters
Restricted parameters can have either:
an enumeration which limits values only to those specified in advance; or
a range which limits numerical values to fall within that range.
Functions introduced:
Use the function ProParameterIsEnumerated() to identify if a parameter is enumerated, and provides the values that may be assigned to it. If the parameter is enumerated then it gives the ProArray of values that are assigned to this parameter.
Use the function ProParameterRangeGet() to identify if a parameter's value is restricted to a certain range. If the parameter is restricted by a range then it gives the maximum and minimum value of the parameter.
도움이 되셨나요?