<?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: Create button to toggle a CUI parameter in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13440933#M1261</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;&amp;nbsp;Per the solutions provided in the link, changing the parameter fixes the issue. But only until it randomly is resurrected again. So, changing it is all I need it to do to save me from either closing Autocad and rebooting, or digging around in the CUI menu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the MTEXT toolbar is already on. Unfortunately, that's my next grievance. It often pops up right in the way of other text I need for context. Editing a cell in a table? The toolbar pops up and obscures all of the column headings, so with distractions, I forget what data I'm inputting. Some of us just have that luck; I've just learned to live with it. But the thread subject should be an easy fix, if only I knew how to access that parameter from the command line.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Apr 2025 19:02:59 GMT</pubDate>
    <dc:creator>dsummersPEG</dc:creator>
    <dc:date>2025-04-23T19:02:59Z</dc:date>
    <item>
      <title>Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13437646#M1255</link>
      <description>&lt;P&gt;I have grown tired of this Autocad bug linked below, and the subsequent multiple steps to fix it. I am looking to create a button shortcut or something to toggle this parameter set in the CUI, but am not sure where to begin. I tried recording a macro (Action Recorder), but it only opens the CUI without executing any of my other actions. Can someone tell me how to modify a parameter set via the CUI editor, using commandlines, instead of the CUI editor?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What my button should accomplish:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;In the CUI, Select the Ribbon -&amp;gt; Tabs. &amp;nbsp;Expand the Text Editor Contextual Tab. &amp;nbsp;Then select the Multiline Text Editor - Style row. Under the properties panel, toggle between "Collapse as needed" and "Collapse last".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Software bug (which would take Autodesk less time to fix than it's taking me to create a workaround):&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/autocad-forum/autocad-2017-mtext-ribbon-gets-big/td-p/6866147" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/autocad-forum/autocad-2017-mtext-ribbon-gets-big/td-p/6866147&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 15:44:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13437646#M1255</guid>
      <dc:creator>dsummersPEG</dc:creator>
      <dc:date>2025-04-22T15:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13437937#M1256</link>
      <description>&lt;P&gt;The tricky part about that would be finding the Command/Variable name(s) to write the macro...unfortunately not everything that exists in Dialogue boxes seems to have a corresponding Command Line name...I poked around a bit in the CUI and nothing jumped out...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe a solution might be found by jogging the system in another way...long shot I suppose but free to try...&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;$M=$(if,$(and,$(&amp;gt;,$(getvar,ribbonstate),0)),^C^C_ribbonclose,^C^C_ribbon)&lt;/P&gt;&lt;P&gt;Will toggle the Ribbon off and on...maybe try a Regen when it is off?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;$M=$(if,$(and,$(getvar,CleanScreenState),1),^C^C_CleanScreenOFF,^C^C_CleanScreenON)&lt;/P&gt;&lt;P&gt;Will toggle cleanscreen...&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 18:52:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13437937#M1256</guid>
      <dc:creator>jskalaXDDX5</dc:creator>
      <dc:date>2025-04-22T18:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13438010#M1257</link>
      <description>&lt;P&gt;And if you change that element to a drop-down look (here called ComboBox for some reason), does it still suffer that issue?&lt;/P&gt;
&lt;P&gt;I can't tell, never experienced that.&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="eekeeCZ_1-1745350478723.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1491896i3EAB16C6DF8CF188/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eekeeCZ_1-1745350478723.png" alt="eekeeCZ_1-1745350478723.png" /&gt;&lt;/span&gt;&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>Tue, 22 Apr 2025 19:36:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13438010#M1257</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2025-04-22T19:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13438140#M1258</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6502389"&gt;@dsummersPEG&lt;/a&gt;&amp;nbsp;Can you explain the need for this to be &lt;U&gt;&lt;EM&gt;a toggle&lt;/EM&gt; option&lt;/U&gt; please? What's the workflow that needs these as instant (well, action recoder is not but...) options?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Why not turn on the MTEXT TOOLBAR instead? Go old-school, no toggling needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Apr 2025 21:49:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13438140#M1258</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2025-04-22T21:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13440817#M1259</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/14686442"&gt;@jskalaXDDX5&lt;/a&gt;&amp;nbsp;The solution of toggling the "Resize style" seems to be the most reliable, which is why I've chosen that to make a quick button to single-click and return to normal. Otherwise, a full exit and reboot is required. I've already got shortcuts to regen, audit, xref reload, and even toggle hardware accel off and back on, but none of those help. I appreciate the long shots. I'm just not sure if it's possible to access that parameter through the command line; I figured it was a long-shot, but I'd ask anyways.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 17:57:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13440817#M1259</guid>
      <dc:creator>dsummersPEG</dc:creator>
      <dc:date>2025-04-23T17:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13440915#M1260</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;I'm not sure how to access that in the CUI. Could you provide a bigger screenshot, or a trail / some breadcrumbs to get there?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 18:48:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13440915#M1260</guid>
      <dc:creator>dsummersPEG</dc:creator>
      <dc:date>2025-04-23T18:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13440933#M1261</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/37212"&gt;@pendean&lt;/a&gt;&amp;nbsp;Per the solutions provided in the link, changing the parameter fixes the issue. But only until it randomly is resurrected again. So, changing it is all I need it to do to save me from either closing Autocad and rebooting, or digging around in the CUI menu.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, the MTEXT toolbar is already on. Unfortunately, that's my next grievance. It often pops up right in the way of other text I need for context. Editing a cell in a table? The toolbar pops up and obscures all of the column headings, so with distractions, I forget what data I'm inputting. Some of us just have that luck; I've just learned to live with it. But the thread subject should be an easy fix, if only I knew how to access that parameter from the command line.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Apr 2025 19:02:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13440933#M1261</guid>
      <dc:creator>dsummersPEG</dc:creator>
      <dc:date>2025-04-23T19:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13442231#M1262</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6502389"&gt;@dsummersPEG&lt;/a&gt;&amp;nbsp;Not sure I quite understand your toggling need, sorry. On a high-level, you may not have tested using different workspaces instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MTEXTTOOLBAR is what it is, you can't edit that ever, and honestly it never needs to be on if you also use the Ribbon as you seem to be: do you need such duplication? Is this a fear of missing something perhaps? Mine is turned off 100% of the time, I've adapted to shortcut keys, right-clicking and highlighting for the majority of my MTEXT editing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI, Action Recorder is limited, bordering on useless for power-users, looks like you are about to (if not already) cross that threshold from noob to power-user. A good time to automate with other methods.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best wishes.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 19:21:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13442231#M1262</guid>
      <dc:creator>pendean</dc:creator>
      <dc:date>2025-04-24T19:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13442308#M1263</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6502389"&gt;@dsummersPEG&lt;/a&gt;&amp;nbsp;wrote:
&lt;P class="1745500851580"&gt;&lt;SPAN&gt;I'm not sure how to access that in the CUI...&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Navigate in CUI&lt;/P&gt;
&lt;P&gt;Ribbon/Panels/Multiline Text Editor Style/Row 1/TextStyle... then in the lower right corner, change DisplayMode.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then it looks like this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="eekeeCZ_0-1745500580457.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1492577i5580EC06778B8CEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="eekeeCZ_0-1745500580457.png" alt="eekeeCZ_0-1745500580457.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 13:18:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13442308#M1263</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2025-04-24T13:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Create button to toggle a CUI parameter</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13442490#M1264</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jskalaXDDX5_0-1745505929860.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1492628iA03415DC26A6E0A3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jskalaXDDX5_0-1745505929860.png" alt="jskalaXDDX5_0-1745505929860.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Everything in LT anyway that Setvar&amp;nbsp; "Ribbon"...Will RIBBONDOCKEDHEIGHT restore?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 14:52:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/create-button-to-toggle-a-cui-parameter/m-p/13442490#M1264</guid>
      <dc:creator>jskalaXDDX5</dc:creator>
      <dc:date>2025-04-24T14:52:36Z</dc:date>
    </item>
  </channel>
</rss>

