Category Mechanica, Object ProMechmaterialorient

Function ProMechmaterialorientdataRotationGet


Description
Obtains the rotation angles for the material orientation of type PRO_MECH_MATLORI_MODEL.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechMaterialOrient.h>
ProErrorProMechmaterialorientdataRotationGet(
ProMechMaterialOrientData data
/* (In)
The material orientation data.
*/
ProMechMaterialOrientRotation rotation
/* (Out)
The angles.
*/
)
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_E_NOT_FOUNDThe material orientation data does not contain a rotation.
PRO_TK_INVALID_TYPEThe material orientation data type is not PRO_MECH_MATLORI_MODEL.

Manual References:

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