Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

MEASURE command, additional lisp needed

Status
Not open for further replies.

SouthernDrafter

Civil/Environmental
Nov 7, 2002
133
Does anyone know a good way to do the following:

a lisp routine or something that would place blocks along a pline (measure command) THEN trim the lines out where the blocks are located??? [trim only line thru block)

thanks
 
Replies continue below

Recommended for you

With AutoLisp you can do anything as long as it can be drawn in AutoCAD. Is the pline closed or open? Do the pline have arc segments or just line segments? After the block insertion, there will be a number of plines created. Is this what you want? Do you have a sample drawing showing the pline before and after block insertion? Send info and other requirements to grevark@aol.com. To be able to make the program properly, drawings, info and requirements must be complete or else it may take more time to do it. There are programmers who will do the work for free just for the challenge and fun. If the work can't be done, you'll be inform ASAP.
 
I have downloaded a lisp routine that does exactly what you want, (well almost exactly) except that you need to pick a line rather than a polyline. I forget the name of this routine, but it is from this site:
There were 2 routines, one divides the line evenly by the number of blocks entered, and then trims at the blocks.
The second one enters the blocks at a distance that you enter (which leaves the last line length with the remainder of the distance.)

Flores
 
Thanks so much. My work load has been so hefty lately, it may take a little time, but I'll send you the info (first poster) and try the site you listed (second poster)

Thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor