Category Mechanica, Object ProMechmaterialorient

Function ProMechmaterialorientdataSurfacerotationGet


Description
Obtains the rotation angle for the material orientation if the orientation type is PRO_MECH_MATLORI_SURFACE.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechMaterialOrient.h>
ProErrorProMechmaterialorientdataSurfacerotationGet(
ProMechMaterialOrientData data
/* (In)
The material orientation data.
*/
double* rotation
/* (Out)
The rotation angle.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments are invalid.
PRO_TK_BAD_CONTEXTThe Creo Simulate session is not initialized.
PRO_TK_INVALID_TYPEThe material orientation data type is not PRO_MECH_MATLORI_SURFACE.
PRO_TK_E_NOT_FOUNDThe material orientation data does not contain a rotation.

Manual References:

  1. Creo Simulate: Items: Material Orientations
  2. Creo Simulate: Items: Material Orientations