Category Mechanica, Object ProMechconstr

Function ProMechconstrTypeGet


Description
Obtains the type of constraint.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechConstraint.h>
ProErrorProMechconstrTypeGet(
ProMechItem* constr
/* (In)
The constraint.
*/
ProMechConstrType* value
/* (Out)
The 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.
PRO_TK_INVALID_PTRThe ProMechItem's owner solid is invalid.
PRO_TK_GENERAL_ERRORA general error was encountered.

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 )