Category Mechanism Design, Object ProSnapshot

Function ProSnapshotConstraintDelete


Description
deletes a constraint from a snapshot. Available for top level snapshot only.
Synopsis
#include <ProKinDrag.h>
ProErrorProSnapshotConstraintDelete(
const ProName snap_name
/* (In)
Name of the snapshot.
*/
const int ndx
/* (In)
Index of the constraint from the constraints array (as brought by ProSnapshotConstraintsGet() to be deleted.
*/
)
Returns
PRO_TK_NO_ERRORThe function was successful.
PRO_TK_E_NOT_FOUNDThe snapshot with specified name is not found.
PRO_TK_BAD_INPUTSThe specified index is wrong.
PRO_TK_GENERAL_ERRORThe function failed.

Manual References:

  1. Assembly: Kinematic Dragging and Creating Snapshots: Snapshot Constraints
  2. Assembly: Kinematic Dragging and Creating Snapshots: Snapshot Constraints

Sample Code References:

  1. pt_examples ( TestDrag.c )