GetFluidMaterialName

Returns the fluid material name defined in the specified boundary condition.

Calling convention:

bool GetFluidMaterialName(char* materialName, int lenmax)
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
materialName char* The fluid material name.
lenmax int Size of the name argument. If the fluid material name is longer than this size, it is truncated to fit lenmax.

For the example, see the GetAreaBC method.