Message 1 of 21
Extract Block Att with ObjectDBX
Not applicable
09-25-2007
01:46 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm sure this has been done before, but my searches have left me somewhat empty-handed.
I have a drawing with a block called TITLEBLOCK in Paperspace, with 15 attributes.
I don't know LISP, but I do know VB so I'd like to use it along with ObjectDBX to do the following:
[1] Open a series of drawings one by one, in the background, not actually in the AutoCAD editor.
[2] Extract the block and write its attribute values to a text file.
[3] Close the drawing (no changes) without saving again, then move on to the next.
I'm using AC2006.
I'm new to the ObjectDBX or ARX stuff, but I've done a little VBA in AutoCAD, and I'm looking for any code samples to get me started. I've found a few, but I need some more to chew on, and any crumbs you can throw my way will be greatly appreciated.
Thanks.
Steve
I have a drawing with a block called TITLEBLOCK in Paperspace, with 15 attributes.
I don't know LISP, but I do know VB so I'd like to use it along with ObjectDBX to do the following:
[1] Open a series of drawings one by one, in the background, not actually in the AutoCAD editor.
[2] Extract the block and write its attribute values to a text file.
[3] Close the drawing (no changes) without saving again, then move on to the next.
I'm using AC2006.
I'm new to the ObjectDBX or ARX stuff, but I've done a little VBA in AutoCAD, and I'm looking for any code samples to get me started. I've found a few, but I need some more to chew on, and any crumbs you can throw my way will be greatly appreciated.
Thanks.
Steve