Class Hierarchy
AcRxObject AcEdJig
C++
class AcEdJig : public AcRxObject;
File
dbjig.h
Description
The AcEdJig provides a base class from which custom classes can be derived that make use of the Jig functionality. This functionality provides graphical representation and user interaction in the process of setting the entity's parameters to the user's specifications.
Essentially the jig creates an entity object and then goes into a loop that:
- Gets a user drag movement
- Interprets this as a distance, angle, or point
- Uses this value to update the entity's data
- Calls the entity's worldDraw method to redraw it on screen
- When all necessary data is obtained, the loop is exited and, if desired, the entity is appended to the current space (that is, Model or Paper).
- The AcEdJig class supports dynamic dimensions. Specifically, it * Displays the dynamic dimensions while dragging the entity being acquired
- Provides in-place editing for dynamic dimension values
- Allows dynamic dimension values to drive the geometry for the entity being acquired
For general information about dynamic dimensions, see AcDbDimData.
This "data acquisition" loop occurs for each drag increment or keystroke, including the "final" keystroke.
Remarks
If the entity object to be dragged by the jig has not had its layer, linetype, or color set by the time dragging is to commence, then the jig assigns the current database defaults to whichever of these properties is not set.
Links
AcEdJig Enumerations, AcEdJig Methods
See Also
AcDbEntity, AcGePoint3d