Different methods to flatten entities with varying Z-coordinates to Z=0.
Via
a macro (Source: CADforum)
Add
a new macro (icon) to your toolbar - in fact two single-line macros (tool
buttons) - one for selected objects and the second for all objects:
[FlattenSel]^C^C_UCS;;_select \_move _p;;0,0,1e99;;_move _p;;0,0,-1e99;;
[FlattenAll]^C^C_UCS;;_move _all;;0,0,1e99;;_move _all;;0,0,-1e99;;
_chprop;_all;;_thickness;0;;
(keep the macro text on a single line; the displayed format is to
be used for old MNU/MNS files - if you add the macro through the new CUI dialog, use just its code
starting with ^C)
Do not use it on
3D solids as it may distort them.
(original
concept by Randy Richardson)
* * * * * * * *
* *
Using
FLATTEN.LSP as originally written by Mark Middlebrook with improvements by
Vladmir Livshiz.
FLATTEN.LSP 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"
[add link to
Flatten.lsp here]
* * * * * * * * * *
In full AutoCAD
one can go to Express Tools and use the FLATTEN OBJECTS command which can be
found in the Modify section.
* * * * * * * *
* *
Some users have
suggested using the FLATSHOT command available in full AutoCAD.
* * * * * * * *
* *
And an “oldie
but goodie†from “back in the day†is the CHANGE command and its ELEVATION
option.