getting rid of "Z" values
getting rid of "Z" values
(OP)
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.
Thank you.





RE: getting rid of "Z" values
Dean Weldy
RE: getting rid of "Z" values
http://www.markcad.com/mm_programs.htm
http://www.markcad.com/download/Flatten.lsp
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
RE: getting rid of "Z" values