<?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 Always show the same button on SplitButton in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/always-show-the-same-button-on-splitbutton/m-p/9200837#M37923</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created some buttons and placed them inside a SplitButton.&lt;/P&gt;&lt;P&gt;The problem I have is that I want have the same effect that Revit has in thier buttons.&lt;/P&gt;&lt;P&gt;I want to show the same button always even if I choose one below in a SplitButton.&lt;/P&gt;&lt;P&gt;When I choose a button below in mySplitButton that always will be the new default that shows on the SplitButton.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rikard&lt;/P&gt;</description>
    <pubDate>Fri, 13 Dec 2019 12:21:32 GMT</pubDate>
    <dc:creator>rikard.nilsson</dc:creator>
    <dc:date>2019-12-13T12:21:32Z</dc:date>
    <item>
      <title>Always show the same button on SplitButton</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/always-show-the-same-button-on-splitbutton/m-p/9200837#M37923</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created some buttons and placed them inside a SplitButton.&lt;/P&gt;&lt;P&gt;The problem I have is that I want have the same effect that Revit has in thier buttons.&lt;/P&gt;&lt;P&gt;I want to show the same button always even if I choose one below in a SplitButton.&lt;/P&gt;&lt;P&gt;When I choose a button below in mySplitButton that always will be the new default that shows on the SplitButton.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rikard&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 12:21:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/always-show-the-same-button-on-splitbutton/m-p/9200837#M37923</guid>
      <dc:creator>rikard.nilsson</dc:creator>
      <dc:date>2019-12-13T12:21:32Z</dc:date>
    </item>
    <item>
      <title>Re: Always show the same button on SplitButton</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/always-show-the-same-button-on-splitbutton/m-p/9202323#M37924</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Rikard,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for your nice query.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Yes. That is in fact very easy to achieve.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I show you how in my HoloLens Escape Path Waypoint JSON Exporter:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2016/09/hololens-escape-path-waypoint-json-exporter.html" target="_blank" rel="noopener"&gt;https://thebuildingcoder.typepad.com/blog/2016/09/hololens-escape-path-waypoint-json-exporter.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The add-in displays the following ribbon panel:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ExportWaypointsJson ribbon panel" style="width: 378px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/707990iACD2880896223DCC/image-size/large?v=v2&amp;amp;px=999" role="button" title="hololens_exit_path_ribbon_panel.png" alt="ExportWaypointsJson ribbon panel" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ExportWaypointsJson ribbon panel&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can either click the main button, which is always displayed at the top as the current option, to trigger the main command, or drop down the rest of the stacked button contents to display the option button:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="ExportWaypointsJson main command and settings buttons" style="width: 139px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/707988i4A58564B3C9BC441/image-size/large?v=v2&amp;amp;px=999" role="button" title="hololens_exit_path_ribbon_buttons.png" alt="ExportWaypointsJson main command and settings buttons" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ExportWaypointsJson main command and settings buttons&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You can grab the entire Visual Studio solution and project from the ExportWaypointsJson GitHub repository:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://github.com/jeremytammik/ExportWaypointsJson" target="_blank" rel="noopener"&gt;https://github.com/jeremytammik/ExportWaypointsJson&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Dec 2019 10:52:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/always-show-the-same-button-on-splitbutton/m-p/9202323#M37924</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-12-14T10:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: Always show the same button on SplitButton</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/always-show-the-same-button-on-splitbutton/m-p/9206967#M37925</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This was my simple solution..&lt;/P&gt;&lt;P&gt;splitButtonClearLoads.IsSynchronizedWithCurrentItem = false;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 13:48:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/always-show-the-same-button-on-splitbutton/m-p/9206967#M37925</guid>
      <dc:creator>rikard.nilsson</dc:creator>
      <dc:date>2019-12-17T13:48:59Z</dc:date>
    </item>
  </channel>
</rss>

