.NET

Reply
Distinguished Contributor
thenrich
Posts: 267
Registered: ‎12-03-2003
Message 1 of 5 (107 Views)

AutoCAD sessions

107 Views, 4 Replies
07-25-2005 06:11 AM
How can I obtain all runnning intances of AutoCAD running on a machine? I'd like a pointer to each 1 in my application.
Distinguished Contributor
Mikko
Posts: 212
Registered: ‎10-03-2003
Message 2 of 5 (107 Views)

Re: AutoCAD sessions

07-25-2005 10:51 AM in reply to: thenrich
Dim p As Process
For Each p In Process.GetProcessesByName("acad")
Console.WriteLine(p.ToString)
Next
Distinguished Contributor
thenrich
Posts: 267
Registered: ‎12-03-2003
Message 3 of 5 (107 Views)

Re: AutoCAD sessions

07-25-2005 10:53 AM in reply to: thenrich
How does that give me a pointer to the application so I can execute methods and properties on it?
*Tony Tanzillo
Message 4 of 5 (107 Views)

Re: AutoCAD sessions

07-25-2005 03:59 PM 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.
Distinguished Contributor
thenrich
Posts: 267
Registered: ‎12-03-2003
Message 5 of 5 (107 Views)

Re: AutoCAD sessions

07-26-2005 05:21 AM in reply to: thenrich
yes AcadApplication - all of them.....
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.