GetDistance
Returns the distance along the duct with a defined cross section from the duct inlet in specified boundary conditions.
Calling convention:
bool GetDistance(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 distance along the duct from the duct inlet. |
For the example, see the GetAreaBC method.