GetSolidMaterialName

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

Calling convention:

bool GetSolidMaterialName(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 solid material name.
lenmax int Size of the name argument. If the material name is longer than this size, it is truncated to fit lenmax.

For the example, see the GetAreaBC method.