GetUpstreamFluidTemp

Returns a true or false value that indicates whether an upstream duct element is found. When an upstream element is found, the function returns the fluid temperature of the upstream duct element.

Calling convention:

bool GetUpstreamFluidTemp (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
val double* The fluid temperature of the upstream duct element.

For the example, see the GetAreaBC method.