CB89
Don't try to post hyperlinks, you will get your posts moderated. That means that it will appear for public only after a moderator approves it. Read the forum rules.
Registered forum members do not see this ad.
hello to every one, I was looking for a way to make a block that would trim any line that would go thru it.
For example if i have a block of a circle and it has many lines connecting to it at various angles, Is there a way to have the lines automatically trim?
I found this Article but I am confused of how it would work with a circle.
http://www.afralisp.net/archive/lispa/lisp52.htm
CB89
Don't try to post hyperlinks, you will get your posts moderated. That means that it will appear for public only after a moderator approves it. Read the forum rules.
It's nice to be nice, but sometimes is nicer to be evil!.
![]()
Tip: Please do not PM or email me with CAD questions - use the forums, you'll get an answer sooner.
I've seen this feature in AutoCAD Electrical with the blocks it inserts but I wonder, since we are dealing with blocks, if the insertion actually "breaks" the line instead.
"I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police
Eat brains...gain more knowledge!




If you need to 'trim' the lines for appearance purposes you can create a block that has a circle and a wipeout with a polygon as the border. It doesn't actually trim the lines, just 'hides' them. Attached is a dynamic block that is used for property corners on survey drawings.




Another way maybe if you really want to trim rather than hide would be to have 2 blocks the first being a polyline around your block just explode then "Extrim" "last" Erase last then insert block required. You could do it as a command or a lisp.
Registered forum members do not see this ad.
Wow, thank you for all the replies. That was faster than I expected. "lpseifert" that is so simple I didn't even think about it thank you. I guess for my purposes this would be the easiest and fastest way. As to the lisp commands, I just found out about the whole programming thing a couple of weeks ago. Im still a complete noob to the whole idea but I am trying to learn with all the links from this site. (they didn't teach lisp at my high school) But I will try the different approaches.
Thank You to everyone
PS: Sorry about the link, like I said NOOB.![]()
Bookmarks