<?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: I logic to change sheet metal rule for selected component in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-to-change-sheet-metal-rule-for-selected-component/m-p/11270574#M139895</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;That should work when we create the new sheet metal.&lt;/P&gt;&lt;P&gt;What am looking for is the i logic for old part sheet metal.&lt;/P&gt;&lt;P&gt;So I just want to change the sheet metal rule on the existing part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rgd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Jul 2022 02:28:20 GMT</pubDate>
    <dc:creator>didin.suryadi6JREK</dc:creator>
    <dc:date>2022-07-01T02:28:20Z</dc:date>
    <item>
      <title>I logic to change sheet metal rule for selected component</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-to-change-sheet-metal-rule-for-selected-component/m-p/11268522#M139862</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for the code that is related to the sheet metal rule.&lt;/P&gt;&lt;P&gt;Basically when the rules is run the msg box like the below will come up.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="for logic.JPG" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1086076i7ED26647AD75639E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="for logic.JPG" alt="for logic.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 08:08:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-to-change-sheet-metal-rule-for-selected-component/m-p/11268522#M139862</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2022-06-30T08:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: I logic to change sheet metal rule for selected component</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-to-change-sheet-metal-rule-for-selected-component/m-p/11269433#M139882</link>
      <description>&lt;P&gt;What you can do is make a new user parameter in the default Sheet metal template. In the user parameters you add a multi value parameter with all the styles that you are using. It is importent that all the styles in the multi value parameter the text is equal to the Sheet Metal styles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mechielvanvalen_0-1656600906686.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1086249iCCF25ACBB3331CCC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mechielvanvalen_0-1656600906686.png" alt="mechielvanvalen_0-1656600906686.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mechielvanvalen_1-1656600927062.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1086250iA69029A54C63BB02/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mechielvanvalen_1-1656600927062.png" alt="mechielvanvalen_1-1656600927062.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that you can add this text in a iLogic rule:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Material1&lt;/SPAN&gt; = &lt;SPAN&gt;InputListBox&lt;/SPAN&gt;(&lt;SPAN&gt;"Prompt"&lt;/SPAN&gt;, &lt;SPAN&gt;MultiValue&lt;/SPAN&gt;.&lt;SPAN&gt;List&lt;/SPAN&gt;(&lt;SPAN&gt;"Material"&lt;/SPAN&gt;), &lt;SPAN&gt;"Test"&lt;/SPAN&gt;, &lt;SPAN&gt;Title&lt;/SPAN&gt; := &lt;SPAN&gt;"Title"&lt;/SPAN&gt;, &lt;SPAN&gt;ListName&lt;/SPAN&gt; := &lt;SPAN&gt;"List"&lt;/SPAN&gt;)

&lt;SPAN&gt;SheetMetal&lt;/SPAN&gt;.&lt;SPAN&gt;SetActiveStyle&lt;/SPAN&gt;(&lt;SPAN&gt;Material1&lt;/SPAN&gt;)

&lt;SPAN&gt;InventorVb&lt;/SPAN&gt;.&lt;SPAN&gt;UpdateWhenDone&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 14:56:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-to-change-sheet-metal-rule-for-selected-component/m-p/11269433#M139882</guid>
      <dc:creator>mechielvanvalen</dc:creator>
      <dc:date>2022-06-30T14:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: I logic to change sheet metal rule for selected component</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-to-change-sheet-metal-rule-for-selected-component/m-p/11270574#M139895</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply.&lt;/P&gt;&lt;P&gt;That should work when we create the new sheet metal.&lt;/P&gt;&lt;P&gt;What am looking for is the i logic for old part sheet metal.&lt;/P&gt;&lt;P&gt;So I just want to change the sheet metal rule on the existing part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rgds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rgd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 02:28:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/i-logic-to-change-sheet-metal-rule-for-selected-component/m-p/11270574#M139895</guid>
      <dc:creator>didin.suryadi6JREK</dc:creator>
      <dc:date>2022-07-01T02:28:20Z</dc:date>
    </item>
  </channel>
</rss>

