API 文件集 > Mechanism Design > Object ProKinDrag > Function ProKinDragStart
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.
Replacement in Object TOOLKIT:
Synopsis
#include <ProKinDrag.h>
ProKinDragStart
(void)
Returns
The function was successful.
The function was successful, but some of models are read only and can not be dragged.
The 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.
Sample Code References
User Guide References
這是否有幫助?