Creating a break block

Creating a break block

Anonymous
Not applicable
204 Views
4 Replies
Message 1 of 5

Creating a break block

Anonymous
Not applicable
I am interested in trying to insert a block and have it trim itself. I was messing around with the wipeout commnd to do this. But I think I will end up fighting the display order to much. I want to use this for my plumbing sysmbols as far as pipe down, pipe up, and valves. Wondering if anyone could shed some light on how to do this. If I am doing this with a lisp routine how does autocad know where to trim the line and what line to trim just from a block? Thanks in advance.

Scott
0 Likes
205 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Scott,

This is how I'll go about it:
1)Block to include 1 attribute with
block insert point at center point.

2)The atttribute will be the first
entity in the block and will contain
the break dimension. Tne block attribute
will be invisible and constant.

3)The lisp routine will insert the block
block, retrieves the break dimension,
determines the break points on the
line (based on block insert point and
break dimension) and then breaks the
line.

Hope this helps.

Steve
0 Likes
Message 3 of 5

Anonymous
Not applicable
At www.afralisp.com there is a tutorial and lisp code for doing just this.
Regards,
Carl
0 Likes
Message 4 of 5

Anonymous
Not applicable
I think you should address your post to the
original poster who's asking for help.

If you're replying to my post, thanks anyway,
but currently have no urgent need for it.

Cheers.

Steve
0 Likes
Message 5 of 5

Anonymous
Not applicable
Thanks for your help with this. That gives me some good direction. Thanks again guys.
0 Likes