MLightCAD
    Preparing search index...

    Manages grip point display and drag editing for the active view.

    Grip handles are shown for entities in the view's selection set when the editor is idle, the document is writable, and selection count is within the GRIPOBJLIMIT system variable. Grip size and colours follow GRIPSIZE, GRIPCOLOR, and GRIPHOT. The manager listens for selection, view, command, and system-variable changes to refresh or reposition handles.

    Clicking a grip starts an AcEdGripEditSession that previews and commits entity geometry changes; while dragging, all grip handles are hidden.

    • Display: Create and position grip handles from entity grip points
    • Interaction: Route hover, hot, and mousedown events to edit sessions
    • Lifecycle: Subscribe/unsubscribe view events and dispose DOM on teardown
    const gripManager = new AcEdGripManager(view);
    // Handles appear automatically when entities are selected.
    // On view dispose:
    gripManager.dispose();
    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    Methods

    • Rebuilds the grip handle set from the current selection.

      Clears existing entries first. If grips are not allowed (read-only mode, active command, MText editor, or selection over limit), no new handles are created. Otherwise, iterates selected entities, queries grip points via subGetGripPoints(), creates handles, wires pointer events, and positions each entry in container coordinates.

      Returns void