<?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: How to create a Warning in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/12388390#M49490</link>
    <description>&lt;P&gt;For me it took quite a while to figure out how to display the modeless yellow pop-up called miniwarning.&lt;/P&gt;&lt;P&gt;Because although the original question asks for a modeless dialog, the solution provides a modal one.&lt;/P&gt;&lt;P&gt;The key is the&amp;nbsp;ForcedModalHandling flag in FailureHandlingOptions is by default true. You have to manually set it to false.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;options.SetForcedModalHandling(false);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the context&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using (Transaction t = new Transaction(doc, "Post failure"))
{
    var options = t.GetFailureHandlingOptions();
    var preproccessor = new FailurePreproccessor();
    options.SetFailuresPreprocessor(preproccessor);
    options.SetForcedModalHandling(false);
    t.SetFailureHandlingOptions(options);

    t.Start();
    FailureMessage fm = new FailureMessage(failureDefinitionId);
    doc.PostFailure(fm);
    t.Commit();
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2023 11:21:04 GMT</pubDate>
    <dc:creator>schnierer.gabor</dc:creator>
    <dc:date>2023-11-20T11:21:04Z</dc:date>
    <item>
      <title>How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8054281#M49473</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've a routine which moves elements around, but in some occasions it comes across a an element that can't be moved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can get the routine to filter them out so its not an issue, but I'd like to create a Warning message for the user.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can do this with the TaskDialog class, but really I'd like to create a non critical Warning message, which warns the user, but does not stop them working - the same sort of warning you get if you delete a room from the model:&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="Capture.JPG" style="width: 522px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/509728i43977AE54107D904/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I can't see a way of creating this in the API - can it be done?&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2018 20:08:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8054281#M49473</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2018-06-07T20:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8055032#M49474</link>
      <description>&lt;P&gt;The Revit API provides the TaskDialog class for this and nothing else.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It has rather a large number of options.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe some of them satisfy your need.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Check out the Revit UI API labs in&amp;nbsp;&lt;A id="c2b00e0aa895966e26d8c028e9ee162c-f4873e260a2ac4c7f8046b6d91ba9bb0a23597ec" class="js-navigation-open" title="2_Revit_UI_API" href="https://github.com/jeremytammik/AdnRevitApiLabsXtra/tree/master/2_Revit_UI_API" target="_blank"&gt;2_Revit_UI_API&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/AdnRevitApiLabsXtra" target="_blank"&gt;https://github.com/jeremytammik/AdnRevitApiLabsXtra&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 06:18:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8055032#M49474</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-06-08T06:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8056051#M49475</link>
      <description>&lt;P&gt;Ok, thanks - I use task dialog, but I was hoping for something that didn't stop the user and force them to hit OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 14:16:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8056051#M49475</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2018-06-08T14:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8056445#M49476</link>
      <description>&lt;P&gt;Oh, I see.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, for that you can use a modeless Windows form and close it automatically after a specified time period.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;No problem; here is a description for AutoCAD that (exdeptionally) applies to Revit as well (since it has nothing to do with either of them, really):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://drive-cad-with-code.blogspot.com/2014/02/showing-and-closing-modeless-formdialog.html" target="_blank"&gt;https://drive-cad-with-code.blogspot.com/2014/02/showing-and-closing-modeless-formdialog.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let us know how you end up using this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe it will be useful for others as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Jun 2018 16:34:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8056445#M49476</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-06-08T16:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8057239#M49477</link>
      <description>&lt;P&gt;you can define your own failure, and let Revit display it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first you create a FailureDefinitionId and FailureDefinition,&lt;/P&gt;&lt;PRE&gt;// Create failure definition Ids
Guid guid1 = new Guid("d0cf2412-08fe-476b-a6e6-e9a98583c52c");
FailureDefinitionId  m_idWarning = new FailureDefinitionId(guid1);

// Create failure definitions and add resolutions
FailureDefinition m_fdWarning = FailureDefinition.CreateFailureDefinition(m_idWarning, FailureSeverity.Warning, "Textvalue is changed for all instances in textchain");

m_fdWarning.SetDefaultResolutionType(FailureResolutionType.SetValue);&lt;/PRE&gt;&lt;P&gt;then you can display the warning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; FailureMessage fm = new FailureMessage(ExternalApplication.m_idWarning);
 doc.PostFailure(fm);&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Jun 2018 23:30:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8057239#M49477</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2018-06-08T23:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8057495#M49478</link>
      <description>&lt;P&gt;Cool. Thank you! Is that modeless?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These steps are also demonstrated in the Revit SDK sample files&amp;nbsp;SDK/Samples/ErrorHandling/CS/Command.cs and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SDK/Samples/PerformanceAdviserControl/CS/FlippedDoorCheck.cs.&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 06:54:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8057495#M49478</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-06-09T06:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8058817#M49479</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Cool. Thank you! Is that modeless?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, this is a Revit warning as depicted in the Original question. You can totally ignore it, and keep working.&lt;/P&gt;&lt;P&gt;The one caveat I can think of: it will probably be&amp;nbsp;displayed&amp;nbsp;when the control reverts back to Revit. (not sure)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Frank&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jun 2018 22:02:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8058817#M49479</guid>
      <dc:creator>FAIR59</dc:creator>
      <dc:date>2018-06-10T22:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8059524#M49480</link>
      <description>&lt;P&gt;Thank you very much for the invaluable help, Frank!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Published here for posterity:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2018/06/creating-a-warning-using-the-failure-api.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2018/06/creating-a-warning-using-the-failure-api.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 09:45:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8059524#M49480</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2018-06-11T09:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8059770#M49481</link>
      <description>&lt;P&gt;Perfect, thanks, I'll give that a try.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 12:17:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/8059770#M49481</guid>
      <dc:creator>Kevin.Bell</dc:creator>
      <dc:date>2018-06-11T12:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/10410504#M49482</link>
      <description>&lt;P&gt;Seems like it's locked in Revit 2020&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PTHNPTThanh_0-1624355179600.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/932972i696176E35DA50306/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PTHNPTThanh_0-1624355179600.png" alt="PTHNPTThanh_0-1624355179600.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 09:46:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/10410504#M49482</guid>
      <dc:creator>PTHN-NNDuc</dc:creator>
      <dc:date>2021-06-22T09:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11964782#M49483</link>
      <description>&lt;P&gt;I know this is a little older, but would you have any guidance on how (if possible) to get the Warning to stick to the document? I am able to display the warning, set the resolution and all that, but as stated in the Docs, it is NOT stored in the document.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;For this request, I am working inside an IUpdater and would like to throw the warning (working) AND keep in the Warnings list if that is possible.&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 14:39:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11964782#M49483</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2023-05-15T14:39:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11964921#M49484</link>
      <description>&lt;P&gt;Sorry, dunno off-hand. I &lt;A href="https://autodesk.slack.com/archives/C0SR6NAP8/p1684165147312099" target="_blank"&gt;asked&lt;/A&gt; the development team for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 15:40:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11964921#M49484</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-05-15T15:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11965594#M49485</link>
      <description>&lt;P&gt;I believed that the &lt;STRONG&gt;PostFailure&lt;/STRONG&gt; stored the &lt;STRONG&gt;FailureMessage&lt;/STRONG&gt; in the document, but looks like it does not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the documentation explain: &lt;A href="https://www.revitapidocs.com/2017/7184ff0a-f30e-03fb-904f-fb557df6fa37.htm" target="_blank"&gt;https://www.revitapidocs.com/2017/7184ff0a-f30e-03fb-904f-fb557df6fa37.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Remarks: If code inside transaction detects a problem that needs to be communicated to the user, it should report these conditions via this method. Failures will be validated and possibly resolved at the end of transaction. &lt;STRONG&gt;Warnings posted via this method will not be stored in the document after they are resolved.&lt;/STRONG&gt; A unique key returned by postFailure can be stored for the lifetime of transaction and used to remove failure message if it is no longer relevant.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Warnings look not as useful as I thought. &lt;span class="lia-unicode-emoji" title=":neutral_face:"&gt;😐&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 20:21:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11965594#M49485</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2023-05-15T20:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11965601#M49486</link>
      <description>&lt;P&gt;I am assuming it is related to the FailureAccessor approach with the same method, but I was wanting to see if it was possible to "store" a warning before I headed down that path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2017/5d25d459-a1b0-eef4-4766-b00bd1f5ba79.htm" target="_blank"&gt;https://www.revitapidocs.com/2017/5d25d459-a1b0-eef4-4766-b00bd1f5ba79.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 20:25:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11965601#M49486</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2023-05-15T20:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11967110#M49487</link>
      <description>&lt;P&gt;Yes, apparently ricaun is right; the development team replies:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV id="C0SR6NAP8-1684165147.312099-thread-list-Thread_1684171696.618159" class="c-virtual_list__item c-virtual_list__item--initial-activeitem" tabindex="0" role="listitem" aria-setsize="-1" data-qa="virtual-list-item" data-item-key="1684171696.618159"&gt;
&lt;DIV class="c-message_kit__background c-message_kit__background--hovered c-message_kit__message c-message_kit__thread_message" role="presentation" data-qa="message_container" data-qa-unprocessed="false" data-qa-placeholder="false"&gt;
&lt;DIV class="c-message_kit__hover c-message_kit__hover--hovered" role="document" aria-roledescription="message" data-qa-hover="true"&gt;
&lt;DIV class="c-message_kit__actions c-message_kit__actions--default"&gt;
&lt;DIV class="c-message_kit__gutter"&gt;
&lt;DIV class="c-message_kit__gutter__right" role="presentation" data-qa="message_content"&gt;
&lt;DIV class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;
&lt;DIV class="c-message__message_blocks c-message__message_blocks--rich_text" data-qa="message-text"&gt;
&lt;DIV class="p-block_kit_renderer" data-qa="block-kit-renderer"&gt;
&lt;DIV class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;
&lt;DIV class="p-rich_text_block" dir="auto"&gt;
&lt;DIV class="p-rich_text_section"&gt;&amp;gt; I do not think reviewable warnings are exposed to API.&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="c-message_actions__container c-message__actions" role="group"&gt;
&lt;DIV class="c-message_actions__group" role="group" aria-label="Message actions" data-qa="message-actions"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="c-message_actions__group" role="group" aria-label="Message actions" data-qa="message-actions"&gt;If this is important for you, you&lt;SPAN&gt;&amp;nbsp;could submit a wish for this functionality to the Revit Idea Station.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="c-message_actions__group" role="group" aria-label="Message actions" data-qa="message-actions"&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Whenever you require a new or enhanced Revit product or Revit API functionality, the Revit Idea Station is the place to go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please search there for a corresponding wish list entry for the suggested functionality and add your comments to it, or create a new one, if none already exists:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/idb-p/302" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/idb-p/302&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tag it as an API wish:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/idb-p/302/tab/most-recent/label-name/api" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/idb-p/302/tab/most-recent/label-name/api&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ensuring that a wish gets as many votes as possible helps underline its importance to you and the rest of the developer community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Revit Idea Station is currently one of the main driving input forces for Revit API enhancements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Revit development team looks there. Your comment here in the discussion forum might be overlooked.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 16 May 2023 11:41:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11967110#M49487</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-05-16T11:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11967147#M49488</link>
      <description>&lt;P&gt;Thanks &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/824630"&gt;@jeremy_tammik&lt;/a&gt;&amp;nbsp;, I was unfortunately prepared for that answer, just wanted to make sure I hadn't missed something. As always, I appreciate your time!&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 11:54:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11967147#M49488</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2023-05-16T11:54:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11967668#M49489</link>
      <description>&lt;P&gt;Maybe I am the only one, but seems like this would be nice to have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/post-custom-warnings-to-the-warnings-list-inside-the-document/idi-p/11967658" target="_blank"&gt;https://forums.autodesk.com/t5/revit-ideas/post-custom-warnings-to-the-warnings-list-inside-the-document/idi-p/11967658&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 14:45:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/11967668#M49489</guid>
      <dc:creator>Sean_Page</dc:creator>
      <dc:date>2023-05-16T14:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a Warning</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/12388390#M49490</link>
      <description>&lt;P&gt;For me it took quite a while to figure out how to display the modeless yellow pop-up called miniwarning.&lt;/P&gt;&lt;P&gt;Because although the original question asks for a modeless dialog, the solution provides a modal one.&lt;/P&gt;&lt;P&gt;The key is the&amp;nbsp;ForcedModalHandling flag in FailureHandlingOptions is by default true. You have to manually set it to false.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;options.SetForcedModalHandling(false);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the context&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;using (Transaction t = new Transaction(doc, "Post failure"))
{
    var options = t.GetFailureHandlingOptions();
    var preproccessor = new FailurePreproccessor();
    options.SetFailuresPreprocessor(preproccessor);
    options.SetForcedModalHandling(false);
    t.SetFailureHandlingOptions(options);

    t.Start();
    FailureMessage fm = new FailureMessage(failureDefinitionId);
    doc.PostFailure(fm);
    t.Commit();
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 11:21:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-create-a-warning/m-p/12388390#M49490</guid>
      <dc:creator>schnierer.gabor</dc:creator>
      <dc:date>2023-11-20T11:21:04Z</dc:date>
    </item>
  </channel>
</rss>

