<?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 Update all model state in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/update-all-model-state/m-p/13152235#M173981</link>
    <description>&lt;P&gt;I'm working on an assembly which contains an additional model state "PANEL_SCOPE" and i would like to update it&amp;nbsp; once i update the "Primary" or the opposite (Update "Primary" when i work on "PANEL_SCOPE").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 09:33:36 GMT</pubDate>
    <dc:creator>rbertoletti</dc:creator>
    <dc:date>2024-11-15T09:33:36Z</dc:date>
    <item>
      <title>Update all model state</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/update-all-model-state/m-p/13152235#M173981</link>
      <description>&lt;P&gt;I'm working on an assembly which contains an additional model state "PANEL_SCOPE" and i would like to update it&amp;nbsp; once i update the "Primary" or the opposite (Update "Primary" when i work on "PANEL_SCOPE").&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 09:33:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/update-all-model-state/m-p/13152235#M173981</guid>
      <dc:creator>rbertoletti</dc:creator>
      <dc:date>2024-11-15T09:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: Update all model state</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/update-all-model-state/m-p/13152247#M173982</link>
      <description>&lt;P&gt;HI!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe you can only edit one model state, or all model states, you can't select a few from the bunch to edit.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 09:41:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/update-all-model-state/m-p/13152247#M173982</guid>
      <dc:creator>CCarreiras</dc:creator>
      <dc:date>2024-11-15T09:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Update all model state</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/update-all-model-state/m-p/13152302#M173984</link>
      <description>Yes, i need to update all model states. I've only those 2 in the assembly</description>
      <pubDate>Fri, 15 Nov 2024 10:11:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/update-all-model-state/m-p/13152302#M173984</guid>
      <dc:creator>rbertoletti</dc:creator>
      <dc:date>2024-11-15T10:11:17Z</dc:date>
    </item>
    <item>
      <title>Re: Update all model state</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/update-all-model-state/m-p/13152465#M173989</link>
      <description>&lt;P&gt;Ok, so it's simple,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to edit all the members, you have to activate the Edit factory Mode Scope and have both pencils blue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Manually:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CCarreiras_2-1731670234604.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1434218iCFAEFB5B151DF158/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CCarreiras_2-1731670234604.png" alt="CCarreiras_2-1731670234604.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A code to pass from Member scope to Factory Scope is and vice versa is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;To change the active edit scope to edit member scope, depending on the needs, use:&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE class="ckeditor_codeblock"&gt;ThisDoc.Document.ComponentDefinition.ModelStates.MemberEditScope = MemberEditScopeEnum.kEditActiveMember
&lt;/PRE&gt;
&lt;DIV&gt;or:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE class="ckeditor_codeblock"&gt;oDoc.ComponentDefinition.ModelStates.MemberEditScope = MemberEditScopeEnum.kEditActiveMember
&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;DIV&gt;
&lt;UL&gt;
&lt;LI&gt;To change the active edit scope to edit factory scope, depending on the needs, use:&lt;/LI&gt;
&lt;/UL&gt;
&lt;PRE class="ckeditor_codeblock"&gt;ThisDoc.Document.ComponentDefinition.ModelStates.MemberEditScope = MemberEditScopeEnum.kEditAllMembers
&lt;/PRE&gt;
&lt;DIV&gt;or:&lt;/DIV&gt;
&lt;DIV&gt;
&lt;PRE class="ckeditor_codeblock"&gt;oDoc.ComponentDefinition.ModelStates.MemberEditScope = MemberEditScopeEnum.kEditAllMembers&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 11:36:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/update-all-model-state/m-p/13152465#M173989</guid>
      <dc:creator>CCarreiras</dc:creator>
      <dc:date>2024-11-15T11:36:58Z</dc:date>
    </item>
  </channel>
</rss>

