<?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: How to change a specific part item number in Bill of materials using Ilogic in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602478#M46062</link>
    <description>&lt;P&gt;This is really good. Thanks a lot&lt;/P&gt;</description>
    <pubDate>Mon, 06 Sep 2021 09:48:46 GMT</pubDate>
    <dc:creator>manu.marjanen</dc:creator>
    <dc:date>2021-09-06T09:48:46Z</dc:date>
    <item>
      <title>How to change a specific part item number in Bill of materials using Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10601973#M46057</link>
      <description>&lt;P&gt;How to change a specific part item number in Bill of materials using Ilogic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, Now the part (part:1) item number is 10 and i would like it be to something else.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 05:34:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10601973#M46057</guid>
      <dc:creator>manu.marjanen</dc:creator>
      <dc:date>2021-09-06T05:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a specific part item number in Bill of materials using Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602190#M46058</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8645322"&gt;@manu.marjanen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you looking for something like this? &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'Pick occurrence to change item number&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ComponentOccurrence&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Pick&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;SelectionFilterEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kAssemblyOccurrenceFilter&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Pick occurrence"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOM&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOM&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;StructuredViewEnabled&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMView&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMViews&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(2)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMRow&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'find BOM row&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMRows&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1) &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Definition&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Nothing&lt;/SPAN&gt;
	&lt;SPAN style="color: #808080;"&gt;'Couldnt find part in structured view. Check Parts only&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PartsOnlyViewEnabled&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
	&lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMViews&lt;/SPAN&gt;(3)
	&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMRows&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1) &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Definition&lt;/SPAN&gt;
			&lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
	&lt;SPAN style="color: #808080;"&gt;'-------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oNum&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;InputBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Set item number of "&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Name&lt;/SPAN&gt;, &lt;SPAN style="color: #008080;"&gt;"Item number"&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemNumber&lt;/SPAN&gt;)
&lt;SPAN style="color: #808080;"&gt;'If itemnumber already exists, switch the numbers of the parts&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMRows&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemNumber&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oNum&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemNumber&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemNumber&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #808080;"&gt;'--------------------------------------------------------------&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemNumber&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oNum&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 06 Sep 2021 07:30:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602190#M46058</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2021-09-06T07:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a specific part item number in Bill of materials using Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602295#M46059</link>
      <description>&lt;P&gt;Something like this.&lt;/P&gt;&lt;P&gt;For example, If parameter("something") is True&amp;nbsp; Then Part:1 part number is 10.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 08:27:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602295#M46059</guid>
      <dc:creator>manu.marjanen</dc:creator>
      <dc:date>2021-09-06T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a specific part item number in Bill of materials using Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602401#M46060</link>
      <description>&lt;P&gt;Is the parameter in the assembly or in the part? Do you want to change the itemnumber in structured or parts only BOM view? What are the conditions and parameter name? Like, if a certain condition is met, the item number should be 10, but what should it be if that condition isn't met?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 09:14:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602401#M46060</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2021-09-06T09:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a specific part item number in Bill of materials using Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602414#M46061</link>
      <description>&lt;P&gt;Here's an example if the parameter is in the assembly and its called "itemNum"&lt;/P&gt;
&lt;P&gt;It'll change the item number of the occurrence in the assembly called "Part1:1" in structured BOM view if the parameter is True.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ComponentOccurrence&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part1:1"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOM&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOM&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;StructuredViewEnabled&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMView&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMViews&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(2)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMRow&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMRows&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1) &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Definition&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;itemNum&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemNumber&lt;/SPAN&gt; = 10&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 09:19:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602414#M46061</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2021-09-06T09:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a specific part item number in Bill of materials using Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602478#M46062</link>
      <description>&lt;P&gt;This is really good. Thanks a lot&lt;/P&gt;</description>
      <pubDate>Mon, 06 Sep 2021 09:48:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10602478#M46062</guid>
      <dc:creator>manu.marjanen</dc:creator>
      <dc:date>2021-09-06T09:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a specific part item number in Bill of materials using Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10604389#M46063</link>
      <description>&lt;P&gt;I need more help.&lt;/P&gt;&lt;P&gt;If "itemNum" true then "part:1"&amp;nbsp; item number is what i want. But when "itemNum" is false then "part:1" is not in assembly and thins code give me an error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Focusing, "itemNum" True "part:1" is in assembly and&amp;nbsp; "itemNum" False "part:1" is not in assembly.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 05:54:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10604389#M46063</guid>
      <dc:creator>manu.marjanen</dc:creator>
      <dc:date>2021-09-07T05:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a specific part item number in Bill of materials using Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10604445#M46064</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8645322"&gt;@manu.marjanen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How about this then &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;itemNum&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800080;"&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;Document&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;ComponentOccurrence&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part1:1"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOM&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOM&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;StructuredViewEnabled&lt;/SPAN&gt; = &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMView&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMViews&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(2)
&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMRow&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;BOMRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oView&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMRows&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1) &lt;SPAN style="color: #ff0000;"&gt;Is&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOcc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Definition&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Exit&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #800000;"&gt;pRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ItemNumber&lt;/SPAN&gt; = 10
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 07 Sep 2021 06:23:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10604445#M46064</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2021-09-07T06:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change a specific part item number in Bill of materials using Ilogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10604521#M46065</link>
      <description>&lt;P&gt;Now work the way i want, thank you &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Sep 2021 06:53:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/how-to-change-a-specific-part-item-number-in-bill-of-materials/m-p/10604521#M46065</guid>
      <dc:creator>manu.marjanen</dc:creator>
      <dc:date>2021-09-07T06:53:57Z</dc:date>
    </item>
  </channel>
</rss>

