General Steps for Using AcEdJig

AcEdJig is designed to control a drag sequence by supplying graphical feedback specified by a cursor type and a single entity.

To use the AcEdJig class

  1. Create an instance of your derived class of AcEdJig.
  2. Establish your prompt text with the AcEdJig::setDispPrompt() function.
  3. Call the AcEdJig::drag() function, which controls the drag loop and in turn calls the sampler(), update(), and entity() functions until the user ends the drag sequence.
  4. Check within the sampler() function:

    If you are using a prompt with keywords, invoke the AcEdJig::setKeywordList() function.

    If you want to set a special cursor type, call the AcEdJig::setSpecialCursorType() function. (This step is optional and can typically be omitted.)

    If desired, place limitations on the drag sequence and the return value using the AcEdJig::setUserInputControls() function.

  5. Check the return status from the AcEdJig::drag() function and commit the changes of the drag sequence. If the user canceled or aborted the process, perform the appropriate cleanup.