GetBCName

Returns a true or false value that indicates whether the retrieval operation is successful. When the operation is successful, the function puts the name of the boundary condition associated with the current expression call in the string argument.

Calling convention:

bool GetBCName(char* name, 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
name char* The name of the array of size lenmax in which the boundary condition name output is stored.
lenmax int Size of the name argument. If the boundary condition name is longer than this size, it is truncated to fit lenmax.

For the example, see the GetAreaBC method.