I'm trying to write code in VBA to break a line and insert a block at this break point.I look at the methods of acad object i didn't find any method to do that.if some know how to do that pls let me know. Thanks in advance.
I too ran into this problem. What I did is stored the startpoint and endpoint of the line I wanted to break, then I deleted the line and created two new lines, one line would have the startpoint of the original line and I would assign the new endpoint based on my requirements. The second line would then have a calculated startpoint and use the end point of the deleted line.
That seems to work for me, not sure if that is the best way to handle it.
I use desiel within the menu to break the line at the time I insert the block. You first have to know the width of the block...ex 4 unit wide.. for this block 1x to 1x scale.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.