Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting rid of "Z" values

Status
Not open for further replies.

hdaven

Mechanical
Feb 20, 2002
15
0
0
US
I ran into a problem recently which I'd like some feedback on. I recently discovered that our customer sent us some drawings with "z" values in it for the entities and dimensions. An example would be a line that starts at one point and ends at another point, with different "z" values to it. I have a lsp routine that fixes that, but the problem is with the dimension that pertains to the line. The routine doesn't deal with dimensions and their nodes. Does anyone know of an easy solution or lsp routine that can handle this? Any replies are greatly appreciated.

Thank you.
 
Replies continue below

Recommended for you

If you have the express tools for Autocad there is a command within the express tools called flatten. This is normally used for converting a 3D drawing into a 2D drawing but it also works for removing the Z points of a drawings.

Dean Weldy
 
Please try flatten.lsp downloadable from:

hope this helps.

;;; FLATTEN 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"
;;; copyright 1990-1999 by Mark Middlebrook
;;; Daedalus Consulting
;;; e-mail: markmiddlebrook@compuserve.com
 
Status
Not open for further replies.
Back
Top