GetArea

Retrieves the area of a solid face element, if this function is called for a solid element. Retrieves the area of the solid faces thermally connected to a 1D duct element, if this function is called for a 1D duct element.

Calling convention:

bool GetArea (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 surface area of the solid element.

For the example, see the GetAreaBC method.