Have a polyline good one, Mike, reply With", 07:36 PM #4, login to project project Give a bone 0, re: Convert 3D Polyline to 2D Polyline hello, i have a lisp project routine taked by Tony Hotchkiss and i will send you.
Does anyone know if its possible to amend the lisp below to retain the height data?
And then youre left with a nice 2D Polyline again.It can be confusing because the LWPolyline and the old Polyline entity used way back in the early days of project AutoCAD are both shown as a Polyline in the Properties window.In the field of Civil Engineering, survey drawings consists of hundreds, if not thousands, of 3D polylines.In most cases if I wanted to convert 3D to 2D, Id polyline do this: Explode the 3D Polyline!Thats all for today polyline if you havent already subscribed to my blog, join the other 340 who have!Thanks, Mike, forum Moderator, reply With", 03:25 PM #3, login to Give a bone 0, re: Convert 3D Polyline to 2D Polyline.(princ) ; END P, i'm using AutoCAD 2006.Most of us use some sort of customized scripts to acheive the job, and for those who do not do so already, here below is a lisp script which you can use to your free-will to do this haunting task.Go to the properties window, set the Z elevation of the start and end points of all lines to 0 (or whatever elevation you want).Reply With", 03:22 PM #2, login to Give a bone 0, re: Convert 3D Polyline to 2D Polyline. Hi, please note I have *moved* this thread from the.
; P Copyright 1996, 1997 bios Tony Tanzillo all rights reserved ; ; Converts 3D polylines to update 2D polylines that lie on ; the XY plane of the current UCS.
Unfortunately it disgards the elevation/height data.Rountine can be income found here (.Reply With", 07:40 PM #5, login to Give update a bone 0, re: Convert 3D Polyline to 2D Polyline.But a designer needs to convert them to 2D model to work and plan on that.I have had troubles with game flatten in the past however, because I think it does some odd stuff sometimes with merging lines and approximating so I tend to avoid it where possible.(t (setvar "cmdecho" 0) (command "._undo" bios Begin (repeat (setq i (sslength ss) (cvpoly (ssname ss (setq i (1- i) ) (command "._undo" En lucu ) ) (princ) ) (princ "P Copyright 1997 Tony Tanzillo (princ "ncvpoly command loaded.Convert 3D polylines to 2D polylines by Tony Hotchkiss ) Moderator Action OFF, last edited by rry; at 08:43.
"bhut fi_p1 enp) ) (setq pt1 (list (car (nth 0 lib_f) autocad project 3d polyline to 2d (cadr (nth 0 lib_f) 0) (command "pline" pt1) (setq j 1) (while (nth j lib_f) (setq pt2 (list (car (nth j lib_f) (cadr (nth j lib_f) 0) (command pt2) (setq pt1 pt2) (setq.
Select all of the Line entities we just created.