<?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 Need some help to create Ilogic for &amp;quot;Check iproperties in part and rename partnumber part in *.iam&amp;quot; please in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765231#M57878</link>
    <description>&lt;P&gt;I have an assembly make from multibody part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="04.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/822988i37AA8891DDB0EB34/image-size/large?v=v2&amp;amp;px=999" role="button" title="04.jpg" alt="04.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bom show like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="05.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/822989i27BC7660E6AD3F1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="05.jpg" alt="05.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to have Ilogic to check&lt;/P&gt;&lt;P&gt;If iproperties "vol", "area" &amp;amp; "Iall" have a same value, please rename to the same partnumer.&lt;/P&gt;&lt;P&gt;Look like this picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="06.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/822990i6CA5AB784F98378B/image-size/large?v=v2&amp;amp;px=999" role="button" title="06.jpg" alt="06.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help or suggest.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Sep 2020 07:56:22 GMT</pubDate>
    <dc:creator>ballnr</dc:creator>
    <dc:date>2020-09-24T07:56:22Z</dc:date>
    <item>
      <title>Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765231#M57878</link>
      <description>&lt;P&gt;I have an assembly make from multibody part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="04.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/822988i37AA8891DDB0EB34/image-size/large?v=v2&amp;amp;px=999" role="button" title="04.jpg" alt="04.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bom show like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="05.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/822989i27BC7660E6AD3F1E/image-size/large?v=v2&amp;amp;px=999" role="button" title="05.jpg" alt="05.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to have Ilogic to check&lt;/P&gt;&lt;P&gt;If iproperties "vol", "area" &amp;amp; "Iall" have a same value, please rename to the same partnumer.&lt;/P&gt;&lt;P&gt;Look like this picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="06.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/822990i6CA5AB784F98378B/image-size/large?v=v2&amp;amp;px=999" role="button" title="06.jpg" alt="06.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help or suggest.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 07:56:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765231#M57878</guid>
      <dc:creator>ballnr</dc:creator>
      <dc:date>2020-09-24T07:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765262#M57879</link>
      <description>&lt;P&gt;Is it necessary to have 4 different part files for the same part ? If not you can place the part 4 times in the assembly..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can't have :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solid1:1&lt;/P&gt;&lt;P&gt;solid1:1&lt;/P&gt;&lt;P&gt;solid1:1&lt;/P&gt;&lt;P&gt;solid1:1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By placing the part 4 times you could have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;solid1:1&lt;/P&gt;&lt;P&gt;solid1:2&lt;/P&gt;&lt;P&gt;solid1:3&lt;/P&gt;&lt;P&gt;solid1:4&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 08:14:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765262#M57879</guid>
      <dc:creator>FINET_Laurent</dc:creator>
      <dc:date>2020-09-24T08:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765294#M57880</link>
      <description>&lt;P&gt;1. I need to looking the same shape on multibody part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. When I try to replace part that is many work to do If I have 200 multibody part used in assembly.Because is not correct position after you replace.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3.Why I need to change partnumber, because I need to count part in bom drawing and easy to used "Rename browser node"&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 08:31:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765294#M57880</guid>
      <dc:creator>ballnr</dc:creator>
      <dc:date>2020-09-24T08:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765307#M57881</link>
      <description>&lt;P&gt;My go whould be :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Create a custom iProperty "PartName" and name it Part1&lt;/P&gt;&lt;P&gt;- Next I whould pick a part which whould have the reference shape (volume, aera,..)&lt;/P&gt;&lt;P&gt;- Then go through all part in the assembly and compare them with the reference part.&lt;/P&gt;&lt;P&gt;- If they have the same iPorperties then change the iProperty "Part name" to Part1&lt;/P&gt;&lt;P&gt;- If they don't : do nothing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 08:43:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765307#M57881</guid>
      <dc:creator>FINET_Laurent</dc:creator>
      <dc:date>2020-09-24T08:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765315#M57882</link>
      <description>&lt;P&gt;Thanks for your suggest.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 08:43:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765315#M57882</guid>
      <dc:creator>ballnr</dc:creator>
      <dc:date>2020-09-24T08:43:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765317#M57883</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/662617"&gt;@ballnr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try 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;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&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;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;PartsOnlyViewEnabled&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;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMViews&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&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;oHandled&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&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;Then&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Continue&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&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;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOtherRow&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;oOtherRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;IsNot&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oOtherRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1)) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDef2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oOtherRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1)
				&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;HasSameProperties&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oDef2&lt;/SPAN&gt;)
					&lt;SPAN style="color: #800000;"&gt;oDef2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Design Tracking Properties"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = _
					&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Design Tracking Properties"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
					&lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDef2&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;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;Next&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;HasSameProperties&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Def1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Def2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Def1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Def2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;

	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oString1&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;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"vol"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"¤"&lt;/SPAN&gt; &amp;amp; _
		&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"area"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"¤"&lt;/SPAN&gt; &amp;amp; _
		&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Iall"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;

		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oString2&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;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"vol"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"¤"&lt;/SPAN&gt; &amp;amp; _
		&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"area"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"¤"&lt;/SPAN&gt; &amp;amp; _
		&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Iall"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;

		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oString1&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oString2&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;False&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;Catch&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Sep 2020 08:44:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765317#M57883</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-09-24T08:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765347#M57884</link>
      <description>&lt;P&gt;Thank you very much.&lt;/P&gt;&lt;P&gt;When I run on first time. Error coming&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="07.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/823008i656E551EE33FFB67/image-size/large?v=v2&amp;amp;px=999" role="button" title="07.jpg" alt="07.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="08.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/823009iF5B163A9C4510016/image-size/large?v=v2&amp;amp;px=999" role="button" title="08.jpg" alt="08.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I run second time no error but the result some thing wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="09.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/823010iC08E5508C34309FF/image-size/large?v=v2&amp;amp;px=999" role="button" title="09.jpg" alt="09.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 08:54:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765347#M57884</guid>
      <dc:creator>ballnr</dc:creator>
      <dc:date>2020-09-24T08:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765382#M57885</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/662617"&gt;@ballnr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's strange... It works for me.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="forum.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/823018i36089246417B9ACB/image-size/large?v=v2&amp;amp;px=999" role="button" title="forum.PNG" alt="forum.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Seems like there's some row that where the code fails to get the componentdefinition for some reason in your case...&lt;/P&gt;&lt;P&gt;What does the result look like if you run it like this?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&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;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;PartsOnlyViewEnabled&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;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMViews&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&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;Try&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&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;Then&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Continue&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&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;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOtherRow&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;oOtherRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;IsNot&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oOtherRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1)) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDef2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oOtherRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1)
					&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;HasSameProperties&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oDef2&lt;/SPAN&gt;)
						&lt;SPAN style="color: #800000;"&gt;oDef2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Design Tracking Properties"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = _
						&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Design Tracking Properties"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
						&lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDef2&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;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;Catch&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Next&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;HasSameProperties&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Def1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Def2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Def1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Def2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;

	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oString1&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;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"vol"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"¤"&lt;/SPAN&gt; &amp;amp; _
		&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"area"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"¤"&lt;/SPAN&gt; &amp;amp; _
		&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Iall"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;

		&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oString2&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;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"vol"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"¤"&lt;/SPAN&gt; &amp;amp; _
		&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"area"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; &amp;amp; &lt;SPAN style="color: #008080;"&gt;"¤"&lt;/SPAN&gt; &amp;amp; _
		&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Iall"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;

		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oString1&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oString2&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Else&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;False&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;Catch&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 09:12:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765382#M57885</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-09-24T09:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765400#M57886</link>
      <description>&lt;P&gt;For you picture that is a good result.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for my computer that is different from your picture.&lt;/P&gt;&lt;P&gt;My inventor version is&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/823025iBF07A09AA325EDE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="10.jpg" alt="10.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I will try to restart and test again&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 09:25:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765400#M57886</guid>
      <dc:creator>ballnr</dc:creator>
      <dc:date>2020-09-24T09:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765423#M57887</link>
      <description>&lt;P&gt;I try your last Ilogic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No error on first time. But result is the same picture.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11.jpg" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/823032i98D21C4C54C3079F/image-size/large?v=v2&amp;amp;px=999" role="button" title="11.jpg" alt="11.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please suggest.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 09:39:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765423#M57887</guid>
      <dc:creator>ballnr</dc:creator>
      <dc:date>2020-09-24T09:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765434#M57888</link>
      <description>&lt;P&gt;It seems as if my last reply disappeared...&lt;/P&gt;&lt;P&gt;Does this way of comparing the values work better for you maybe?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&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;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;PartsOnlyViewEnabled&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;oBOM&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;BOMViews&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&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;oHandled&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&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;Then&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Continue&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;For&lt;/SPAN&gt;
			&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&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;For&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Each&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOtherRow&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;oOtherRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;IsNot&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRow&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oOtherRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1)) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
					&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oDef2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oOtherRow&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;ComponentDefinitions&lt;/SPAN&gt;(1)
					&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;HasSameProperties&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oDef2&lt;/SPAN&gt;)
						&lt;SPAN style="color: #800000;"&gt;oDef2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Design Tracking Properties"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = _
						&lt;SPAN style="color: #800000;"&gt;oDef&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Design Tracking Properties"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
						&lt;SPAN style="color: #800000;"&gt;oHandled&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oDef2&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;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;Next&lt;/SPAN&gt;

&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;HasSameProperties&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Def1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Def2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartComponentDefinition&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Def1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;Def2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt;

	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;DoubleForEquals&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqual&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"vol"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;), &lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"vol"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)) _
		&lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;DoubleForEquals&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqual&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"area"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;), &lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"area"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)) _
		&lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;DoubleForEquals&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqual&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Iall"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;), &lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Iall"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)) _
		&lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Failed to compare values!"&lt;/SPAN&gt;)
		&lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Sep 2020 09:45:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765434#M57888</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-09-24T09:45:36Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765445#M57889</link>
      <description>&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;The last Ilogic, I run firsttime have some error.&lt;/P&gt;&lt;P&gt;When second time the result ok.&lt;/P&gt;&lt;P&gt;I think may be have some problems on my computer.&lt;/P&gt;&lt;P&gt;I will re check on another computer.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 09:52:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765445#M57889</guid>
      <dc:creator>ballnr</dc:creator>
      <dc:date>2020-09-24T09:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765470#M57890</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/662617"&gt;@ballnr&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since the problem seems to be obtaining the componentdefinition from the BOMrow on the first try, maybe going through referenced documents is a better approach for you?&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Main&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;oList&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;New&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;List&lt;/SPAN&gt;(&lt;SPAN style="color: #ff0000;"&gt;Of&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&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;oRefDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedDocuments&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt; _
			&lt;SPAN style="color: #ff0000;"&gt;AndAlso&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;AllReferencedOccurrences&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;gt; 0

			&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;oOtherDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Document&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;In&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oAsm&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;AllReferencedDocuments&lt;/SPAN&gt;
				&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oList&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Contains&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oOtherDoc&lt;/SPAN&gt;) = &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt; _
					&lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOtherDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;DocumentType&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;DocumentTypeEnum&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;kPartDocumentObject&lt;/SPAN&gt; _
					&lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oOtherDoc&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;IsNot&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt; _
					&lt;SPAN style="color: #ff0000;"&gt;AndAlso&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;AllReferencedOccurrences&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oOtherDoc&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Count&lt;/SPAN&gt; &amp;gt; 0
					&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;HasSameProperties&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;oOtherDoc&lt;/SPAN&gt;)
						&lt;SPAN style="color: #800000;"&gt;oOtherDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Design Tracking Properties"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt; = _
						&lt;SPAN style="color: #800000;"&gt;oRefDoc&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Design Tracking Properties"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Part Number"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;
						&lt;SPAN style="color: #800000;"&gt;oList&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Add&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oOtherDoc&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;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;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;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Sub&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;HasSameProperties&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;doc1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PartDocument&lt;/SPAN&gt;) &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Boolean&lt;/SPAN&gt;

	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;doc2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Inventor User Defined Properties"&lt;/SPAN&gt;)
	&lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
		&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;DoubleForEquals&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqual&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"vol"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;), &lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"vol"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)) _
		&lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;DoubleForEquals&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqual&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"area"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;), &lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"area"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)) _
		&lt;SPAN style="color: #ff0000;"&gt;AndAlso&lt;/SPAN&gt; &lt;SPAN style="color: #800080;"&gt;DoubleForEquals&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;IsEqual&lt;/SPAN&gt;(&lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops1&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Iall"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;), &lt;SPAN style="color: #800080;"&gt;CDblAny&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;oCustomprops2&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;Item&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Iall"&lt;/SPAN&gt;).&lt;SPAN style="color: #800000;"&gt;Value&lt;/SPAN&gt;)) _
		&lt;SPAN style="color: #ff0000;"&gt;Then&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;True&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;Catch&lt;/SPAN&gt;
		&lt;SPAN style="color: #800000;"&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Failed to compare values!"&lt;/SPAN&gt;)
		&lt;SPAN style="color: #ff0000;"&gt;Return&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;False&lt;/SPAN&gt;
	&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Try&lt;/SPAN&gt;
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;Function&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Sep 2020 10:05:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765470#M57890</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2020-09-24T10:05:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help to create Ilogic for "Check iproperties in part and rename partnumber part in *.iam" please</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765490#M57891</link>
      <description>&lt;P&gt;The last Ilogic, That is perfect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 10:15:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/need-some-help-to-create-ilogic-for-quot-check-iproperties-in/m-p/9765490#M57891</guid>
      <dc:creator>ballnr</dc:creator>
      <dc:date>2020-09-24T10:15:56Z</dc:date>
    </item>
  </channel>
</rss>

