If AutoCAD keeps zooming out to Extents every time you start a HATCH, you’re not looking at a graphics glitch or a corrupt install. In most cases, this behavior is caused by one system variable: UCSFOLLOW.
This is a viewport behavior issue, not a hatch engine issue.
What’s Actually Happening
When you launch HATCH and begin picking internal points or boundaries, AutoCAD briefly evaluates the current work plane.
If UCSFOLLOW = 1, AutoCAD automatically runs a hidden PLAN command whenever it detects a UCS-related refresh. The result is a forced view reset — usually a Zoom Extents or Plan view — which pulls you away from your working area.
You zoom back in. You hatch again. It jumps again.
The pattern repeats because the viewport is reacting to UCS updates, not because Hatch is unstable.
The Fix: Set UCSFOLLOW to 0
This is the clean solution.
- Type UCSFOLLOW in the command line.
- Press Enter to see the current value.
- If it is set to 1, change it to 0.
- Press Enter.
That’s it.
Setting UCSFOLLOW = 0 prevents AutoCAD from automatically running PLAN when the UCS changes. Your zoom level stays exactly where you left it.
Important: Multi-Viewport Behavior
UCSFOLLOW is saved per viewport.
If you are working with:
- Multiple model space viewports
- Several layout tabs
- A template shared across teams
You must set UCSFOLLOW = 0 inside each active viewport.
If you don’t, the issue will appear to “randomly” return when switching viewports.
Why This Shows Up More in 2024–2025
Users of newer versions report this more often.
AutoCAD 2024 and 2025 introduced viewport refresh changes tied to DirectX 12. The interaction between viewport redraw logic and UCS tracking is more noticeable than in earlier releases.
It isn’t new behavior. It’s just more visible.
Secondary Checks (If UCSFOLLOW Is Already 0)
If the jumping continues, run through these checks.
1. Graphics Engine Mode
Try reverting to DirectX 11:
GFXDX12
Set it to:
0
Restart AutoCAD.
In some hardware configurations, DX12 triggers additional viewport refreshes.
2. Hatch Boundary Quality
If the boundary is not fully closed, AutoCAD repeatedly recalculates the region during analysis. That can cause noticeable redraw behavior.
Check:
HPGAPTOL
Make sure it’s set appropriately for your drawing scale.
Better approach: fix the boundary geometry.
3. Corrupt User Profile
If the behavior:
- Happens in every file
- Persists after variable changes
- Appears inconsistent
Reset your AutoCAD profile using:
Start Menu → AutoCAD → Reset Settings to Default
Only do this after verifying the system variables.
Best Practice: Fix It in Your Template
Because UCSFOLLOW is saved in the drawing file, the issue will return if your template (.dwt) has it set to 1.
Open your template file. Set:
UCSFOLLOW = 0
Save the template.
That prevents the problem in all new projects.
FAQ: AutoCAD Hatch and View Behavior
Why does this only happen during Hatch?
The Hatch command temporarily evaluates the current plane and boundary geometry. If UCSFOLLOW is active, AutoCAD interprets that evaluation as a UCS change and triggers a plan view update.
It’s a viewport reaction, not a hatch failure.
Does setting UCSFOLLOW to 0 affect coordinates?
No.
It does not modify:
- Geometry
- UCS definitions
- Origins
- Dimensions
It only prevents automatic camera movement.
Is UCSFOLLOW saved in the registry?
No.
It is stored inside the drawing file and per viewport.
That’s why it may appear fixed in one file but not in another.
When should UCSFOLLOW be set to 1?
Primarily in 3D workflows.
If you frequently redefine UCS planes and want the view to automatically align to the new work plane, keeping it at 1 can be useful.
For 2D drafting and standard hatch workflows, 0 is typically more efficient.
Does this relate to graphics card drivers?
Indirectly, in rare cases.
If DX12 acceleration is unstable on a specific GPU, viewport refresh behavior can amplify the issue. That’s why testing GFXDX12 = 0 is part of troubleshooting.
In most cases, though, the root cause remains UCSFOLLOW.
Final Recommendation for Production Environments
For teams doing primarily 2D drafting:
- Set
UCSFOLLOW = 0in templates. - Standardize it across all viewports.
- Document it in your CAD standards.
This removes unnecessary viewport resets and eliminates lost time during repetitive hatching operations.
It’s a small variable, but it makes a noticeable difference in daily drafting efficiency.
