Category Mechanica, Object ProMechconstr

Function ProMechdisplacementdataTranslationconstrsGet


Description
Obtains the translation component of the displacement (3 values assigned to the three potential directions of translation). Note: The type should be PRO_MECH_DISPLACEMENT_REGULAR.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechConstraint.h>
ProErrorProMechdisplacementdataTranslationconstrsGet(
ProMechDisplacementData data
/* (In)
The data.
*/
ProMechDisplacementRegularConstr** value
/* (Out)
ProArray of the translation options of the constraint. The function allocates memory for this argument. Use ProMechdisplacementregularconstrProarrayFree() to free it.
*/
)
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_OUT_OF_MEMORYNot enough memory to allocate data.
PRO_TK_GENERAL_ERRORA general error was encountered.

Manual References:

  1. Creo Simulate: Items: Displacement Constraints
  2. Creo Simulate: Items: Displacement Constraints