Category Mechanica, Object ProMechmaterialorient

Function ProMechmaterialorientdataSurfacerotationSet


Description
Assigns 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>
ProErrorProMechmaterialorientdataSurfacerotationSet(
ProMechMaterialOrientData data
/* (In)
The material orientation data.
*/
double rotation
/* (In)
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_CANT_WRITESubtype cannot be changed.

Manual References:

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

Sample Code References:

  1. pt_mech_examples ( PTMechExMatOrient.c )