Category Parameters and relations, Object ProParameter

Function ProParameterDrivingparamSet


Description
Assigns the driving parameter for a material parameter. This will set the driver type to be PRO_PARAMDRIVER_PARAM.
Replacement in Object TOOLKIT: wfcWParameter::SetDrivingParam
Synopsis
#include <ProParamDriver.h>
ProErrorProParameterDrivingparamSet(
ProParameter* material_parameter
/* (In)
The material parameter.
*/
ProParameter* driving_param
/* (In)
The driving parameter.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_BAD_CONTEXTThis parameter cannot be driven by another parameter.

Manual References:

  1. Core: Parameters: Driven Parameters
  2. Core: Parameters: Driven Parameters