Category Mechanica, Object ProMechconstr

Function ProMechconstrReferencesSet


Description
Sets the constraint geomrefs.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechConstraint.h>
ProErrorProMechconstrReferencesSet(
ProMechItem* constr
/* (In)
The constraint.
*/
ProMechGeomref* geomrefs
/* (In)
ProArray of constraint geomrefs. Multiple point references are not allowed for creating convection constraints.
*/
)
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_GENERAL_ERRORA general error was encountered.
PRO_TK_CANT_ACCESSCannot access the object in the current mode.
PRO_TK_OUT_OF_MEMORYNot enough memory to allocate data.
PRO_TK_INVALID_PTRThe ProMechItem's owner solid is invalid.

Manual References:

  1. Creo Simulate: Items: Modifying the Creo Simulate Constraints
  2. Creo Simulate: Items: Modifying the Creo Simulate Constraints
  3. Creo Simulate: Items: Modifying the Creo Simulate Constraints

Sample Code References:

  1. pt_mech_examples ( PTMechExCopy.c )