<?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: [C++] The IiLogicForm interface IID for QueryInterface in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/10002187#M55179</link>
    <description>&lt;P&gt;@Anonymous&amp;nbsp;, there is no SDK for iLogic.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I don't have VS2015 installed, but I put together a test program in VS2017 to list the forms in the active Inventor document. Please see if you can use this, or extract code from it. It's an MFC executable and it uses C++/CLI to create a new iLogicForm object. iLogicForm is just a C# class. It's not exposed to COM. But it can be accessed with C++/CLI.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This will list the forms in the document. But you can't use it to launch a form because it's running from outside of the Inventor process. If you need to launch a form, I would recommend creating an Inventor add-in.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2021 19:10:16 GMT</pubDate>
    <dc:creator>MjDeck</dc:creator>
    <dc:date>2021-01-14T19:10:16Z</dc:date>
    <item>
      <title>[C++] The IiLogicForm interface IID for QueryInterface</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/9926179#M55175</link>
      <description>&lt;P&gt;Can't find SDK for iLogic plugin&lt;BR /&gt;Can't find IID's list for iLogic plugin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No C#, No VB (VBA), C++ only plz !!!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 10:14:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/9926179#M55175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-09T10:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: [C++] The IiLogicForm interface IID for QueryInterface</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/9929206#M55176</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;More correct questions:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. How to get SDK for iLogic plugin ?&lt;BR /&gt;2. How to get list of forms from iLogic plugin ?&lt;BR /&gt;3. How to get a pointer to IiLogicForm interface (Forms list) ?&lt;BR /&gt;4. How to get IID's list of iLogic plugin interfaces (I Can't find TLB) ?&lt;BR /&gt;5. How to get the correct IUnknown interface from the iLogic plugin (plugin-&amp;gt;IDispatch-&amp;gt;QueryInterface) ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C/C++ (MFC) only plz !!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 10:32:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/9929206#M55176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-12-10T10:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: [C++] The IiLogicForm interface IID for QueryInterface</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/9930355#M55177</link>
      <description>&lt;P&gt;SDK Location :&amp;nbsp;&lt;SPAN&gt;Windows 7/8.1/10: &amp;nbsp; C:\Users\Public\Documents\Autodesk\Inventor&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;&amp;lt;version&amp;gt;&lt;/EM&gt;&lt;SPAN&gt;\SDK&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the rest, I can't help you since I develop C# Addins and VBA macro only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 17:26:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/9930355#M55177</guid>
      <dc:creator>yan.gauthier</dc:creator>
      <dc:date>2020-12-10T17:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: [C++] The IiLogicForm interface IID for QueryInterface</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/9930513#M55178</link>
      <description>&lt;P&gt;Sorry forum bug, posted twice...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2020 18:28:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/9930513#M55178</guid>
      <dc:creator>yan.gauthier</dc:creator>
      <dc:date>2020-12-10T18:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: [C++] The IiLogicForm interface IID for QueryInterface</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/10002187#M55179</link>
      <description>&lt;P&gt;@Anonymous&amp;nbsp;, there is no SDK for iLogic.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;I don't have VS2015 installed, but I put together a test program in VS2017 to list the forms in the active Inventor document. Please see if you can use this, or extract code from it. It's an MFC executable and it uses C++/CLI to create a new iLogicForm object. iLogicForm is just a C# class. It's not exposed to COM. But it can be accessed with C++/CLI.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;This will list the forms in the document. But you can't use it to launch a form because it's running from outside of the Inventor process. If you need to launch a form, I would recommend creating an Inventor add-in.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2021 19:10:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/10002187#M55179</guid>
      <dc:creator>MjDeck</dc:creator>
      <dc:date>2021-01-14T19:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: [C++] The IiLogicForm interface IID for QueryInterface</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/10004809#M55180</link>
      <description>&lt;P&gt;Firstly, I want to say thank you for the answer here and on the adndevblog.typepad.com forum&lt;BR /&gt;Unfortunately, there are very few people on this forum who really understand low-level programming of COM/OLE interfaces&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I read an article "How to automate Excel from C++ without using MFC or #import" on the microsoft site, which has a good example of a wrapper for Invoke function (Disp -&amp;gt; GetIDsOfNames -&amp;gt; Invoke)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This late binding example is good for working with an iLogic Automation interface, but there are no functions in this interface for working with forms&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following conclusion, as iLogic objects are not real COM objects,&lt;BR /&gt;I cant use direct interface calls and therefore I need use .NET integration&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there are no more solutions for this problem, I will mark this topic later as Solved&lt;/P&gt;&lt;P&gt;In my old c# application (working as an external process not plug-in), i also used late binding to call Forms/Rules functions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And thanks again for your time and code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Inventor_forum.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/866971i37F420AEB36B1801/image-size/large?v=v2&amp;amp;px=999" role="button" title="Inventor_forum.png" alt="Inventor_forum.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2021 17:36:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/10004809#M55180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-15T17:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: [C++] The IiLogicForm interface IID for QueryInterface</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/10006205#M55181</link>
      <description>&lt;P&gt;As far as i know is iLogic an addin writen in a .Net laguage (not sure wich exact.) on top of the Inventor API. Therefor every thing you can do iLogic can also be done with Inventor API (and nothing more). Using the Inventor API is sometimes more complicated but has much more options.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway if you want to write in C++ and want to use the Inventor api you should check out this site:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ransensoftware.com/Inventor-CPP/index.html" target="_blank"&gt;http://www.ransensoftware.com/Inventor-CPP/index.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 13:24:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/10006205#M55181</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2021-01-16T13:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: [C++] The IiLogicForm interface IID for QueryInterface</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/10006572#M55182</link>
      <description>&lt;P&gt;I know&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Owen Ransen&lt;/STRONG&gt; wrote an amazing book&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This book is my bible in low-level programming Inventor API&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jan 2021 18:37:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/c-the-iilogicform-interface-iid-for-queryinterface/m-p/10006572#M55182</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-01-16T18:37:11Z</dc:date>
    </item>
  </channel>
</rss>

