GetGlobalRotationalAxis

Returns a true or false value depending whether a global rotational axis or global cyclic axis is present in the model. When it is present in the model, the function returns, in cartesian coordinates, a global rotational CSYS defined by three axes: Radial, THETA, and Axial.

Calling convention:

bool GetGlobalRotationalAxis(double* axis1, double* axis2, double* axis3)
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
axis1 double* The Cartesian components of the global Radial axis.
axis2 double* The Cartesian components of the global THETA axis.
axis3 double* The Cartesian components of the global Axial axis.

For the example, see the GetAreaBC method.