GetStreamOutletCoordinates

Returns the outlet global Cartesian coordinates of the specified thermal stream.

Calling convention:

bool GetStreamOutletCoordinates(int streamId, double* coord_x, double* coord_y, double* coord_z)
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
streamId int The thermal stream ID.
coord_x double* The Cartesian component of the global x axis.
coord_y double* The Cartesian component of the global y axis.
coord_z double* The Cartesian component of the global z axis.

For the example, see the GetAreaBC method.