<?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: Inventor instance access in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-instance-access/m-p/12743291#M166783</link>
    <description>&lt;P&gt;Short answer: This is not possible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you are brave, &lt;A href="https://adndevblog.typepad.com/autocad/2013/12/accessing-com-applications-from-the-running-object-table.html" target="_blank"&gt;here&lt;/A&gt; is the article which describes how to access COM objects from ROT. Few years ago I used similar approach for Inventor and it works, but I don't have the source code anymore.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Apr 2024 11:26:41 GMT</pubDate>
    <dc:creator>Michael.Navara</dc:creator>
    <dc:date>2024-04-30T11:26:41Z</dc:date>
    <item>
      <title>Inventor instance access</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-instance-access/m-p/12743273#M166782</link>
      <description>&lt;P&gt;&lt;BR /&gt;&amp;nbsp;If I have multiple instances open in Inventor (assuming 3 instances are open) and I want to access the 3rd instance as an active instance, how I can get that instance using the Inventor API? because currently getting 1st instance only even if I am running 3rd instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find below code snippet that I am using to get the inventor instance&lt;/P&gt;&lt;P&gt;&amp;nbsp;Inventor.Application invApp = Marshal.GetActiveObject("Inventor.Application") as Inventor.Application;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 11:17:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-instance-access/m-p/12743273#M166782</guid>
      <dc:creator>dhanshri_gavas</dc:creator>
      <dc:date>2024-04-30T11:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor instance access</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-instance-access/m-p/12743291#M166783</link>
      <description>&lt;P&gt;Short answer: This is not possible&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But if you are brave, &lt;A href="https://adndevblog.typepad.com/autocad/2013/12/accessing-com-applications-from-the-running-object-table.html" target="_blank"&gt;here&lt;/A&gt; is the article which describes how to access COM objects from ROT. Few years ago I used similar approach for Inventor and it works, but I don't have the source code anymore.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 11:26:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-instance-access/m-p/12743291#M166783</guid>
      <dc:creator>Michael.Navara</dc:creator>
      <dc:date>2024-04-30T11:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Inventor instance access</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-instance-access/m-p/12747467#M166881</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;BR /&gt;Based on your response, I believe you're accessing the instance from a different version, such as Inventor 2022, Inventor 2023. However, I'm attempting to access an instance from the same version as Inventor 2023, which has three instances open, the third of which I want to access. How to access similar instances?&lt;/P&gt;</description>
      <pubDate>Thu, 02 May 2024 05:49:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/inventor-instance-access/m-p/12747467#M166881</guid>
      <dc:creator>dhanshri_gavas</dc:creator>
      <dc:date>2024-05-02T05:49:35Z</dc:date>
    </item>
  </channel>
</rss>

