Category Parameters and relations, Object ProParameter

Function ProParameterListValueSet


Description
Sets the list values given with unit of an existing ProParameter.
Synopsis
#include <ProParameter.h>
ProErrorProParameterListValueSet(
ProParameter* param
/* (In)
The handle to the parameter to set.
*/
ProParamvalue* proval
/* (In)
ProArray of param values to set. The values assumed to be in the units specified by units argument (when the units argument is not NULL) or in the units of the owner model, when argument units is NULL.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully set the list values and units.
PRO_TK_E_NOT_FOUNDThe owner was not found.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.
PRO_TK_INVALID_TYPEThe units type provided does not match the units of the parameter.
PRO_TK_GENERAL_ERRORThe parameter was not found, or the function could not perform the action.

Manual References:

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