Category Parameters and relations, Object ProParameter

Function ProParameterDrivingFunctionSet


Description
Assigns the driving function for the parameter. This will set the driver type to be PRO_PARAMDRIVER_FUNCTION.
Synopsis
#include <ProParamDriver.h>
ProErrorProParameterDrivingFunctionSet(
ProParameter* material_parameter
/* (In)
The material parameter.
*/
ProUserdefFunction* driving_function
/* (In)
The driving function
*/
)
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 a function.

Manual References:

  1. Core: Parameters: Driven Parameters