& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Hello,
I recently downloaded autocad2017.3 and the flatten command is not working. Please help
@Anonymous
john.vellek has edited your subject line for clarity: Flatten Command
Solved! Go to Solution.
HI @Anonymous,
Do you receive an error message when you try to run the command? OR, is it just not working in the file?
I have attached another Flatten type routine that I pulled off the Customization forum.
Can you share the file if it is specific to just one?
Please select the Accept as Solution button if my post solves your issue or answers your question.
if i type flatten, it doesnt show. i dont know why
Unfortunately AutoLISP routines you attached will not work in AutoCAD for Mac as they both use Visual Lisp functions which are not available on Mac.
I attached another FLATTEN routine which works on Mac (I modified it slightly to make fully compatible with AutoCAD for Mac), but it was written in 2000 and has some restrictions:
1/ It sets the Z-coordinates of these types of objects to 0 in the World Coordinate System:
"3DFACE" "ARC" "ATTDEF" "CIRCLE" "DIMENSION" "ELLIPSE" "HATCH" "INSERT" "LINE" "LWPOLYLINE" "MTEXT" "POINT" "POLYLINE" "SOLID" "TEXT"
2/ FLATTEN doesn't flatten objects nested inside of blocks. (You can explode blocks before flattening. Alternatively, you can WBLOCK block definitions to separate DWG files, run FLATTEN in each of them, and then use INSERT in the parent drawing to update the block definitions. Neither of these methods will flatten existing attributes, though.
3/ FLATTEN flattens objects onto the Z=0 X-Y plane in AutoCAD's
World Coordinate System (WCS). It doesn't currently support flattening onto other UCS planes.
To run FLATTEN, load it using AutoCAD's APPLOAD command,
Once you've loaded FLATTEN.LSP, type: FLATTEN
Hi @maxim_k
Thanks for the follow up. I had attached that file prior to finding out that the customer is using AutoCAD for Mac. I moved this thread form the Windows AutoCAD forum. I was going to go hunt down a routine but I am glad to see you were kind enough to provide one. Thanks for the contribution.
Hi @Anonymous,
I am coming back to your thread to see if the issue or question you posed has been resolved. If so, please mark the post or posts as Solution(s) to help others find the answer quickly. If your issue persists, please give me a bit more detail on this issue so we can continue to work towards getting this solved.
Hello,
I have been drawing on a 2d plane but my lines are being drawn as 3d objects. please, how do I resolve this?
thank you
I have autocad 2017.3 It doesnt have flatten commands, i dont know why
thank you. But this worked only with lines. How can i make spline, circles and rectangles flat? thank you
can i package the dwg file and send it to you, if you can flatten it please? thank you
You can find your flattened drawing in the attachment.
I flattened only layers that was turned on (visible), but in the drawing there are also layers switched off and there are a lot of objects on them/ Do you need to flatten them as well?
yes, i want everything flattened. Thank you
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Type a product name