<?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: Automatic BOM export in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595308#M134791</link>
    <description>&lt;P&gt;BOMxTrator works from outside the Inventor enviroment as well. Can be found on the cbliss.com website&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2012 22:39:29 GMT</pubDate>
    <dc:creator>blair</dc:creator>
    <dc:date>2012-08-24T22:39:29Z</dc:date>
    <item>
      <title>Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3594792#M134785</link>
      <description>&lt;P&gt;We are looking for a way to export BOM's without having to open individual IDW's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We were unable to find such a function in either Inventor or Vault Workgroup. We have found customized function for export but each file has to be opened. Is there such a function available that we might have missed&amp;nbsp;or third party?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently working with 2011 versions of Inventor and Vault Workgroup, soon to be migrated to 2013.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2012 16:23:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3594792#M134785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-24T16:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3594894#M134786</link>
      <description>&lt;P&gt;A .net solution using Inventor Apprentice may work.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2012 16:58:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3594894#M134786</guid>
      <dc:creator>mrattray</dc:creator>
      <dc:date>2012-08-24T16:58:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595012#M134787</link>
      <description>&lt;P&gt;There are plenty of solutions that won't require you to manually open your files, but the program or application will still be opening the files in the background. The best solution is a stand-alone application I've found.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2012 18:17:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595012#M134787</guid>
      <dc:creator>jdkriek</dc:creator>
      <dc:date>2012-08-24T18:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595066#M134788</link>
      <description>&lt;P&gt;Thank you for the response, would you happen to have examples or names of stand-alone applications? We dont mind if they all have to be opened by the program as long as we do not have to manually open them ourselves.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a bit more detail on what we are trying to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are working with assemblies composed of +/- 2500 total parts. From the main assembly we extract the BOM. from here we would like to feed this list to an&amp;nbsp;application/function&amp;nbsp;to gather all sub-assembly BOM's associated to the project and create related parts list files (ie:xls,csv, etc...)&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2012 18:52:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595066#M134788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-24T18:52:59Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595164#M134789</link>
      <description>&lt;P&gt;Have you tried to just export the bom (all levels) to excel from the top level assembly..&lt;/P&gt;&lt;P&gt;You don't need to open any of the subassemblies at all that way.. You get the complete indented BOM.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2012 20:30:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595164#M134789</guid>
      <dc:creator>mcgyvr</dc:creator>
      <dc:date>2012-08-24T20:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595182#M134790</link>
      <description>&lt;P&gt;Hi documentation,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As mcgyvr suggested, you can get the entire assembly from the top level model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you're looking to automate it from there, you can use something like the snippet posted here:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Recurssive-BOM/m-p/3507166#M38941"&gt;http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/Recurssive-BOM/m-p/3507166#M38941&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;I hope this helps.&lt;BR /&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A target="_blank" href="http://inventortrenches.blogspot.com"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2012 20:50:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595182#M134790</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2012-08-24T20:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595308#M134791</link>
      <description>&lt;P&gt;BOMxTrator works from outside the Inventor enviroment as well. Can be found on the cbliss.com website&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2012 22:39:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3595308#M134791</guid>
      <dc:creator>blair</dc:creator>
      <dc:date>2012-08-24T22:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3597032#M134792</link>
      <description>&lt;P&gt;I understand you want to export&amp;nbsp; the BOM from the drawing but drawings may contain multiple parts lists.&lt;/P&gt;
&lt;P&gt;If you don't mind exporting the BOM directly from the assemblies, another thought is to use some iLogic code and wrap this up in a Task Scheduler custom task.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you unzip attached 2013 files in a folder called c:\test, start Inventor and follow the instructions from this &lt;A href="http://beinginventive.typepad.com/being-inventive/2011/11/how-to-create-a-custom-task-in-task-scheduler.html" target="_self"&gt;blog pos&lt;/A&gt;t (the post uses a different iLogic rule but the principles remain the same), you will see two Excel files with BOM info show up in the c:\test folder after running the custom task. Use the exe in attached zip (not the one from the blog post).&lt;/P&gt;
&lt;P&gt;The names of the assemblies you are interested in need to be stored in myfiles.csv and can be customized to your needs. The ilogic code that I used can be found in Externalrule.txt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2012 18:18:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3597032#M134792</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2012-08-27T18:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3603212#M134793</link>
      <description>&lt;P&gt;The procedure works great, what I would like to know is how to edit the external rule file such that it outputs to a given excel template.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example columns Part #, Description, Material, QTY with the columns fit to width. I found some similar commands in the boards but have not managed to get them to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2012 14:42:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3603212#M134793</guid>
      <dc:creator>a_angel</dc:creator>
      <dc:date>2012-08-31T14:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3603774#M134794</link>
      <description>&lt;P&gt;If you want particular columns in a particular position, it is still possible to use my proposed technique but you will have to code considerably more. There is an API Example available that explains how to do custom BOM columns..&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Search&amp;nbsp;with the keyword "BOMquery" in the API Help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is quite easy to convert VBA code to iLogic code. The conversion typically consists&amp;nbsp;in dropping the "Set" and "Sub"&lt;/P&gt;
&lt;P&gt;statements and providiing the proper Inventor enum statements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bob&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Aug 2012 20:24:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3603774#M134794</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2012-08-31T20:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3613614#M134795</link>
      <description>&lt;P&gt;Thank you all for your replies.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are currently looking into your suggestions to see which one is best suited for our needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2012 20:23:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3613614#M134795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-09-10T20:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3745592#M134796</link>
      <description>&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;I used BOM xtractor, How to add the colum which I required. example: title, Materail and some custome iproperty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Nanda&lt;/P&gt;&lt;P&gt;Inventor 2011&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 17:56:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3745592#M134796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-03T17:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3818959#M134797</link>
      <description>&lt;P&gt;Hi maybe try BOM Tools. You can customise which iProperties (inclucing custome), Parameters and sheet metal extenets you would like to export. This is nice for creating cutlists etc. It also exports Thumbnails into Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.mgfx.co.za/tools-for-inventor.htm"&gt;www.mgfx.co.za/tools-for-inventor.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Sat, 30 Mar 2013 08:35:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/3818959#M134797</guid>
      <dc:creator>tech</dc:creator>
      <dc:date>2013-03-30T08:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/6037057#M134798</link>
      <description>Hey guys I know this is old news but I have been all over the web looking for solutions for bom export. The examples here work great, but when i use ilogic to export the BOM it rearranges my columns in a different order in which they appear in inventor. If i do a traditional bom export save as etc. it will do the columns in correct order, why is this? I am talking about the rule as simple as this... ThisBOM.Export("Parts Only", "fileName", kMicrosoftExcelFormat) rearranging the column format....</description>
      <pubDate>Fri, 12 Feb 2016 13:41:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/6037057#M134798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-12T13:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/6040276#M134799</link>
      <description>&lt;DIV&gt;I don't know why the iLogic code that you mention is providing only a fixed order of columns. VBA would give you more flexibility.&lt;BR /&gt;If you still want to use iLogic, it is relatively easy to change the column orderr AFTER the file is created.&lt;/DIV&gt;
&lt;DIV&gt;In attached code , I create a CSV file called C:\Users\User\Documents\Inventor\bom.csv&lt;/DIV&gt;
&lt;DIV&gt;You can influence the column order by changing the order of the numbers on this line in the code:&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;displayorder = {9, 3, 2, 4, 5, 6, 7, 8, 1}&lt;/STRONG&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;In my example of 9 columns, I swapped columns 1 and 9 around and also columns 2 and 3.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Cheers&lt;/DIV&gt;
&lt;DIV&gt;Bob&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE&gt;'Default  BOM order
'1 = BOM Structure
'2 = Description
'3 = Item
'4 = Part Number
'5 = REV
'6 = Stock Number
'7 = Thumbnail
'8 = QTY
'9 = Unit QTY
Dim displayorder As Array
'displayorder = {1, 2, 3, 4, 5, 6, 7, 8, 9} ' default
displayorder = {9, 3, 2, 4, 5, 6, 7, 8, 1}

Dim filename = "C:\Users\User\Documents\Inventor\bom.csv"
ThisBOM.Export("Parts Only", filename, kTextFileCommaDelimitedFormat)

Dim tempfile As String
Dim i As Integer
tempfile = filename + "_tmp"

Dim ReadCSV As New System.IO.StreamReader(filename)
Dim TestArray As New ArrayList()

Dim oFile As System.IO.File
Dim oWrite As System.IO.StreamWriter
oWrite = oFile.CreateText(tempfile) 

  Dim textline As String
  Dim j As Integer
  j=0
  Do While ReadCSV.Peek &amp;lt;&amp;gt; -1 ' Loop until end of file.
   Testarray.Add(ReadCSV.ReadLine.Split(","))
   Dim newstr As String
   newstr = ""
   For i = 0 To UBound(displayorder)

       If newstr &amp;lt;&amp;gt; "" Then
        newstr = newstr + "," + TestArray (j) (displayorder(i)-1)
       Else
        newstr = TestArray (j) (displayorder(i)-1)
       End If
   Next i
   j= j+1
   oWrite.WriteLine(newstr)
Loop

ReadCSV.Close()
oWrite.Close()

System.IO.File.Delete( filename )
System.io.File.Move(tempfile, filename)
&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 15 Feb 2016 23:15:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/6040276#M134799</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2016-02-15T23:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/6040909#M134800</link>
      <description>Thanks that does work, I have 14 columns so i just had to add the additional numbers.</description>
      <pubDate>Tue, 16 Feb 2016 12:32:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/6040909#M134800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-02-16T12:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/6041480#M134801</link>
      <description>&lt;P&gt;Glad I could be of help.&lt;/P&gt;
&lt;P&gt;Bob&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 16:51:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/6041480#M134801</guid>
      <dc:creator>bobvdd</dc:creator>
      <dc:date>2016-02-16T16:51:27Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/12787074#M134802</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I was using your CustomTask.exe and I find it very useful. Many thanks for that exe file. Last time I turned for Inventor 2024 and ... CustomTask.exe stopped working. When I start defined custom task It says it didn't find arguments (csv + rule) I'm sure I do everything correct. Using same thing on Inventor 2021 everything goes smoothly. Can you help please?&lt;/P&gt;&lt;P&gt;Radek&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 11:55:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/12787074#M134802</guid>
      <dc:creator>_RKF_</dc:creator>
      <dc:date>2024-05-21T11:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic BOM export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/12789334#M134803</link>
      <description>&lt;P&gt;.. figured it out. If useful for anybody - For Inv 2021 and all previous releases it was the CustomTask.exe syntax for parameters to give them both as full paths in quotes separated by space eg.: "c:\temp\myList.csv" "c:\temp\myRule.txt". It didn't work for 2024 task scheduler (ver 5.0). It works, at least in my case, the syntax:&lt;/P&gt;&lt;P&gt;c:\temp\myList.csv" "c:\temp\myRule.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Radek.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 07:46:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automatic-bom-export/m-p/12789334#M134803</guid>
      <dc:creator>_RKF_</dc:creator>
      <dc:date>2024-05-22T07:46:06Z</dc:date>
    </item>
  </channel>
</rss>

