<?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: Custom Ribbon Panel Tab order in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6476603#M63978</link>
    <description>&lt;P&gt;Ok, AdWindows.dll is the library that implements the framework for the following Autodesk UI features:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ribbon classes&lt;/LI&gt;
&lt;LI&gt;Autodesk controls&lt;/LI&gt;
&lt;LI&gt;Tooltips&lt;/LI&gt;
&lt;LI&gt;Menu browser&lt;/LI&gt;
&lt;LI&gt;Task dialog, etc.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I guess you can save the order of your Panels to an XML file (e.g. app.config) in the OnShutdown method of your External Application then use the same file to build the Panels again with the same order by reading it from the XML file in the OnStartup Method.&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2016 19:09:30 GMT</pubDate>
    <dc:creator>Mustafa.Salaheldin</dc:creator>
    <dc:date>2016-08-03T19:09:30Z</dc:date>
    <item>
      <title>Custom Ribbon Panel Tab order</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6453618#M63974</link>
      <description>&lt;P&gt;Addins with ribbon panel tabs know to create particular custom ribbon panels if they do not exist and then add themselves to that panel or just add themselves to the existing particular custom ribbon panels. The alphabetical order for the *.addin manifest files determines the order the panel tabs show up in the custom ribbon panel. I assume this happens because Revit gets an addin directory file list in alphabetical order and then attempts to process them in that order. &amp;nbsp;The user can of course reorder the tabs in the panel, but that order is not retained. Revit builds that custom ribbon panel for every new Revit instance. Is there a simple way to order tabs in a ribbon other than employing a Rube Goldberg scheme that manages tab order by adding "XX-" number filename prefixes to the *.addin manifest filenames?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 02:53:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6453618#M63974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-07-22T02:53:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Ribbon Panel Tab order</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6453631#M63975</link>
      <description>&lt;P&gt;Try to use the " &lt;SPAN class="fontstyle0"&gt;AdWindow.dll", I didn't try this for reordering tabs, but you have the chance to. &lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Let us know if this helps&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Jul 2016 03:21:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6453631#M63975</guid>
      <dc:creator>Mustafa.Salaheldin</dc:creator>
      <dc:date>2016-07-22T03:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Ribbon Panel Tab order</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6475687#M63976</link>
      <description>&lt;P&gt;Thanks for the tip Mustafa. I browsed a bit through what I assume were the Adwindow.dll objects and I found some tantalizing methods but I was unable to figure out how to use them. I am also not sure Adwindow.dll exists in the Revit realm as for dedicated Revit use or as a bit of original AutoCAD stuff that has aspects that can be used in Revit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As it seems to turn out with more thinking about the goal, the ability to control the panel order within the tab is only the first critical aspect to at least a three part problem. The second problem part is devising the scheme where an add-in panel knows where it is supposed to sit in relation to the other panels in the tab that may or may not exist at the time the add-in loads. The third, and ultimate goal, is devising the scheme to reorder all the panels to be in the order that the user last left them before they were destroyed when the last Revit session is closed. Some ideas come to hand. How these other parts would be implemented is going to the way back burner for now. Perhaps Autodesk might add this function in the future.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 14:21:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6475687#M63976</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-03T14:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Ribbon Panel Tab order</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6475728#M63977</link>
      <description>have you looked at this post in the Building Coder?&lt;BR /&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2011/02/pimp-my-autocad-or-revit-ribbon.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2011/02/pimp-my-autocad-or-revit-ribbon.html&lt;/A&gt;&lt;BR /&gt;looks like Adwindow can be used in Revit (at least in the ways shown in the post if not more)</description>
      <pubDate>Wed, 03 Aug 2016 14:35:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6475728#M63977</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-03T14:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Ribbon Panel Tab order</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6476603#M63978</link>
      <description>&lt;P&gt;Ok, AdWindows.dll is the library that implements the framework for the following Autodesk UI features:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ribbon classes&lt;/LI&gt;
&lt;LI&gt;Autodesk controls&lt;/LI&gt;
&lt;LI&gt;Tooltips&lt;/LI&gt;
&lt;LI&gt;Menu browser&lt;/LI&gt;
&lt;LI&gt;Task dialog, etc.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I guess you can save the order of your Panels to an XML file (e.g. app.config) in the OnShutdown method of your External Application then use the same file to build the Panels again with the same order by reading it from the XML file in the OnStartup Method.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 19:09:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/6476603#M63978</guid>
      <dc:creator>Mustafa.Salaheldin</dc:creator>
      <dc:date>2016-08-03T19:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Ribbon Panel Tab order</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/11650523#M63979</link>
      <description>&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would AdWindows still be the approach for setting ribbon tab order with Revit 2019 and newer versions? Or is there some new API functionality that should be used instead?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely;&lt;/P&gt;&lt;P&gt;Michelle&lt;/P&gt;</description>
      <pubDate>Sun, 01 Jan 2023 03:51:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/custom-ribbon-panel-tab-order/m-p/11650523#M63979</guid>
      <dc:creator>michellem</dc:creator>
      <dc:date>2023-01-01T03:51:49Z</dc:date>
    </item>
  </channel>
</rss>

