Category Mechanica, Object ProMechconstr

Function ProMechdisplacementdataTypeSet


Description
Note: The deprecated enums PRO_MECH_DISPLACEMENT_CYL_ANGULAR, PRO_MECH_DISPLACEMENT_CYL_AXIAL and PRO_MECH_DISPLACEMENT_CYL_RADIAL_ONLY will be set as PRO_MECH_DISPLACEMENT_PIN.

Sets the type of the displacement constraint data.

Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechConstraint.h>
ProErrorProMechdisplacementdataTypeSet(
ProMechDisplacementData data
/* (In)
The data.
*/
ProMechDisplacementType value
/* (In)
The displacement type.
*/
)
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: Displacement Constraints
  2. Creo Simulate: Items: Displacement Constraints