Why FLATTEN is missing or does nothing
- Express Tools is not installed. It is an optional part of the AutoCAD installation.
- Express Tools is installed but not loaded. Type EXPRESSTOOLS and press Enter to load it.
- You use AutoCAD LT. AutoCAD LT does not include Express Tools.
- The view is not the Top view. FLATTEN projects objects onto the current view. Run it from the Top view.
- The objects are inside a block. A block reference keeps the Z values of the objects in its definition until the definition is edited.
Steps with standard AutoCAD tools
- Switch to the Top view (VIEW command, or PLAN and then World).
- Select everything (Ctrl+A) and open the Properties palette (Ctrl+1).
- In the object type list at the top, choose a type such as Line. Set Start Z and End Z to 0. Do the same for Center Z of circles and arcs, Position Z of text and block references, and Elevation of polylines and hatches.
- For many object types at once, use MOVE twice. Run MOVE, type ALL, press Enter, then type 0,0,0 as the base point and 0,0,1e99 as the second point. Run MOVE again, type P (previous), press Enter, then type 0,0,0 and 0,0,-1e99. Every Z value ends at 0.
- Set ELEVATION back to 0 so new objects are drawn at 0.
- To add FLATTEN itself, open the AutoCAD installation in Windows Settings, choose Modify, and add Express Tools.
Ask AI to do it in one step
Install Drawing Rule Fixer for AutoCAD in an AI client such as Claude Desktop, then ask:
- "Add to the rules: set Z values to 0"
- "Check this drawing"
The AI returns a list of objects whose Z value is not 0, with the layer and the current Z value for each. It works whether or not Express Tools is installed.
Checking is free. With a subscription, you can set the listed objects to 0 in one step and check all drawings in a folder. Objects that could not be fixed in bulk stay in the list, so you can see which ones to review by hand. A fix applied to a drawing open in AutoCAD can be reverted with one UNDO.
Which method to use
For one drawing with a few object types, the Properties palette is enough. The MOVE method is quick when the whole drawing must go to 0. If you receive drawings with stray Z values every week, tell the AI your rule once and repeat the same check with one request.
FAQ
Why does AutoCAD say "Unknown command FLATTEN"?
FLATTEN belongs to Express Tools. Type EXPRESSTOOLS to load it. If that command is also unknown, Express Tools is not installed, so add it from the AutoCAD installation or use the Properties palette or the MOVE method.
Is FLATTEN available in AutoCAD LT?
No. AutoCAD LT does not include Express Tools. Use the Properties palette or the MOVE method to set Z to 0.
FLATTEN ran, but some objects still have a Z value. Why?
Objects inside blocks keep the Z values of the block definition. Open the block in the Block Editor and set the values to 0 there. Also check that you ran FLATTEN from the Top view.
Can I see which objects have a Z value before I change anything?
Yes. The check result is a list with the layer and current Z value of each object. You can review that list before asking for the fix.
