<?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: Using the status prompt in Revit in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/12170687#M77571</link>
    <description>&lt;P&gt;It is a very old link and likely always unsupported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happens when Revit want's to set it's own status bar text, this is probably part of the issue. Perhaps you are getting a blocking situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would say use modeless child window with status bar but those aren't always easy to get working (in terms of updating). You can then also have a cancel button however.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2023 21:38:09 GMT</pubDate>
    <dc:creator>RPTHOMAS108</dc:creator>
    <dc:date>2023-08-14T21:38:09Z</dc:date>
    <item>
      <title>Using the status prompt in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/4824913#M77567</link>
      <description>&lt;P&gt;Does anybody know if (and how) it is possible to use the status prompt for your own custom messages ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you let your user select some elements, you can use the statusprompt easely like so :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;IList&amp;lt;Element&amp;gt; PickSelection= sel.PickElementsByRectangle("Select by rectangle my highly appreciated user");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But what if I want to use the status prompt for telling the user a certain action has ended. What I am trying to avoid is an anoying message box to inform the user an action has ended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there soemthing like StatusPrompt.Show("Action completed"); ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2014 13:58:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/4824913#M77567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-19T13:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using the status prompt in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/4828045#M77568</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check this post: &lt;A href="http://thebuildingcoder.typepad.com/blog/2011/02/status-bar-text.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2011/02/status-bar-text.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Feb 2014 17:22:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/4828045#M77568</guid>
      <dc:creator>augusto.goncalves</dc:creator>
      <dc:date>2014-02-20T17:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using the status prompt in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/4829579#M77569</link>
      <description>&lt;P&gt;Hi Remy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if you just want to display a message in a non-blocking manner,&lt;/P&gt;&lt;P&gt;you also could use a BalloonTip.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To use this, add a reference to AdWindows.dll to your VS project.&lt;/P&gt;&lt;P&gt;You can find it in the Revit program folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then you could do this, for example as a static method in a "Utils" class:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;public static void ShowBalloonTip(string category, string title, string text)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Autodesk.Internal.InfoCenter.ResultItem ri = new Autodesk.Internal.InfoCenter.ResultItem();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ri.Category = category;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ri.Title = title;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ri.TooltipText = text;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// optional: provide a URL, e.g. a website containing furter information&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ri.Uri = new System.Uri("&lt;A target="_blank" href="http://www.yourContextualHelp.de&amp;quot;);"&gt;http://www.yourContextualHelp.de");&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ri.IsFavorite = true;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ri.IsNew = true;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// you also could add a click event&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ri.ResultClicked += new EventHandler&amp;lt;Autodesk.Internal.InfoCenter.ResultClickEventArgs&amp;gt;(ri_ResultClicked);&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;Autodesk.Windows.ComponentManager.InfoCenterPaletteManager.ShowBalloon(ri);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;private static void ri_ResultClicked(object sender, Autodesk.Internal.InfoCenter.ResultClickEventArgs e)&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;// do some stuff...&lt;BR /&gt;}&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that using functions of Revit's AdWindows.dll is not supported by Autodesk officially.&lt;/P&gt;&lt;P&gt;But since AutoCAD has its own version of that library, which is used by ACAD developers since many years, it seem to be a valid way.&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://through-the-interface.typepad.com/through_the_interface/2008/04/the-new-ribbonb.html"&gt;http://through-the-interface.typepad.com/through_the_interface/2008/04/the-new-ribbonb.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Fri, 21 Feb 2014 08:13:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/4829579#M77569</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2014-02-21T08:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using the status prompt in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/12169832#M77570</link>
      <description>&lt;P&gt;I am using the suggested method for overwriting the status text to show the users of my addin that a long list of items is being processed ( SetStatusText($"Processing {idx++}/{total} file {fname}"); )&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works as it should but I get complaints from users that sometimes it does not update the status text after the first, so it will continue showing "Processing 1/1147 file test.rfa" even though the addin code keeps looping through the list and updates all 1147 files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is there a known condition in the C# api that may cause Revit to not update the status text through the user32.dll SetWindowText?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 14:36:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/12169832#M77570</guid>
      <dc:creator>m.de.vriesTH5VM</dc:creator>
      <dc:date>2023-08-14T14:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using the status prompt in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/12170687#M77571</link>
      <description>&lt;P&gt;It is a very old link and likely always unsupported.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What happens when Revit want's to set it's own status bar text, this is probably part of the issue. Perhaps you are getting a blocking situation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would say use modeless child window with status bar but those aren't always easy to get working (in terms of updating). You can then also have a cancel button however.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 21:38:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/12170687#M77571</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2023-08-14T21:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using the status prompt in Revit</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/12306042#M77572</link>
      <description>&lt;P&gt;...&lt;/P&gt;</description>
      <pubDate>Sun, 15 Oct 2023 01:45:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/using-the-status-prompt-in-revit/m-p/12306042#M77572</guid>
      <dc:creator>Speed_CAD</dc:creator>
      <dc:date>2023-10-15T01:45:22Z</dc:date>
    </item>
  </channel>
</rss>

