How to: Enable or disable middle mouse button panning (MBUTTONPAN) in AutoCAD and CAD-platform
Not version-specific
Stabicad
Understanding the MBUTTONPAN Variable
The system variable MBUTTONPAN controls the behavior of the middle mouse button (scroll wheel) when pressed and dragged in AutoCAD and the CAD-platform.
Step-by-Step Guide
- In the command line, type
MBUTTONPANand press Enter. - Enter the desired value and press Enter:
1(Default): Enables panning when pressing and dragging the scroll wheel.0: Reverts to user preferences or CUI/CUIX settings (typically launching the Object Snap / SNAP shortcut menu when the scroll wheel is clicked).
Tip: To ensure smooth panning across drawings, always set MBUTTONPAN to 1.