<?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: Reload/refresh my added toolbar with External Command in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10099409#M28485</link>
    <description>&lt;P&gt;The Execute method has to return a Result enum value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
        {
            //Do something here
            
            //message = "Operation failed, do ..."; // optionally set the byref message if return will be Cancelled or Failed, it then shows the standard failed/cancelled box of Revit.
            return Result.Succeeded; // Return enum
                        
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A title="IExternalCommand Interface" href="https://www.revitapidocs.com/2020/ad99887e-db50-bf8f-e4e6-2fb86082b5fb.htm" target="_blank" rel="noopener"&gt;IExternalCommand Interface&lt;/A&gt;&amp;nbsp; and&amp;nbsp;&lt;A title="Execute Method" href="https://www.revitapidocs.com/2020/ab42c8d3-d361-88d2-5043-2d427d1238fc.htm" target="_blank" rel="noopener"&gt;Execute Method&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Feb 2021 08:32:21 GMT</pubDate>
    <dc:creator>TripleM-Dev.net</dc:creator>
    <dc:date>2021-02-21T08:32:21Z</dc:date>
    <item>
      <title>Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10058156#M28478</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been trying to Reload/refresh my added toolbar with External Command with the code in this thread;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/change-ribbonitem-button-properties-at-runtime/td-p/8207636" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/change-ribbonitem-button-properties-at-runtime/td-p/8207636&lt;/A&gt;&lt;/P&gt;&lt;P&gt;but, so far, I have not been able. Has anyboady found a simple way of updating the buttons when a button is clicked or get the code in the thread working?&lt;/P&gt;&lt;P&gt;It would be really helpful.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 18:47:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10058156#M28478</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-02-04T18:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10058268#M28479</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What exactly are you trying to do?&lt;/P&gt;&lt;P&gt;Changing the button image?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Michel&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 19:22:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10058268#M28479</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-02-04T19:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10058424#M28480</link>
      <description>&lt;P&gt;Yes, I am trying to change the button image and text when clicking on ExternalCommand, but the UI does not do anything.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:11:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10058424#M28480</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-02-04T20:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10058468#M28481</link>
      <description>&lt;P&gt;In the thread of the link you mentioned is the code below, this looks solid.&lt;/P&gt;&lt;P&gt;You will need to replace the Tab id with the one you used and also Source Panel Id, and for the specific button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you find the correct Button?&lt;/P&gt;&lt;P&gt;Do you have you're own Tab?, then loop all panels and buttons and list their Id's&lt;/P&gt;&lt;P&gt;They follow a distinct pattern, from which you can retrieve the Id you set for the SourcePanel and/or button.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Once you retrieve the correct RibbonItem you can alter the ItemText, ToolTip, LargeImage and more properties.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;// using adwin  = Autodesk.Windows;
		public void Test()
		{
			Document doc = this.ActiveUIDocument.Document;
			adwin.RibbonControl ribbon = adwin.ComponentManager.Ribbon;
			adwin.RibbonTab my_tab = null;
			adwin.RibbonPanel my_panel = null;
			adwin.RibbonButton my_button = null;
			foreach (var tab in ribbon.Tabs)
			{
				if (tab.Id == "Add-Ins")
				{
					my_tab = tab;
					break;
				}
			}
			if (my_tab==null) 	return;
			foreach(var panel in my_tab.Panels)
			{
				if(panel.Source.Id == "CustomCtrl_%Add-Ins%KCAP")
				{
					my_panel = panel;
					break;
				}
			}
			if( my_panel==null)	return;
			foreach(var item in my_panel.Source.Items)
			{
				if (item.Id.Contains("Fa_mirror"))
				{
					my_button = item as adwin.RibbonButton;
					break;
				}
			}
			if (my_button == null) return;
			string filepath = Path.Combine(@"K:\","ArkUser","basis.ico");
			my_button.LargeImage = new System.Windows.Media.Imaging.BitmapImage(new Uri(filepath, UriKind.Absolute));
			
		}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2021 20:28:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10058468#M28481</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-02-04T20:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10062395#M28482</link>
      <description>&lt;P&gt;Thank you very much! How can I loop my own tab and buttons within the ExternalCommand to use them later? Sorry for my inexperience...&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 07:27:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10062395#M28482</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-02-06T07:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10062412#M28483</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example is quite clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Document doc = this.ActiveUIDocument.Document;
adwin.RibbonControl ribbon = adwin.ComponentManager.Ribbon;&lt;/LI-CODE&gt;&lt;P&gt;Is above the issue?&lt;/P&gt;&lt;P&gt;doc call can be removed, this isn't used in the sample&lt;/P&gt;&lt;P&gt;for retrieving the ribbon itself, see below for the full call:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Autodesk.Windows.RibbonControl ribbon = Autodesk.Windows.ComponentManager.Ribbon;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Get the Ribbon itself, see above.&lt;/P&gt;&lt;P&gt;2. Loop all Tabs until the one is found that you use, see foreach loop for ribbon.Tabs&lt;/P&gt;&lt;P&gt;3. If Tab found, loop all Panels until the panel is found you created, see foreach loop on my_tab.Panels&lt;/P&gt;&lt;P&gt;4. If panel is found loop all items (buttons) on the panel, by inspecting it's source panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;and again see loop: my_panel.Source.Items&lt;/P&gt;&lt;P&gt;5. If you're button is found then change it's image, text etc...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now If you don't know on which panel the button is, then evaluate all panels of step 3. and call step 4 for each panel and list all items found. (panel.Source.Items &amp;lt;= loop all items and list their id's + Title.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the Ribbon sample in the Revit API SDK's (&lt;A title="About the Revit SDK" href="https://knowledge.autodesk.com/support/revit-products/learn-explore/caas/CloudHelp/cloudhelp/2021/ENU/Revit-Customize/files/GUID-D7E8694D-7DB3-41CA-A0F3-AF64DC2DA015-htm.html?_ga=2.233791450.535688158.1611944951-1386188929.1610905019" target="_blank" rel="noopener"&gt;About the Revit SDK&lt;/A&gt;&amp;nbsp;) for complete commands.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Feb 2021 07:55:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10062412#M28483</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-02-06T07:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10098535#M28484</link>
      <description>&lt;P&gt;Thank you very much. Apologies for the late response, my laptop shut down forever after 9 years :S , but I am now back.&lt;/P&gt;&lt;P&gt;I have been working trying to implement this code at the end of an ExternalCommand, so when a button is pushed, it first opens a file dialog to select a file and then update the UI (icon and button title).&lt;/P&gt;&lt;P&gt;So my externalcommand starts;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;using System;
using Autodesk.Revit.DB;
using Autodesk.Revit.UI;
using Autodesk.Revit.Attributes;
using System.IO;
using W = System.Windows.Forms;
using adwin = Autodesk.Windows;

namespace Nonica.PNGselection
{
[Transaction(TransactionMode.Manual)]
[Regeneration(RegenerationOption.Manual)]



public class PngS1 : IExternalCommand
{

public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{

using (W.OpenFileDialog dlg = new W.OpenFileDialog())
{ ....

}

.........

AND....

adwin.RibbonControl ribbon = adwin.ComponentManager.Ribbon;
adwin.RibbonTab my_tab = null;
adwin.RibbonPanel my_panel = null;
adwin.RibbonButton my_button = null;
foreach (var tab in ribbon.Tabs)
{
if (tab.Id == "Add-Ins")
{
my_tab = tab;
break;
}
}
if (my_tab == null) return;
foreach (var panel in my_tab.Panels)
{
if (panel.Source.Id == "CustomCtrl_%Add-Ins%KCAP")
{
my_panel = panel;
break;
}
}
if (my_panel == null) return;
foreach (var item in my_panel.Source.Items)
{
if (item.Id.Contains("Fa_mirror"))
{
my_button = item as adwin.RibbonButton;
break;
}
}
if (my_button == null) return;
string filepath = Path.Combine(@"K:\", "ArkUser", "basis.ico");
my_button.LargeImage = new System.Windows.Media.Imaging.BitmapImage(new Uri(filepath, UriKind.Absolute));







}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code brings 3&amp;nbsp; errors with the return statements;&lt;/P&gt;&lt;P&gt;Error CS0126 An object of a type convertible to 'Result' is required Nonica&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I solve this?&lt;/P&gt;&lt;P&gt;I understand that the tab.ID for the following case is tabName, right?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;String tabName = "Nonica";
application.CreateRibbonTab(tabName);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Jaime&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 17:22:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10098535#M28484</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-02-20T17:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10099409#M28485</link>
      <description>&lt;P&gt;The Execute method has to return a Result enum value.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
        {
            //Do something here
            
            //message = "Operation failed, do ..."; // optionally set the byref message if return will be Cancelled or Failed, it then shows the standard failed/cancelled box of Revit.
            return Result.Succeeded; // Return enum
                        
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See:&amp;nbsp;&lt;A title="IExternalCommand Interface" href="https://www.revitapidocs.com/2020/ad99887e-db50-bf8f-e4e6-2fb86082b5fb.htm" target="_blank" rel="noopener"&gt;IExternalCommand Interface&lt;/A&gt;&amp;nbsp; and&amp;nbsp;&lt;A title="Execute Method" href="https://www.revitapidocs.com/2020/ab42c8d3-d361-88d2-5043-2d427d1238fc.htm" target="_blank" rel="noopener"&gt;Execute Method&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Feb 2021 08:32:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10099409#M28485</guid>
      <dc:creator>TripleM-Dev.net</dc:creator>
      <dc:date>2021-02-21T08:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10121515#M28486</link>
      <description>&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;P&gt;I have been trying to switch the name of the button following the explanations of&amp;nbsp;&lt;A href="https://thebuildingcoder.typepad.com/blog/2012/11/roll-your-own-toggle-button.html" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2012/11/roll-your-own-toggle-button.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I set everything up except for the AvailabilityClassName that threw me and error. I am trying to change the name of button0data when another command in another command is run.&amp;nbsp; My issue is the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/887158i1DB563EA7107211A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura.PNG" alt="Captura.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Any idea what is happening? I also tried&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3633270"&gt;@TripleM-Dev.net&lt;/a&gt;&amp;nbsp;solution but other errors came.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 19:16:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10121515#M28486</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-03-01T19:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10121630#M28487</link>
      <description>&lt;P&gt;&amp;nbsp;My other try was setting inside Toggle() the code discussed;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;public void Toggle()
        {

            
            adwin.RibbonControl ribbon = adwin.ComponentManager.Ribbon;
            adwin.RibbonTab my_tab = null;
            adwin.RibbonPanel my_panel = null;
            adwin.RibbonButton my_button = null;
            foreach (var tab in ribbon.Tabs)
            {
                if (tab.Id == "Nonica")
                {
                    my_tab = tab;
                    break;
                }
            }
            if (my_tab == null) return;
            foreach (var panel in my_tab.Panels)
            {
                if (panel.Source.Id == "Nonica")
                {
                    my_panel = panel;
                    break;
                }
            }
            if (my_panel == null) return;
            foreach (var item in my_panel.Source.Items)
            {
                if (item.Id.Contains("ByCategories"))
                {
                    my_button = item as adwin.RibbonButton;
                    break;
                }
            }
            if (my_button == null) return;
            
            my_button.Text = "TEST";
          
            my_button.ToolTip = "TEST";



        }&lt;/LI-CODE&gt;&lt;P&gt;but when pressed on the button and execute&amp;nbsp;App.Instance.Toggle(); the button does nothing; no error but no action either...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 20:01:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10121630#M28487</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-03-01T20:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10125160#M28488</link>
      <description>&lt;P&gt;The code inside the Toggle method should work. Your Id-strings for the panel and button are probably wrong, resulting in an "early" return.&lt;/P&gt;&lt;P&gt;This code&amp;nbsp; lists all Id's to help you find the correct ones.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;//using System.Text;
//StringBuilder sb = new StringBuilder();
    foreach (var tab in ribbon.Tabs)
    {
        sb.AppendLine(string.Format("tab:      {0}", tab.Id));
        foreach (var panel in tab.Panels)
        {
            sb.AppendLine(string.Format("     panel:   {0}", panel.Source.Id));
            foreach (var item in panel.Source.Items)
            {
               if(!string.IsNullOrEmpty(item.Id)) sb.AppendLine(string.Format("         item:   {0}", item.Id));
            }
        }
        sb.AppendLine();
    }
    TaskDialog.Show("debug", sb.ToString());&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 23:34:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10125160#M28488</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2021-03-02T23:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10134910#M28489</link>
      <description>&lt;P&gt;Awesome! Thank you very much. I got the right Ids and worked like a charm with a standard pushbutton. Nonetheless, when I try with a SplitButtonData, no id is provided to buttons within the&amp;nbsp;SplitButtonData and setting the id of that one does not work to change any of them. Any idea on how that could work? I will post it here if I find any solution while researching.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 08:02:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10134910#M28489</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-03-06T08:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10134958#M28490</link>
      <description>&lt;P&gt;I finally got it working by replacing the two adwin.RibbonButton by adwin.RibbonSplitButton and adding at the end;&lt;/P&gt;&lt;P&gt;my_button.Current.Text = "NEW NAME";&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;The issue now is resetting the image. LargeImage property does not reset the image of my splitbutton... Sorry for my inexpertise &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 09:13:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10134958#M28490</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-03-06T09:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Reload/refresh my added toolbar with External Command</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10134995#M28491</link>
      <description>Got it also working, sorry.&lt;BR /&gt;my_button.Current.LargeImage = new BitmapImage(new Uri(@"C:\OtherFiles\System\miimagen.png"));</description>
      <pubDate>Sat, 06 Mar 2021 09:29:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reload-refresh-my-added-toolbar-with-external-command/m-p/10134995#M28491</guid>
      <dc:creator>Jaime_Alonso</dc:creator>
      <dc:date>2021-03-06T09:29:49Z</dc:date>
    </item>
  </channel>
</rss>

