<?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 BOM with Template in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-bom-with-template/m-p/11240959#M139426</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5011186"&gt;@JelteDeJong&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for checking. I had the same conclusion when I was trying to make it work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for now I simply create a drawing in the background, place and export the partslist then close the drawing without save. It works fine, but I hoped to skip this part of my code and do this&amp;nbsp; directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dropped it in the idea station, so let's vote&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@1E018E9C237C1988568EE667885B902C/emoticons/1f601.png" alt=":beaming_face_with_smiling_eyes:" title=":beaming_face_with_smiling_eyes:" /&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/api-support-for-export-bom-with-template/idi-p/11240955" target="_blank"&gt;API Support for Export BOM with Template - Autodesk Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 17 Jun 2022 03:44:28 GMT</pubDate>
    <dc:creator>theo.bot</dc:creator>
    <dc:date>2022-06-17T03:44:28Z</dc:date>
    <item>
      <title>Export BOM with Template</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-bom-with-template/m-p/11238995#M139387</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since Inventor R2022.1 you can use a template when you export a BOM view when using the interface. (&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-A20361E2-B591-47F5-8871-440D471C7014" target="_blank"&gt;Inventor 2023 Help | Assembly Enhancements | Autodesk&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It looks like these BOM export options are not included in the API (&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-C689C910-D089-4CAA-9513-01CB946D1661" target="_blank"&gt;Inventor 2023 Help | BOMView.Export Method | Autodesk&lt;/A&gt;).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to use the same way as mentioned in the Partlist export options (&lt;A href="https://help.autodesk.com/view/INVNTOR/2023/ENU/?guid=GUID-7BF5B84F-12D1-4026-B2A6-E3E922FEE5A7" target="_blank"&gt;Inventor 2023 Help | PartsList.Export Method | Autodesk) But that did not work.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know there are a lot of work arounds, but it would make life a lot easier if we can export BOM views directly into a excel template using the API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know if these options are supported?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 09:23:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-bom-with-template/m-p/11238995#M139387</guid>
      <dc:creator>theo.bot</dc:creator>
      <dc:date>2022-06-16T09:23:13Z</dc:date>
    </item>
    <item>
      <title>Re: Export BOM with Template</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-bom-with-template/m-p/11240584#M139422</link>
      <description>&lt;P&gt;I tried a couple of things. but could not get it to work with an object collection. But if you throw in a string you can set 1 option the table name. it works like this.&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;doc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;bom&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;BOM&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;BOM&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;bomView&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;BOMView&lt;/SPAN&gt; = &lt;SPAN&gt;bom&lt;/SPAN&gt;.&lt;SPAN&gt;BOMViews&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"structured"&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;file&lt;/SPAN&gt; = &lt;SPAN&gt;"D:\folder\file.xlsx"&lt;/SPAN&gt;

&lt;SPAN&gt;bomView&lt;/SPAN&gt;.&lt;SPAN&gt;Export&lt;/SPAN&gt;(&lt;SPAN&gt;file&lt;/SPAN&gt;, &lt;SPAN&gt;FileFormatEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kMicrosoftExcelFormat&lt;/SPAN&gt;, &lt;SPAN&gt;"This_will_become_the_sheet_name"&lt;/SPAN&gt;)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I guess that this is not what you are looking for.&amp;nbsp; But this makes me expect that it's not possible to set more options. &lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2022 21:25:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-bom-with-template/m-p/11240584#M139422</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2022-06-16T21:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Export BOM with Template</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-bom-with-template/m-p/11240959#M139426</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5011186"&gt;@JelteDeJong&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for checking. I had the same conclusion when I was trying to make it work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So for now I simply create a drawing in the background, place and export the partslist then close the drawing without save. It works fine, but I hoped to skip this part of my code and do this&amp;nbsp; directly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I dropped it in the idea station, so let's vote&amp;nbsp;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@1E018E9C237C1988568EE667885B902C/emoticons/1f601.png" alt=":beaming_face_with_smiling_eyes:" title=":beaming_face_with_smiling_eyes:" /&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/api-support-for-export-bom-with-template/idi-p/11240955" target="_blank"&gt;API Support for Export BOM with Template - Autodesk Community&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jun 2022 03:44:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-bom-with-template/m-p/11240959#M139426</guid>
      <dc:creator>theo.bot</dc:creator>
      <dc:date>2022-06-17T03:44:28Z</dc:date>
    </item>
  </channel>
</rss>

