.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AutoCAD sessions

4 REPLIES 4
Reply
Message 1 of 5
thenrich
360 Views, 4 Replies

AutoCAD sessions

How can I obtain all runnning intances of AutoCAD running on a machine? I'd like a pointer to each 1 in my application.
4 REPLIES 4
Message 2 of 5
Mikko
in reply to: thenrich

Dim p As Process
For Each p In Process.GetProcessesByName("acad")
Console.WriteLine(p.ToString)
Next
Message 3 of 5
thenrich
in reply to: thenrich

How does that give me a pointer to the application so I can execute methods and properties on it?
Message 4 of 5
Anonymous
in reply to: thenrich

> "How can I obtain all running instances of AutoCAD"...

What exactly do you mean by 'running instances' ?

The AcadApplication object, or something else?

--
http://www.caddzone.com

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

wrote in message news:4909919@discussion.autodesk.com...
How can I obtain all runnning intances of AutoCAD running on a machine? I'd like a pointer to each 1 in my application.
Message 5 of 5
thenrich
in reply to: thenrich

yes AcadApplication - all of them.....

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost