Enumeration of view interaction modes.

The view mode determines how the view responds to user mouse interactions:

  • In SELECTION mode, clicks select entities
  • In PAN mode, clicks and drags pan the view
// Set to selection mode for entity picking
view.mode = AcEdViewMode.SELECTION;

// Set to pan mode for view navigation
view.mode = AcEdViewMode.PAN;

Enumeration Members

Enumeration Members

PAN: 1

Pan mode - mouse interactions pan the view.

In this mode:

  • Click and drag operations move the view
  • The cursor typically changes to indicate pan mode
  • Entity selection is disabled
SELECTION: 0

Selection mode - mouse clicks select entities.

In this mode:

  • Single clicks select individual entities
  • Drag operations can create selection boxes
  • Selected entities are highlighted with grip points