<?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: Export glTF with iLogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11206750#M138782</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;, in our company we are making ERP System for our manafucture and in the ERP we want to view the 3D. The software company which we hire to develope the system is using three.js , we made few tests with the different file formant and we have best result with glTF(.glb). Now I want to write iLogic rule which can export all parts in assembly file in different glb files and the assembly.&lt;/P&gt;</description>
    <pubDate>Wed, 01 Jun 2022 05:32:53 GMT</pubDate>
    <dc:creator>miroslav.roydev</dc:creator>
    <dc:date>2022-06-01T05:32:53Z</dc:date>
    <item>
      <title>Export glTF with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11202156#M138736</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I want to export glTF file with iLogic. Now i have script for export obj and want to replace it becouse the files size it 10 time smaller and more. Now i use&amp;nbsp;TranslatorAddIn.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 May 2022 11:47:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11202156#M138736</guid>
      <dc:creator>miroslav.roydev</dc:creator>
      <dc:date>2022-05-30T11:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Export glTF with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11205042#M138766</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6624604"&gt;@miroslav.roydev&lt;/a&gt;.&amp;nbsp; I have never heard of that file type or file extension before.&amp;nbsp; What specific software generates that type of file?&amp;nbsp; What is it for?&amp;nbsp; What type of Inventor document are you attempting to export as that type of file?&amp;nbsp; I see that file extension listed as one of the ones available for Inventor 2022 exports, but it does not say which software it is associated with, so it is difficult to find which TranslatorAddIn might be associated with exporting that type of file.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 14:08:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11205042#M138766</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-05-31T14:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Export glTF with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11206750#M138782</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;, in our company we are making ERP System for our manafucture and in the ERP we want to view the 3D. The software company which we hire to develope the system is using three.js , we made few tests with the different file formant and we have best result with glTF(.glb). Now I want to write iLogic rule which can export all parts in assembly file in different glb files and the assembly.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Jun 2022 05:32:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11206750#M138782</guid>
      <dc:creator>miroslav.roydev</dc:creator>
      <dc:date>2022-06-01T05:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Export glTF with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11209586#M138859</link>
      <description>&lt;P&gt;Hi all, at the end with try and error&amp;nbsp;I&amp;nbsp;&lt;SPAN&gt;succeed&lt;/SPAN&gt; to export glTF files.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oApp&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Application&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt; = &lt;SPAN&gt;oApp&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oOBJ&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;TranslatorAddIn&lt;/SPAN&gt;
	&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oAppAddin&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ApplicationAddIn&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;oApp&lt;/SPAN&gt;.&lt;SPAN&gt;ApplicationAddIns&lt;/SPAN&gt;
		&lt;SPAN&gt;'		MsgBox(oAppAddin.AddInType )&lt;/SPAN&gt;
		&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oAppAddin&lt;/SPAN&gt;.&lt;SPAN&gt;DisplayName&lt;/SPAN&gt; = &lt;SPAN&gt;"Translator: glTF"&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
			&lt;SPAN&gt;MsgBox&lt;/SPAN&gt;(1)
			&lt;SPAN&gt;oOBJ&lt;/SPAN&gt; = &lt;SPAN&gt;oAppAddin&lt;/SPAN&gt;
		&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
	&lt;SPAN&gt;Next&lt;/SPAN&gt;

	&lt;SPAN&gt;'The following lines create the needed input variables&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oTO&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;TransientObjects&lt;/SPAN&gt; = &lt;SPAN&gt;oApp&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oContext&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;TranslationContext&lt;/SPAN&gt; = &lt;SPAN&gt;oTO&lt;/SPAN&gt;.&lt;SPAN&gt;CreateTranslationContext&lt;/SPAN&gt;
	&lt;SPAN&gt;oContext&lt;/SPAN&gt;.&lt;SPAN&gt;Type&lt;/SPAN&gt; = &lt;SPAN&gt;IOMechanismEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kFileBrowseIOMechanism&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oOptions&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;NameValueMap&lt;/SPAN&gt; = &lt;SPAN&gt;oTO&lt;/SPAN&gt;.&lt;SPAN&gt;CreateNameValueMap&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDataMedium&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DataMedium&lt;/SPAN&gt; = &lt;SPAN&gt;oTO&lt;/SPAN&gt;.&lt;SPAN&gt;CreateDataMedium&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;SavePath&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;tDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;

	&lt;SPAN&gt;SavePath&lt;/SPAN&gt; = &lt;SPAN&gt;"\\192.168.2.101\erp\ERP_ROOT\OBJ_3Dmodels\"&lt;/SPAN&gt;

	&lt;SPAN&gt;oBaseName&lt;/SPAN&gt; = &lt;SPAN&gt;tDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Design Tracking Properties"&lt;/SPAN&gt;).&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Part Number"&lt;/SPAN&gt;).&lt;SPAN&gt;Value&lt;/SPAN&gt;
	&lt;SPAN&gt;oRev&lt;/SPAN&gt; = &lt;SPAN&gt;tDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor Summary Information"&lt;/SPAN&gt;).&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"Revision Number"&lt;/SPAN&gt;).&lt;SPAN&gt;Value&lt;/SPAN&gt;
	&lt;SPAN&gt;oRev&lt;/SPAN&gt; = &lt;SPAN&gt;FormatRevisionNumber&lt;/SPAN&gt;(&lt;SPAN&gt;oRev&lt;/SPAN&gt;)
	&lt;SPAN&gt;oDataMedium&lt;/SPAN&gt;.&lt;SPAN&gt;FileName&lt;/SPAN&gt; = &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;.&lt;SPAN&gt;ChangeExtension&lt;/SPAN&gt;(&lt;SPAN&gt;SavePath&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oBaseName&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oRev&lt;/SPAN&gt;, &lt;SPAN&gt;".glb"&lt;/SPAN&gt;)

	&lt;SPAN&gt;Try&lt;/SPAN&gt;

		&lt;SPAN&gt;oOBJ&lt;/SPAN&gt;.&lt;SPAN&gt;SaveCopyAs&lt;/SPAN&gt;(&lt;SPAN&gt;oDoc&lt;/SPAN&gt;, &lt;SPAN&gt;oContext&lt;/SPAN&gt;, &lt;SPAN&gt;oOptions&lt;/SPAN&gt;, &lt;SPAN&gt;oDataMedium&lt;/SPAN&gt;)
	&lt;SPAN&gt;Catch&lt;/SPAN&gt;
		&lt;SPAN&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN&gt;oBaseName&lt;/SPAN&gt;)
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 05:21:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11209586#M138859</guid>
      <dc:creator>miroslav.roydev</dc:creator>
      <dc:date>2022-06-02T05:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Export glTF with iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11210714#M138890</link>
      <description>&lt;P&gt;Glad to see that you got it figured out. &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;
&lt;P&gt;I do not see that translator add-in available in my list of translator add-ins, which is likely why I could not find the proper one before.&amp;nbsp; I am still using Inventor Professional 2022.2.2 (but getting updated soon), so I'm guessing maybe you have 2023 version installed, because I see that is one of the new translators available in that version (&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-9C910614-E51E-453A-98FD-07482482E21B" target="_blank" rel="noopener"&gt;Link1&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2022 14:37:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-gltf-with-ilogic/m-p/11210714#M138890</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-06-02T14:37:16Z</dc:date>
    </item>
  </channel>
</rss>

