AccuDraw Shortcuts

AccuDrawShortcuts provides a variety of means for controlling AccuDraw that applications may wish to make available through keyboard shortcuts. Some of the more common and recommended shortcuts are described below.

General

  • AccuDrawShortcuts.sessionToggle - Enable/Disable AccuDraw for the current session.
    • Use to add a UI control that lets the user turn AccuDraw on/off.
  • AccuDrawShortcuts.suspendToggle - Suspend/Unsuspend AccuDraw for the next data point.
    • Useful when you want to prevent AccuDraw from adjusting the next data point.
  • AccuDrawShortcuts.requestInputFocus - Move focus from Home to AccuDraw.
    • A Tentative point (middle mouse button click) will also move focus to AccuDraw and is focus independent.

Compass Origin and Mode

  • AccuDrawShortcuts.setOrigin - Activate and position the AccuDraw compass.
    • Enables AccuDraw if not currently active. Use before the first data point to start drawing at an offset location.
    • When either an AccuSnap or Tentative snap is active, the compass origin is set to snap location (adjusted for any locks).
    • When NOT already enabled, AccuDraw is enabled at its location from the last data point.
    • When already enabled, the compass origin is set to the current point.

accudraw set origin

accudraw compass mode

Locks and Indexing

accudraw lock index

accudraw lock smart

Compass Orientation

accudraw standard rotations

NOTE: When ToolAdmin.acsContextLock is true, standard rotations are relative to the view's ACS and not design coordinates. This makes it easier to work in rotated coordinate systems.

  • AccuDrawShortcuts.rotate90 - Rotate the compass 90° about the supplied axis.

    • Present as three separate shortcuts, ex. "RX", "RY", and "RZ".
    • Only rotation about Z (axis number 2) is valid if the view is 2d.
  • AccuDrawShortcuts.rotateCycle - Cycle between Top, Front, and Side orientations (3d only).

  • AccuDrawShortcuts.rotateAxes - Set X axis rotation from a point.

    • When AccuSnap or Tentative snap is active, no further input is required. When not snapped there is a prompt to identify a point.

accudraw rotate quick

Uses the information from AccuSnap or Tentative snap, such as surface normal and edge tangent to try to fully define the compass orientation.

accudraw rotate element

accudraw rotate perpendicular

Auxiliary Coordinate Systems (ACS)

Last Updated: 29 April, 2025