Print Page | Close Window

Breaking 3D Polylines at specific Intervals

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DWF formats, Design Review, AutoCAD 360, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=8087
Printed Date: 18.Apr.2026 at 03:40


Topic: Breaking 3D Polylines at specific Intervals
Posted By: bigalfry
Subject: Breaking 3D Polylines at specific Intervals
Date Posted: 10.Jul.2012 at 18:36
Hey guys,
I have a file containing approximately 5000 3D poly lines and I want to be able to select them all and have them all broken into 500m long pieces.  Anybody know of a way to do this?

Thanks!


-------------
Alex D. Fry, C.E.T.
Civil Engineering Technologist Extraordinaire
"I draw lines that look like things..."



Replies:
Posted By: John Connor
Date Posted: 10.Jul.2012 at 23:58
Sounds like something that would require a custom lisp routine.  What happens if the lines aren't in increments of 500m?  Say a line is 3261.12m.  What happens then?

-------------
"Humans have a strength that cannot be measured. This is John Connor. If you are reading this, you are the resistance."

<<AutoCAD 2015>>



Posted By: bigalfry
Date Posted: 11.Jul.2012 at 00:02
Almost none of the lines lengths are exact multiples of 500 so I'd imagine that one of two things would happen - either it is divided into 500m long lengths with the last piece being a kind of remainder and less than 500m long, or the lines are divided into equal parts as close to 500m as possible.  From my limited knowledge of LISP I'm confident that the former would be the easier route to go but either would work.

-------------
Alex D. Fry, C.E.T.
Civil Engineering Technologist Extraordinaire
"I draw lines that look like things..."


Posted By: heinsite
Date Posted: 11.Jul.2012 at 04:36
I had the same question as John, but he asked it and you answered.
 
You won't find anything in the standard AutoCAD box that will do this, so I'd suggest you head over to http://lee-mac.com/index.html" rel="nofollow - Lee Mack Programming and sift thru the various LISP routines there and see if something looks close that can be modified.  It's going to take a custom routine almost certainly.
 
Dave.


-------------
Dave Hein, P.E.
Hawaii District Engineer
Kona International Airport
AutoCAD Certified Professional
Autodesk Expert Elite



Print Page | Close Window