Category Mechanism Design, Object ProKinDrag

Function ProKinDragStart


Description
this function starts a drag session it should be called before any other Kinematic drag or Snapshot function is called. All subsequent functions will work with the Snapshots of the window assembly. All ProAsmcomppath should start from this assembly. All transforms belong to this assembly. The function can be called for design assemblies in Standard Assembly and Mechanism modes. It cannot be used if assembly is exploded, if sketcher is active, when component placement is active or when drag dialog is on screen.
Synopsis
#include <ProKinDrag.h>
ProErrorProKinDragStart(void)
Returns
PRO_TK_NO_ERRORThe function was successful.
PRO_TK_CHECKOUT_CONFLICTThe function was successful, but some of models are read only and can not be dragged.
PRO_TK_GENERAL_ERRORThe function cannot be called at this moment. For example, kin drag is not available in the current mode, some component is activated instead of top assembly, some dialog is active on screen.

Manual References:

  1. Assembly: Kinematic Dragging and Creating Snapshots: Connecting to a Kinematic Drag Session
  2. Assembly: Kinematic Dragging and Creating Snapshots: Connecting to a Kinematic Drag Session

Sample Code References:

  1. pt_examples ( TestDrag.c )
  2. pt_examples ( TestDrag.c )
  3. pt_examples ( TestDrag.c )
  4. pt_examples ( TestDrag.c )