Category Mechanica, Object ProMechconstr

Function ProMechconstrDisplacementdataGet


Description
Obtains the handle to the displacement data from the Creo Simulate constraint.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechConstraint.h>
ProErrorProMechconstrDisplacementdataGet(
ProMechItem* item
/* (In)
The constraint.
*/
ProMechDisplacementData* value
/* (Out)
The displacement 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.
PRO_TK_INVALID_PTRThe ProMechItem's owner solid is invalid.
PRO_TK_GENERAL_ERRORA general error was encountered.
PRO_TK_INVALID_TYPEThe item does not contain this type of constraint.
PRO_TK_OUT_OF_MEMORYNot enough memory to allocate data.
See Also
ProMechconstrTypeGet

Manual References:

  1. Creo Simulate: Items: Accessing the Creo Simulate Constraints
  2. Creo Simulate: Items: Accessing the Creo Simulate Constraints

Sample Code References:

  1. pt_mech_examples ( PTMechExCopy.c )