PDA

View Full Version : Anonymous Blocks



bweir
2007-10-31, 04:05 PM
I’ve created a function that will build an anonymous block and insert it into AutoCAD. It looks like it comes in Ok but it actually ends up with a duplicate block definition and some times AutoCAD will behave kinda funny until the drawing is AUDITed. Could somebody provide some code for the proper way of creating and inserting an anonymous block? Apparently I’m not doing something incorrectly.

Thanks All

P.S. Using VB.Net and AutoCAD 2007/2008

bweir
2007-10-31, 07:46 PM
Never mind I figured out what I was doing wrong. I was adding the block on two different lines, my bad. This caused the duplicate block definitions to show and AutoCAD to behave a little weirdly.

Opie
2007-11-01, 02:05 PM
Thanks for posting the solution.