<?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: Automate Parts List Export in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3256112#M138147</link>
    <description>&lt;P&gt;Hi MDS-MQ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is some sample iLogic code here:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://inventortrenches.blogspot.com/2011/02/ilogic-code-for-parts-lists-title.html"&gt;http://inventortrenches.blogspot.com/2011/02/ilogic-code-for-parts-lists-title.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://inventortrenches.blogspot.com/2011/06/ilogic-export-parts-list-with-options.html"&gt;http://inventortrenches.blogspot.com/2011/06/ilogic-export-parts-list-with-options.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It could be reworked to run in VBA without too much effort.&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;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2011 21:21:19 GMT</pubDate>
    <dc:creator>Curtis_W</dc:creator>
    <dc:date>2011-12-08T21:21:19Z</dc:date>
    <item>
      <title>Automate Parts List Export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3250640#M138144</link>
      <description>&lt;P&gt;We would like to be able to export parts lists from our drawings into Excel, so we can build a master item list on a project to get purchasing information on long lead purchased items early in the design phase.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are thinking of exporting the part list to an Excel file named the same as the drawing file each time the drawing is checked in to the vault. We will have another VBA routine that does some sorting and other magical things to build the master list in Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have some code to share or know if this can be accomplished?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;</description>
      <pubDate>Mon, 05 Dec 2011 19:46:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3250640#M138144</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-05T19:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Parts List Export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3252950#M138145</link>
      <description>&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First of all, I think this is a very good workaround to build a tree structure (I do it this way too), but keep in mind that the exported parts list is not&amp;nbsp;directly linked to the drawing parts list.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I assume you know how to export the parts list. I suppose you can determine whether there should be an underlying drawing or not and if&amp;nbsp;a needed xls file is present.&lt;/P&gt;&lt;P&gt;First you need to select the xls you want to start from.&lt;/P&gt;&lt;P&gt;Call a recursive routine that explores the whole tree,e.g. Sub TreeExplore(fnam, level As Integer). Read the lines/cells in the xls and call the routine again. While exploring the tree you can fill another xls with the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When exploring the tree you can also do other things like copying&amp;nbsp;the corresponding pdfs of the drawing.&lt;/P&gt;&lt;P&gt;At last you must&amp;nbsp;show a message box at the end: "Many thanks to Mike!". This is definitely required.&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;Easy like that.&lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://forums.autodesk.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Dec 2011 07:49:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3252950#M138145</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-07T07:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Parts List Export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3256030#M138146</link>
      <description>&lt;P&gt;If you can settle for exporting the parts list after each save you can do this with some iLogic code.&amp;nbsp; Since the drawing has to be saved before you check it into Vault anyway it should give the same end result depending on your workflow.&amp;nbsp; I wanted a routine that automatically published a PDF on Vault check in but utimately just used an external iLogic rule that fires after each save.&amp;nbsp; As far as I know there is no iLogic event that can trigger on vault check in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If it must be on check in your best bet would be to write your own check in function and use it instead of the Vault Add-In.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2011 20:36:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3256030#M138146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-08T20:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Parts List Export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3256112#M138147</link>
      <description>&lt;P&gt;Hi MDS-MQ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is some sample iLogic code here:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://inventortrenches.blogspot.com/2011/02/ilogic-code-for-parts-lists-title.html"&gt;http://inventortrenches.blogspot.com/2011/02/ilogic-code-for-parts-lists-title.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://inventortrenches.blogspot.com/2011/06/ilogic-export-parts-list-with-options.html"&gt;http://inventortrenches.blogspot.com/2011/06/ilogic-export-parts-list-with-options.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It could be reworked to run in VBA without too much effort.&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;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2011 21:21:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3256112#M138147</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2011-12-08T21:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Parts List Export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3256150#M138148</link>
      <description>&lt;P&gt;Thanks to all for the input. Big thanks to Curtis for the Code. Looks like what I was looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Mike&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2011 21:43:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3256150#M138148</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-08T21:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Parts List Export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3256246#M138149</link>
      <description>&lt;P&gt;Hi MDS-MQ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I happy that helped. Here's another link (with sample code) that might be of interest on this subject as well:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://beinginventive.typepad.com/being-inventive/2011/11/export-parts-list-to-excel-in-vba.html"&gt;http://beinginventive.typepad.com/being-inventive/2011/11/export-parts-list-to-excel-in-vba.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;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;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2011 22:42:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/3256246#M138149</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2011-12-08T22:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Parts List Export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/7882001#M138150</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/105031"&gt;@Curtis_W&lt;/a&gt;Hi, I got your great code from this link&amp;nbsp;&lt;A href="http://inventortrenches.blogspot.co.il/2011/02/ilogic-code-for-parts-lists-title.html" target="_blank"&gt;http://inventortrenches.blogspot.co.il/2011/02/ilogic-code-for-parts-lists-title.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I was able to export 1 sheet after I've renamed this code to my "sheet name"&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; oSheet = oDoc.Sheets("Sheet:1") ' sheet by name&lt;/PRE&gt;&lt;P&gt;I need to export all the parts lists exist in that idw to xls format. it has mutiple sheets.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Mar 2018 10:52:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/7882001#M138150</guid>
      <dc:creator>Alexrose1942</dc:creator>
      <dc:date>2018-03-25T10:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Parts List Export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/7882201#M138151</link>
      <description>Please vote one of my ideas in the signature to implement this in future releases.&lt;BR /&gt;This will help...&lt;BR /&gt;Regards.</description>
      <pubDate>Sun, 25 Mar 2018 14:49:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/7882201#M138151</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2018-03-25T14:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Automate Parts List Export</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/7882266#M138152</link>
      <description>&lt;P&gt;hi, try:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Private Sub nbmvc()&lt;BR /&gt;Dim oDraw As DrawingDocument&lt;BR /&gt;Set oDraw = ThisApplication.ActiveDocument&lt;BR /&gt;Dim oSheet As Sheet&lt;BR /&gt;Dim oprtlist As PartsList&lt;BR /&gt;For Each oSheet In oDraw.Sheets&lt;BR /&gt;Set oprtlist = oSheet.PartsLists.Item(1)&lt;BR /&gt;&lt;BR /&gt;'do export&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Next&lt;BR /&gt;End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you need to add some errors handling code... if you use ilogic delete "set" words from that code.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Mar 2018 16:16:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/automate-parts-list-export/m-p/7882266#M138152</guid>
      <dc:creator>marcin_otręba</dc:creator>
      <dc:date>2018-03-25T16:16:45Z</dc:date>
    </item>
  </channel>
</rss>

