GetRotationType

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

The corresponding return values can be:

  • 1 - NEGLECT_ROT - Neglects wall rotation effects
  • 2 - CORRECT_ROT - Corrects wall rotation effects
  • 3 - RELTEMP_REF - Uses relative temperature reference frame

Calling convention:

bool GetRotationType(int* 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 to the beginning of your source file.

Argument Data type Description
val int* The value of the rotation type descriptor.

For the example, see the GetAreaBC method.