<?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: iLogic/VBA - enable &amp;quot;Show Constraint State&amp;quot; in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11157013#M137958</link>
    <description>&lt;P&gt;Thanks. Great help &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 09 May 2022 14:50:57 GMT</pubDate>
    <dc:creator>amarcoc</dc:creator>
    <dc:date>2022-05-09T14:50:57Z</dc:date>
    <item>
      <title>iLogic/VBA - enable "Show Constraint State"</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156074#M137926</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to enable "Show Constraint State" option using iLogic or VBA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I couldn't find a way to do it.&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="Screenshot_2.png" style="width: 401px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1064576i6043163F848E2EE7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_2.png" alt="Screenshot_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 07:42:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156074#M137926</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2022-05-09T07:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/VBA - enable "Show Constraint State"</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156771#M137947</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4621185"&gt;@amarcoc&lt;/a&gt;.&amp;nbsp; I'm having a hard time just trying to find the manual way you are showing in your image.&amp;nbsp; What version of Inventor are you using, and what exactly have you right clicked on to get those two menu's to show.&amp;nbsp; I can see that you have a weldment type assembly open, but that's about it.&lt;/P&gt;
&lt;P&gt;I think I may have found the setting that you are referring to within the API though.&amp;nbsp; Is this what you were looking for?&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Dim oADoc As AssemblyDocument = ThisDoc.Document
oADoc.ModelingSettings.ShowConstraintStateInBrowser = True&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN&gt;&lt;STRONG&gt;ACCEPT SOLUTION&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click (LIKE or KUDOS) &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7401B55A0A518861312A0F851CD29320/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;.&lt;/P&gt;
&lt;P&gt;If you want and have time, I would appreciate your Vote(s) for &lt;A href="https://forums.autodesk.com/t5/forums/recentpostspage/post-type/message/interaction-style/idea/user-id/7812054/" target="_blank"&gt;My IDEAS &lt;/A&gt; :bulb: or you can Explore &lt;A href="https://knowledge.autodesk.com/profile/LTSUSR7HXMSAE/articles" target="_blank"&gt;My CONTRIBUTIONS &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 13:31:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156771#M137947</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-05-09T13:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/VBA - enable "Show Constraint State"</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156888#M137953</link>
      <description>&lt;P&gt;Yes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's it (using Inventor 2022). It's this function:&amp;nbsp;&lt;A href="https://knowledge.autodesk.com/support/inventor/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/Inventor-Help/files/GUID-A0573060-3778-4D6F-9431-28587D837CC7-htm.html" target="_blank" rel="noopener"&gt;https://knowledge.autodesk.com/support/inventor/learn-explore/caas/CloudHelp/cloudhelp/2022/ENU/Inventor-Help/files/GUID-A0573060-3778-4D6F-9431-28587D837CC7-htm.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How did you find it on API? How could I have found it myself? &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just added the code to update the document after enabling it, since it's required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oADoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;oADoc&lt;/SPAN&gt;.&lt;SPAN&gt;ModelingSettings&lt;/SPAN&gt;.&lt;SPAN&gt;ShowConstraintStateInBrowser&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
&lt;SPAN&gt;InventorVb&lt;/SPAN&gt;.&lt;SPAN&gt;DocumentUpdate&lt;/SPAN&gt;()&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 14:07:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156888#M137953</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2022-05-09T14:07:41Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/VBA - enable "Show Constraint State"</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156930#M137954</link>
      <description>&lt;P&gt;It looked slightly familiar, but I couldn't recall where I was a setting like that before, so I started checking the 'usual suspects' (Application Options - Assembly tab &amp;amp; Display tab ; Document Settings).&amp;nbsp; After opening one of my assemblies, and checking the Document Settings (Tools tab &amp;gt; Options panel &amp;gt; Document Settings), I saw that setting on the 'Modeling' tab.&amp;nbsp; (Luckily I am also still using Inventor 2022.2.2.)&amp;nbsp; That gave me the clue I needed to find it within the API, because I already have some rules for setting up document settings the way I want them.&amp;nbsp; Since this is a new setting for 2022, and frankly was not that important to me, I had not altered my code to include it yet, but knew where to find it.&amp;nbsp; Most of the settings within the application options and document settings can be accessed by code now, but not all.&amp;nbsp; Glad I was able to help.&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 14:21:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156930#M137954</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-05-09T14:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/VBA - enable "Show Constraint State"</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156956#M137957</link>
      <description>&lt;P&gt;Even after seeing your response post and the link, it still took me a bit to figure out where that little menu was being displayed from.&amp;nbsp; I had looked on the Assemble tab, Tools tab, Manage tab, View tab, Object Visibility tool and User Interface tool on the View tab...had right clicked on just about everything I could think of in the model browser, and still had not seen that menu available.&amp;nbsp; Then I finally clicked the little three bar symbol to the right of the Model * iLogic tabs of the model browser, and finally found it.&amp;nbsp; Whew.&amp;nbsp; It's always in the last place you check. &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@1E018E9C237C1988568EE667885B902C/emoticons/1f601.png" alt=":beaming_face_with_smiling_eyes:" title=":beaming_face_with_smiling_eyes:" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 14:30:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11156956#M137957</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-05-09T14:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic/VBA - enable "Show Constraint State"</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11157013#M137958</link>
      <description>&lt;P&gt;Thanks. Great help &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 14:50:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-vba-enable-quot-show-constraint-state-quot/m-p/11157013#M137958</guid>
      <dc:creator>amarcoc</dc:creator>
      <dc:date>2022-05-09T14:50:57Z</dc:date>
    </item>
  </channel>
</rss>

