Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<as@vanaarsen.net> wrote inHi
message
href="news:6091631@discussion.autodesk.com">news:6091631@discussion.autodesk.com...
readers, I am developing a program which needs to retrieve some information
from sometimes multiple open Acad.exe's. Now i can analyze if Acad is started
and how many instances there are. -- Dim actProcesses() As Process =
Process.GetProcesses(Environment.MachineName) Dim Counter As Integer = 0 For
Each actProcess As Process In actProcesses If
Trim(actProcess.ProcessName.ToLower) = "acad" Then Counter = Counter + 1 End
If Next -- But i want to be able to select a specific one which has a
predefined drawing open. How can I "transform" a process to a AcadApplication
to analyze the info i need ? please help me, i have read thousands of lines on
the internet and tried many different things to get things going. wkr, Harold
van Aarsen
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<as@vanaarsen.net> wrote inI
message
href="news:6091655@discussion.autodesk.com">news:6091655@discussion.autodesk.com...
have also had a look at ROT, but i do not understand it. Could you help me out
with a sample of how to scroll through this ROT and find out if it is a Acad
object. An if possible get it into a AcadApplication. wkr, Harold van
Aarsen