GetTMGFieldValue

Returns a true or false value depending whether the retrieve operation of condition sequence parameter defined by name is successful. When the operation is successful, the function returns the condition sequence parameter evaluated at the current time.

Calling convention:

bool GetTMGFieldValue (const char* name, 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
name const char* The condition sequence name associated with EXPTAB card.
val double* The condition sequence parameter value.

For the example, see the GetAreaBC method.