Message 1 of 1
Open new session of AutoCAD

Not applicable
03-07-2006
09:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
Our company has a manual procedure where when we issue drawings, we bind
xrefs, purge the drawing and then place in an issued folder. If the drawing
has more than one layout, the user has to manually saveas, delete unwanted
layouts and then bind/purge yada yada.
I have written a program that does it if the drawing only has 1 layout, If
there is more than one layout, I am bringing up a listbox where the user
selects which layouts to use.
I am not too sure of what is required in opening a new session of AutoCAD,
and looked in a few places for it.
Is this how I must declare this application?
Dim acadObj As autocad.IAcadApplication
Dim activeDoc As autocad.IAcadDocument
Set activeDoc = acadObj.ActiveDocument
activeDoc.Open (string)
I have attached the form and the code if it makes it easier to understand.
Thanks in advance for any assistance.
Brent
Our company has a manual procedure where when we issue drawings, we bind
xrefs, purge the drawing and then place in an issued folder. If the drawing
has more than one layout, the user has to manually saveas, delete unwanted
layouts and then bind/purge yada yada.
I have written a program that does it if the drawing only has 1 layout, If
there is more than one layout, I am bringing up a listbox where the user
selects which layouts to use.
I am not too sure of what is required in opening a new session of AutoCAD,
and looked in a few places for it.
Is this how I must declare this application?
Dim acadObj As autocad.IAcadApplication
Dim activeDoc As autocad.IAcadDocument
Set activeDoc = acadObj.ActiveDocument
activeDoc.Open (string)
I have attached the form and the code if it makes it easier to understand.
Thanks in advance for any assistance.
Brent