Category Mechanica, Object ProMechmaterialorient

Function ProMechmaterialorientdataCsysdataSet


Description
Sets the coordinate system orientation data for the material orientation data. In FEM mode, this data should be compulsorily set and ProMechMaterialOrientCsysProjType should be set to PRO_MECH_MATLORI_CSYS_PROJ_X. In Native mode, if ProMechMaterialOrientObjType is PRO_MECH_MATLORI_MODEL, then, this data should be compulsorily set and ProMechMaterialOrientCsysProjType should be set to PRO_MECH_MATLORI_CSYS_PROJ_CLOSEST.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechMaterialOrient.h>
ProErrorProMechmaterialorientdataCsysdataSet(
ProMechMaterialOrientData data
/* (In)
The material orientation data.
*/
ProMechMaterialOrientCsys csys_data
/* (In)
The csys data.
*/
)
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.

Manual References:

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

Sample Code References:

  1. pt_mech_examples ( PTMechExMatOrient.c )