<?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 or Access to BOM which is applicable to an LOD in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-or-access-to-bom-which-is-applicable-to-an-lod/m-p/6032578#M61602</link>
    <description>&lt;P&gt;Hi Wayne,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the feedback. Ok so clearly the LOD system inside Inventor is not built to handle assy configurations. Its a pitty cause its so quick and easy to set up and use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will look at the options you provide&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2016 08:45:03 GMT</pubDate>
    <dc:creator>Raider_71</dc:creator>
    <dc:date>2016-02-10T08:45:03Z</dc:date>
    <item>
      <title>Export or Access to BOM which is applicable to an LOD</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-or-access-to-bom-which-is-applicable-to-an-lod/m-p/6022010#M61420</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible&amp;nbsp;to access and export a BOM based on a specific LOD?&lt;/P&gt;&lt;P&gt;I would like to export the information of the parts which are active because of the current active LOD. It could be Parts Only or Structured with all levels etc but as long as its only the parts pertaining to that specific active LOD.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 14:59:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-or-access-to-bom-which-is-applicable-to-an-lod/m-p/6022010#M61420</guid>
      <dc:creator>Raider_71</dc:creator>
      <dc:date>2016-02-03T14:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Export or Access to BOM which is applicable to an LOD</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-or-access-to-bom-which-is-applicable-to-an-lod/m-p/6026862#M61530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The BOM in the Inventor API is always based on the Master LOD and suppressing components do not change the listing in BOM. Maybe creating an iAssembly would meet your requirement. (Manage tab &amp;gt; Create iAssembly). This provides a way to include/exclude components and which reflects in BOM.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This link has steps explaining an iAssembly creation :&lt;BR /&gt;&lt;A href="https://designandmotion.net/autodesk/mfg-pages/inventor/autodesk-inventor-iassembly-best-practices/" target="_blank"&gt;https://designandmotion.net/autodesk/mfg-pages/inventor/autodesk-inventor-iassembly-best-practices/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;After you have created an iAssembly, a table will appear in the model browser that can be edited to include/exclude components. After you activate a table row, the updated BOM can be viewed.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another approach would to use the Inventor API to iterate through all of the occurrences and export what you want from the occurrences to an Excel worksheet. An occurrence has a suppressed property so you could exclude the suppressed occurrences. See this VBA example in the help:&amp;nbsp;AssemblyCount()&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That example will fail on this line if there is a suppressed occurrence: "If oCompOcc.SubOccurrences.Count = 0 Then"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit the example with another If Else statement that checks the suppressed property to avoid that error:&lt;/P&gt;
&lt;P&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;For Each oCompOcc In oCompDef.Occurrences&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If oCompOcc.Suppressed = True Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug.Print oCompOcc.Name &amp;amp; "Suppressed = " &amp;amp; oCompOcc.Suppressed&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ' Check if it's child occurrence (leaf node)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If oCompOcc.SubOccurrences.count = 0 Then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug.Print oCompOcc.Name&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iLeafNodes = iLeafNodes + 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug.Print oCompOcc.Name&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSubAssemblies = iSubAssemblies + 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Call processAllSubOcc(oCompOcc, _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sMsg, _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iLeafNodes, _&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; iSubAssemblies) ' subassembly&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End If&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Next&lt;/P&gt;
&lt;P&gt;&amp;lt;&amp;lt; &amp;lt;&amp;lt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example in this post writes to an Excel worksheet. (not related to exporting a BOM)&lt;/P&gt;
&lt;P&gt;&lt;A href="http://adndevblog.typepad.com/manufacturing/2013/02/manipulate-rows-and-columns-of-ipart-1.html" target="_blank"&gt;http://adndevblog.typepad.com/manufacturing/2013/02/manipulate-rows-and-columns-of-ipart-1.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Wayne&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 22:32:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-or-access-to-bom-which-is-applicable-to-an-lod/m-p/6026862#M61530</guid>
      <dc:creator>wayne.brill</dc:creator>
      <dc:date>2016-02-05T22:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Export or Access to BOM which is applicable to an LOD</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-or-access-to-bom-which-is-applicable-to-an-lod/m-p/6032578#M61602</link>
      <description>&lt;P&gt;Hi Wayne,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the feedback. Ok so clearly the LOD system inside Inventor is not built to handle assy configurations. Its a pitty cause its so quick and easy to set up and use.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will look at the options you provide&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 08:45:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-or-access-to-bom-which-is-applicable-to-an-lod/m-p/6032578#M61602</guid>
      <dc:creator>Raider_71</dc:creator>
      <dc:date>2016-02-10T08:45:03Z</dc:date>
    </item>
  </channel>
</rss>

