Message 1 of 9
Obtaining CAD drawing data from an unopened drawing.

Not applicable
11-20-2003
08:47 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How can I get the drawing data from an unopened CAD document in VBA?
My goal is to have a form with a listbox of the files in the current
directory folder, and when a user clicks on a file in the listbox, another
listbox is populated with the names of the layouts in that drawing.
I've been unsuccessful in accessing this information unless the file is
currently open. I know that I could create a second instance of AutoCAD,
open the selected file in the background, populate the listbox with the
thisdrawing.layouts property and then quit the second running ACAD object,
but that's really memory and time intensive, and I'm sure there's another
way, because ADT 2002's Design Center Explorer can do this very thing.
Any help anyone can give me would be much appreciated. Thanks in
advance!
Kevin Mullinax
My goal is to have a form with a listbox of the files in the current
directory folder, and when a user clicks on a file in the listbox, another
listbox is populated with the names of the layouts in that drawing.
I've been unsuccessful in accessing this information unless the file is
currently open. I know that I could create a second instance of AutoCAD,
open the selected file in the background, populate the listbox with the
thisdrawing.layouts property and then quit the second running ACAD object,
but that's really memory and time intensive, and I'm sure there's another
way, because ADT 2002's Design Center Explorer can do this very thing.
Any help anyone can give me would be much appreciated. Thanks in
advance!
Kevin Mullinax