<?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: Get Ribbon Button state (pressed or not) in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/get-ribbon-button-state-pressed-or-not/m-p/13888779#M178013</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/572109"&gt;@Maxim-CADman77&lt;/a&gt;.&amp;nbsp; The one thing that comes to mind are the settings on the 'Modeling' tab of the 'Document Settings' of the assembly, within the 'Interactive Contact' area.&amp;nbsp; Those can be reached through &lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=AssemblyDocument_ModelingSettings" target="_blank" rel="noopener"&gt;AssemblyDocument.ModelingSettings&lt;/A&gt; property, then the two API properties are at&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=ModelingSettings_InteractiveContactAnalysis" target="_blank" rel="noopener"&gt;ModelingSettings.InteractiveContactAnalysis&lt;/A&gt;&amp;nbsp;(uses a variation of the &lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=InteractiveContactAnalysisEnum" target="_blank" rel="noopener"&gt;InteractiveContactAnalysisEnum&lt;/A&gt;) and&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=ModelingSettings_InteractiveContactSurfaces" target="_blank" rel="noopener"&gt;ModelingSettings.InteractiveContactSurfaces&lt;/A&gt;&amp;nbsp;(uses a variation of the &lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=InteractiveContactSurfacesEnum" target="_blank" rel="noopener"&gt;InteractiveContactSurfacesEnum&lt;/A&gt;).&amp;nbsp; When we first open a regular assembly that has not been using this resource, and look at its 'analysis' property, it will be set to the '&lt;SPAN&gt;kSolverOffInteractiveContact' variation.&amp;nbsp; Then when we click on the 'Activate Contact Solver' button in the ribbon, its value changes to the 'kContactSetOnlyInteractiveContact' variation...at least for me.&amp;nbsp; Maybe that could be used as the indicator for if this mode is active or not.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Nov 2025 15:41:52 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2025-11-10T15:41:52Z</dc:date>
    <item>
      <title>Get Ribbon Button state (pressed or not)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/get-ribbon-button-state-pressed-or-not/m-p/13887000#M177993</link>
      <description>&lt;P&gt;I'd like to know if there a way to get (read) a state of Ribbon Button (pressed or not) for example sate of "Activate Contact Solver" (Assembly - Inspect - Interference).&lt;BR /&gt;&lt;BR /&gt;BTW, is there any smarter way to toggle its state except using Command Manager like&lt;/P&gt;&lt;LI-CODE lang="visual"&gt;ThisApplication.CommandManager.ControlDefinitions("AssemblyContactSolverCmd").Execute&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Nov 2025 21:46:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/get-ribbon-button-state-pressed-or-not/m-p/13887000#M177993</guid>
      <dc:creator>Maxim-CADman77</dc:creator>
      <dc:date>2025-11-08T21:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Get Ribbon Button state (pressed or not)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/get-ribbon-button-state-pressed-or-not/m-p/13888779#M178013</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/572109"&gt;@Maxim-CADman77&lt;/a&gt;.&amp;nbsp; The one thing that comes to mind are the settings on the 'Modeling' tab of the 'Document Settings' of the assembly, within the 'Interactive Contact' area.&amp;nbsp; Those can be reached through &lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=AssemblyDocument_ModelingSettings" target="_blank" rel="noopener"&gt;AssemblyDocument.ModelingSettings&lt;/A&gt; property, then the two API properties are at&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=ModelingSettings_InteractiveContactAnalysis" target="_blank" rel="noopener"&gt;ModelingSettings.InteractiveContactAnalysis&lt;/A&gt;&amp;nbsp;(uses a variation of the &lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=InteractiveContactAnalysisEnum" target="_blank" rel="noopener"&gt;InteractiveContactAnalysisEnum&lt;/A&gt;) and&amp;nbsp;&lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=ModelingSettings_InteractiveContactSurfaces" target="_blank" rel="noopener"&gt;ModelingSettings.InteractiveContactSurfaces&lt;/A&gt;&amp;nbsp;(uses a variation of the &lt;A href="https://help.autodesk.com/view/INVNTOR/2026/ENU/?guid=InteractiveContactSurfacesEnum" target="_blank" rel="noopener"&gt;InteractiveContactSurfacesEnum&lt;/A&gt;).&amp;nbsp; When we first open a regular assembly that has not been using this resource, and look at its 'analysis' property, it will be set to the '&lt;SPAN&gt;kSolverOffInteractiveContact' variation.&amp;nbsp; Then when we click on the 'Activate Contact Solver' button in the ribbon, its value changes to the 'kContactSetOnlyInteractiveContact' variation...at least for me.&amp;nbsp; Maybe that could be used as the indicator for if this mode is active or not.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Nov 2025 15:41:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/get-ribbon-button-state-pressed-or-not/m-p/13888779#M178013</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2025-11-10T15:41:52Z</dc:date>
    </item>
  </channel>
</rss>

