Open new session of AutoCAD

Open new session of AutoCAD

Anonymous
Not applicable
334 Views
4 Replies
Message 1 of 5

Open new session of AutoCAD

Anonymous
Not applicable
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
0 Likes
335 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
Do you want to open a new AutoCAD session, or
just open a drawing in the existing one ?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5104534@discussion.autodesk.com...
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 wh
at 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
0 Likes
Message 3 of 5

Anonymous
Not applicable
I would like to open a new autocad session. As I understand, and I could be
wrong, but I am able to still run the routine through the new session of
autocad

"Tony Tanzillo" wrote in message
news:5104577@discussion.autodesk.com...
Do you want to open a new AutoCAD session, or
just open a drawing in the existing one ?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5104534@discussion.autodesk.com...
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 wh
at 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
0 Likes
Message 4 of 5

Anonymous
Not applicable
Is there a reason why you need to run another
instance of AutoCAD, rather than just open
another document in the same instance you're
working in?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5104549@discussion.autodesk.com...
I would like to open a new autocad session. As I understand, and I could be
wrong, but I am able to still run the routine through the new session of
autocad

"Tony Tanzillo" wrote in message
news:5104577@discussion.autodesk.com...
Do you want to open a new AutoCAD session, or
just open a drawing in the existing one ?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5104534@discussion.autodesk.com...
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 wh
at 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
0 Likes
Message 5 of 5

Anonymous
Not applicable
I probably don't quite know how the workings, but I assumed that if I closed
the drawing down, then the routine would close too.

If this isn't the case, then I probably do not need to worry about it all

"Tony Tanzillo" wrote in message
news:5104729@discussion.autodesk.com...
Is there a reason why you need to run another
instance of AutoCAD, rather than just open
another document in the same instance you're
working in?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5104549@discussion.autodesk.com...
I would like to open a new autocad session. As I understand, and I could be
wrong, but I am able to still run the routine through the new session of
autocad

"Tony Tanzillo" wrote in message
news:5104577@discussion.autodesk.com...
Do you want to open a new AutoCAD session, or
just open a drawing in the existing one ?

--
http://www.caddzone.com

AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com

wrote in message news:5104534@discussion.autodesk.com...
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 wh
at 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
0 Likes