<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multiple AcadApplication's open in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/multiple-acadapplication-s-open/m-p/1459518#M83535</link>
    <description>Good idea, didn't think of that, was to focused on the different applications. Thanks !</description>
    <pubDate>Tue, 18 Oct 2005 17:45:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-10-18T17:45:58Z</dc:date>
    <item>
      <title>Multiple AcadApplication's open</title>
      <link>https://forums.autodesk.com/t5/net-forum/multiple-acadapplication-s-open/m-p/1459515#M83532</link>
      <description>I have a situation that the user has Multiple AcadApplication's (sessions) open. The program I am running is running outside of autocad and has to connect to the drawing.&lt;BR /&gt;
&lt;BR /&gt;
But when I use then command :&lt;BR /&gt;
   acadApp = CType(GetObject(, UsedAcadApp), AcadApplication)&lt;BR /&gt;
It will open the first application that is started.&lt;BR /&gt;
This is not the situation I want. I want the user to select the session he needs and open this one.&lt;BR /&gt;
&lt;BR /&gt;
I can find out wich sessions are open with:&lt;BR /&gt;
Dim actProcesses() As Process = Process.GetProcesses&lt;BR /&gt;
Dim actProcess As Process&lt;BR /&gt;
For Each actProcess In actProcesses&lt;BR /&gt;
 If Trim(actProcess.ProcessName.ToLower) = "acad" Then&lt;BR /&gt;
  'Buffer the item in a array&lt;BR /&gt;
 End If&lt;BR /&gt;
Next&lt;BR /&gt;
I then can buffer the windows title or ID of the session&lt;BR /&gt;
I can get the selected session as the active session, but then ?????&lt;BR /&gt;
&lt;BR /&gt;
Can anybody help me out ?&lt;BR /&gt;
&lt;BR /&gt;
With kind regards,&lt;BR /&gt;
&lt;BR /&gt;
Harold van Aarsen</description>
      <pubDate>Fri, 14 Oct 2005 10:51:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/multiple-acadapplication-s-open/m-p/1459515#M83532</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-14T10:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple AcadApplication's open</title>
      <link>https://forums.autodesk.com/t5/net-forum/multiple-acadapplication-s-open/m-p/1459516#M83533</link>
      <description>Are there any C# programmers who can help me ?</description>
      <pubDate>Tue, 18 Oct 2005 08:24:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/multiple-acadapplication-s-open/m-p/1459516#M83533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-18T08:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple AcadApplication's open</title>
      <link>https://forums.autodesk.com/t5/net-forum/multiple-acadapplication-s-open/m-p/1459517#M83534</link>
      <description>Why make the user pick which session? &lt;BR /&gt;
&lt;BR /&gt;
Just define a command inside each session that can do what you want and already knows what is what. &lt;BR /&gt;
&lt;BR /&gt;
If they have to pick the session, why not just have them pick the appropriate Autocad window instead? &lt;BR /&gt;
&lt;BR /&gt;
Chris Arps</description>
      <pubDate>Tue, 18 Oct 2005 12:23:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/multiple-acadapplication-s-open/m-p/1459517#M83534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-18T12:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple AcadApplication's open</title>
      <link>https://forums.autodesk.com/t5/net-forum/multiple-acadapplication-s-open/m-p/1459518#M83535</link>
      <description>Good idea, didn't think of that, was to focused on the different applications. Thanks !</description>
      <pubDate>Tue, 18 Oct 2005 17:45:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/multiple-acadapplication-s-open/m-p/1459518#M83535</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-10-18T17:45:58Z</dc:date>
    </item>
  </channel>
</rss>

