Display full version of the post: TRIM comand - LISP

Cuty
30.07.2014, 21:45
Hello to you all. I need some help please.I have a huge amount of points in my project and I need to trim all lines that intersect (or begin and end) in those points. I have attached a picture that visualizes what I need to do.The space between a point and the beginning of a line, depending on the demand, must be 0.25, 0.5, 1.0, 1.5, 2.0, 2.5 OR 2.88 ( in the picture I have attached the space is 1.0 ).I am not a CAD guru and hope somebody can help me with a lisp routine that solves this problem in a second. Thank youTony ATTACHMENT

John Connor
31.07.2014, 00:51
You'll have to do an Internet search for a custom lisp routine that does what you want.  If that fails to turn up anything useful you'll have to write it yourself or get a lisp guru to do it for you.

Kent Cooper
31.07.2014, 17:41
Consider using a Wipeout, contained in a Block which you could Insert at every Point entity, using appropriate scales presumably based on the drawing scale, and then bring the Point to the front of the Draworder so it would show above the Wipeout, which would hide the Lines and anything else in the area.  Maybe something like a 12-sided-polygon-based Wipeout to handle your lower image appropriately.  It would have the advantage that it wouldn't alter the things that you would otherwise Trim, which will save a little memory from not breaking them into multiple entities, and [for example] Lines representing things like property boundary edges will still be at their defined lengths, and you will still be able to snap to places like their endpoints for dimensioning, etc.  If that seems worth pursuing, I am willing to try working it out.