<?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 Ribbon Panel Caption Button in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9353244#M36246</link>
    <description>&lt;P&gt;Is it possible to create a caption button on a custom ribbon panel? The caption button is the little arrow in the corner that usually opens a settings dialog related to the commands on the panel. I don't see any way to do it through the API.&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="Caption.png" style="width: 294px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/736319i136F41A3D82AD59A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Caption.png" alt="Caption.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Mar 2020 17:24:11 GMT</pubDate>
    <dc:creator>Zoltan.Ferenczy</dc:creator>
    <dc:date>2020-03-02T17:24:11Z</dc:date>
    <item>
      <title>Ribbon Panel Caption Button</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9353244#M36246</link>
      <description>&lt;P&gt;Is it possible to create a caption button on a custom ribbon panel? The caption button is the little arrow in the corner that usually opens a settings dialog related to the commands on the panel. I don't see any way to do it through the API.&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="Caption.png" style="width: 294px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/736319i136F41A3D82AD59A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Caption.png" alt="Caption.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Mar 2020 17:24:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9353244#M36246</guid>
      <dc:creator>Zoltan.Ferenczy</dc:creator>
      <dc:date>2020-03-02T17:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon Panel Caption Button</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9354199#M36247</link>
      <description>&lt;P&gt;You can make use of some APIs defined in AdWindows.dll which you can easily find in Revit root folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Everything starts from getting the RibbonControl instance by calling Autodesk.Revit.Windows.ComponentManager.Ribbon property.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to create the RibbonTab and RibbonPanel in AdWindows way, then organize then in the RibbonControl instance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When the RibbonPanel is created, you can set a RibbonButton to RibbonPanel.Source.DialogLauncher property to create the caption button. The RibbonButton will respond to UI click event by calling its CommandHandler command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That's it!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 01:17:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9354199#M36247</guid>
      <dc:creator>Kennan.Chen</dc:creator>
      <dc:date>2020-03-03T01:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon Panel Caption Button</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9356160#M36248</link>
      <description>&lt;P&gt;In The CommandHandler of buttons created using the AdWindows API, how does one get access to the&amp;nbsp;ExternalCommandData in the ICommnand implementation? Or, How does one call an&amp;nbsp;IExternalCommand's Execute method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Buttons created in this way are not like buttons created with the Autodesk.Revit.UI classes.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Mar 2020 18:56:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9356160#M36248</guid>
      <dc:creator>Zoltan.Ferenczy</dc:creator>
      <dc:date>2020-03-03T18:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon Panel Caption Button</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9356630#M36249</link>
      <description>&lt;P&gt;Simply pass the Application object via constructor&lt;/P&gt;</description>
      <pubDate>Wed, 04 Mar 2020 00:06:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9356630#M36249</guid>
      <dc:creator>Kennan.Chen</dc:creator>
      <dc:date>2020-03-04T00:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon Panel Caption Button</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9360185#M36250</link>
      <description>&lt;P&gt;If you create a RibbonButton in AdWindows way(WPF way more specifically), you gain much more freedom to manipulate the Button. A RibbonButton provides a CommandHandler property. You can assign an instance implementing ICommand interface to that property, which will enable the RibbonButton to react to the UI click event. In that ICommand implementation, you can raise a predefinded ExternalEvent to run Revit API code. Alternatively you can adopt Revit.Async library to run Revit API directly. You can access this library on nuget or source code on github.com.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 11:47:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/9360185#M36250</guid>
      <dc:creator>Kennan.Chen</dc:creator>
      <dc:date>2020-03-05T11:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon Panel Caption Button</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/13395541#M36251</link>
      <description>&lt;P&gt;Hello ! Can you give me a sample code?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 06:48:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/13395541#M36251</guid>
      <dc:creator>PYTHINKS</dc:creator>
      <dc:date>2025-03-28T06:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon Panel Caption Button</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/13396292#M36252</link>
      <description>&lt;P&gt;I add that in my &lt;A href="https://github.com/ricaun-io/ricaun.Revit.UI/" target="_blank" rel="noopener"&gt;ricaun.Revit.UI&lt;/A&gt; library:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Autodesk.Revit.UI.PushButton pushButton;
ribbonPanel.SetDialogLauncher(pushButton);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is video about that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FjhFynSu2yHc%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DjhFynSu2yHc&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FjhFynSu2yHc%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="112" scrolling="no" title="Create DialogLaucher - Revit API" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See yaa&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Mar 2025 13:57:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/13396292#M36252</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2025-03-28T13:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Ribbon Panel Caption Button</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/13398853#M36253</link>
      <description>&lt;P&gt;Thanks Ricaun, it helped me&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 01:21:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/ribbon-panel-caption-button/m-p/13398853#M36253</guid>
      <dc:creator>PYTHINKS</dc:creator>
      <dc:date>2025-03-31T01:21:24Z</dc:date>
    </item>
  </channel>
</rss>

