GetParam

Returns a true or false value whether the retrieve operation is successful. When the operation is successful, the function returns the run-time parameters for the model.

Calling convention:

bool GetParam (int label, double* val)
Note:

To access this method, you must use the GetTMGFunction method and include the AdditionalFunctions.h file located in the [installation_path]\tmg\include\maya\expeval_utils folder in the beginning of your source file.

Argument Data type Description
label int The ID number of the parameter.
val double* The run-time value of the parameter.

For the example, see the GetAreaBC method.