Category Mechanica, Object ProMechconstrset

Function ProMechconstrsetConstrsGet


Description
Obtains the constraints in this constraint set.
Licensing Requirement
TOOLKIT for Mechanica
Synopsis
#include <ProMechConstrset.h>
ProErrorProMechconstrsetConstrsGet(
ProMechItem* item
/* (In)
The constraint set.
*/
ProMechItem** constrs
/* (Out)
ProArray of constraints. The function allocates memory for this argument. Use ProArrayFree 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_INVALID_PTRThe Input ProMechItem Solid pointer is invalid.
PRO_TK_GENERAL_ERRORA general error was encountered.
PRO_TK_E_NOT_FOUNDThe set does not have any constraints.
PRO_TK_OUT_OF_MEMORYThere is not enough memory to perform the operation.

Manual References:

  1. Creo Simulate: Items: Creo Simulate Constraint Sets
  2. Creo Simulate: Items: Creo Simulate Constraint Sets