<?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: Part Number and Revision in one column in Assembly Bill of Material in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-number-and-revision-in-one-column-in-assembly-bill-of/m-p/9199011#M103952</link>
    <description>&lt;P&gt;You can setup an iLogic rule and make the rule run on saving by add it to the Before Save event trigger.&lt;/P&gt;&lt;PRE&gt;iProperties.Value("Custom", "ABAS") = iProperties.Value("Project", "Part Number") + "-" + iProperties.Value("Project", "Revision Number")&lt;/PRE&gt;</description>
    <pubDate>Thu, 12 Dec 2019 15:50:08 GMT</pubDate>
    <dc:creator>smilinger</dc:creator>
    <dc:date>2019-12-12T15:50:08Z</dc:date>
    <item>
      <title>Part Number and Revision in one column in Assembly Bill of Material</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-number-and-revision-in-one-column-in-assembly-bill-of/m-p/9198958#M103951</link>
      <description>&lt;P&gt;Looking to combine part number and revision in one column in assembly for our ERP system to export BOM from CAD model to ERP system but ERP system set up to have PART number with Revision as a name (example: &amp;lt;part number&amp;gt;-&amp;lt;revision number&amp;gt; or see attachment). Rightnow we copy BOM to Excel and make formula in one column to get what we want but would be good to have it ready in CAD BOM.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 15:33:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-number-and-revision-in-one-column-in-assembly-bill-of/m-p/9198958#M103951</guid>
      <dc:creator>Saqib.Iqbal</dc:creator>
      <dc:date>2019-12-12T15:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Part Number and Revision in one column in Assembly Bill of Material</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-number-and-revision-in-one-column-in-assembly-bill-of/m-p/9199011#M103952</link>
      <description>&lt;P&gt;You can setup an iLogic rule and make the rule run on saving by add it to the Before Save event trigger.&lt;/P&gt;&lt;PRE&gt;iProperties.Value("Custom", "ABAS") = iProperties.Value("Project", "Part Number") + "-" + iProperties.Value("Project", "Revision Number")&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Dec 2019 15:50:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-number-and-revision-in-one-column-in-assembly-bill-of/m-p/9199011#M103952</guid>
      <dc:creator>smilinger</dc:creator>
      <dc:date>2019-12-12T15:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Part Number and Revision in one column in Assembly Bill of Material</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-number-and-revision-in-one-column-in-assembly-bill-of/m-p/9199456#M103959</link>
      <description>&lt;P&gt;No coding needed:&lt;/P&gt;
&lt;P&gt;make a new Custom I-Property like:&lt;/P&gt;
&lt;P&gt;"ABAS" with the expression"&amp;nbsp; &amp;nbsp; "=&amp;lt;Part Number&amp;gt;-&amp;lt;Revision Number&amp;gt;"&lt;/P&gt;
&lt;P&gt;without "&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 18:45:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-number-and-revision-in-one-column-in-assembly-bill-of/m-p/9199456#M103959</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-12-12T18:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Part Number and Revision in one column in Assembly Bill of Material</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-number-and-revision-in-one-column-in-assembly-bill-of/m-p/9199953#M103967</link>
      <description>&lt;P&gt;Thanks all but I got my ilogic code working which add custom iproperty to assembly and all parts in that assembly, so that in BOM when you add that custom iproperties to the table, all parts/subasys have the information you want.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code, if someone also looking for it like i was:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;Dim &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;asmDoc &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;As &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: purple;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: purple;"&gt;Document&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: purple;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: purple;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: maroon;"&gt;Model&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"ABAS PN"&lt;/SPAN&gt;) = &lt;SPAN style="color: purple;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: purple;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: maroon;"&gt;Model&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Project"&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Part Number"&lt;/SPAN&gt;) &amp;amp;&lt;SPAN style="color: teal;"&gt;"-"&lt;/SPAN&gt;&amp;amp; &lt;SPAN style="color: purple;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: purple;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: maroon;"&gt;Model&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Project"&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Revision Number"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;Dim &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;childDoc &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;As &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;Document&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;For Each &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;childDoc &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;In &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;asmDoc&lt;/SPAN&gt;.&lt;SPAN style="color: maroon;"&gt;AllReferencedDocuments&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;Dim &lt;/SPAN&gt;&lt;SPAN style="color: maroon;"&gt;filename&lt;/SPAN&gt; = &lt;SPAN style="color: maroon;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: maroon;"&gt;Path&lt;/SPAN&gt;.&lt;SPAN style="color: maroon;"&gt;GetFileName&lt;/SPAN&gt;(&lt;SPAN style="color: maroon;"&gt;childDoc&lt;/SPAN&gt;.&lt;SPAN style="color: maroon;"&gt;FullFileName&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: purple;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: purple;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: maroon;"&gt;filename&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Custom"&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"ABAS PN"&lt;/SPAN&gt;) = &lt;SPAN style="color: purple;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: purple;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: maroon;"&gt;filename&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Project"&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Part Number"&lt;/SPAN&gt;) &amp;amp;&lt;SPAN style="color: teal;"&gt;"-"&lt;/SPAN&gt;&amp;amp; &lt;SPAN style="color: purple;"&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN style="color: purple;"&gt;Value&lt;/SPAN&gt;(&lt;SPAN style="color: maroon;"&gt;filename&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Project"&lt;/SPAN&gt;, &lt;SPAN style="color: teal;"&gt;"Revision Number"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: red;"&gt;Catch&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: red;"&gt;End Try&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: red;"&gt;Next&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="5"&gt;If this answer your question, please give it a "KUDOS"&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 23:57:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/part-number-and-revision-in-one-column-in-assembly-bill-of/m-p/9199953#M103967</guid>
      <dc:creator>Saqib.Iqbal</dc:creator>
      <dc:date>2019-12-12T23:57:30Z</dc:date>
    </item>
  </channel>
</rss>

