Using AcEdJig

The AcEdJig class is used to perform drag sequences, usually to acquire, create, edit, and add a new entity to the database. If you are deriving a new entity class, you will usually want to implement your own version of AcEdJig. This class enables the AutoCAD user to define certain aspects of an entity using a pointing device, and it gives the programmer access to the AutoCAD drag mechanism. (The class takes its name from “jig,” a device used to hold a machine part that is being bent or molded in place.)

Each time the user moves the pointing device, your application acquires a geometric value and you need to provide graphical feedback for the pointing device event. This feedback consists of the following two elements:

AcEdJig is generally used on entities that do not reside in the database. It operates on a single entity. Do not use AcEdJig to operate on complex entities such as polylines.