Category Parameters and relations, Object ProParameter

Function ProParameterEnumeratedSet


Description
Set a parameter as enumerated, and provides the values that to be assigned to it.
Synopsis
#include <ProParameter.h>
ProErrorProParameterEnumeratedSet(
ProParameter* param
/* (In)
The parameter.
*/
ProParamvalue* valid_values
/* (In)
ProArray of values that should be assigned to this parameter. Cannot be NULL.
*/
ProParamvalue* p_default
/* (In)
The default (current) value for the parameter.
*/
)
Returns
PRO_TK_NO_ERRORSThe function succeeded.
PRO_TK_BAD_INPUTSOne or more arguments is invalid.

Manual References:

  1. Core: Parameters: Parameter Values
  2. Core: Parameters: Parameter Values
  3. Technical Summary of Changes for Creo 11.0.0.0: Parameters