<?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 delete Warnings(Failure)? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-delete-warnings-failure/m-p/7340791#M56423</link>
    <description>&lt;P&gt;&lt;EM&gt;"The IFailuresPreprocessor interface can be used to provide custom failure handling for a specific transaction only."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps this failure is posted by another&amp;nbsp;internal activity&amp;nbsp;i.e. one that resolves redundant&amp;nbsp;groups? If this is the case then your IFailuresPreprocessor (attached only to your specific transaction) will not cover this other unknown transaction posting the messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;encountered this specific error also&amp;nbsp;but instead used the FailureProcessing Event approach to overcome it (seems to work). I believe&amp;nbsp;this Event&amp;nbsp;is meant for the entire session to target certain messages over multiple transactions.&amp;nbsp;However like any event handler it can be added or removed at any stage of your IExternalCommand, but timing is critical. In my particular case I'm seemingly able to remove the FailureProcessing&amp;nbsp;event handler&amp;nbsp;and not get further messages but I can envisage a situation where you'd be removing it just before further failures were posted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess in this specific example who is going to miss a group with no group instances?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2017 01:19:09 GMT</pubDate>
    <dc:creator>RPTHOMAS108</dc:creator>
    <dc:date>2017-08-31T01:19:09Z</dc:date>
    <item>
      <title>How to delete Warnings(Failure)?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-delete-warnings-failure/m-p/7339967#M56422</link>
      <description>&lt;P&gt;Hi, I tried many ways in orded to delete all Warnings using that&amp;nbsp;&lt;A href="http://thebuildingcoder.typepad.com/blog/2010/04/failure-api.html,http://thebuildingcoder.typepad.com/blog/2010/11/failure-api-take-two.html.....But" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2010/04/failure-api.html,http://thebuildingcoder.typepad.com/blog/2010/11/failure-api-take-two.html.....But&lt;/A&gt; nothing helped to me...When I try to delete Family Type I check to Family Instance is there exist in a project if is not I delete Family Type. The problem appiere &amp;nbsp;all the time&amp;nbsp;&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="EventHandler_2.PNG" style="width: 452px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/395897i5F2DCDF0E7FC2108/image-size/large?v=v2&amp;amp;px=999" role="button" title="EventHandler_2.PNG" alt="EventHandler_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Failures.PNG" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/395900i65583C5CA41C5424/image-size/large?v=v2&amp;amp;px=999" role="button" title="Failures.PNG" alt="Failures.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Failures_1.PNG" style="width: 522px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/395901iE4EB2BAE7BE0A9BB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Failures_1.PNG" alt="Failures_1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Failures_2.PNG" style="width: 616px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/395902iE401AE74DAE7369A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Failures_2.PNG" alt="Failures_2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to find for ID in a project but there are not exist.&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="Failures_3.PNG" style="width: 465px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/395903i7DE3676372BD4494/image-size/large?v=v2&amp;amp;px=999" role="button" title="Failures_3.PNG" alt="Failures_3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you help me solve this problem? What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2017 18:08:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-delete-warnings-failure/m-p/7339967#M56422</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-30T18:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete Warnings(Failure)?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/how-to-delete-warnings-failure/m-p/7340791#M56423</link>
      <description>&lt;P&gt;&lt;EM&gt;"The IFailuresPreprocessor interface can be used to provide custom failure handling for a specific transaction only."&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps this failure is posted by another&amp;nbsp;internal activity&amp;nbsp;i.e. one that resolves redundant&amp;nbsp;groups? If this is the case then your IFailuresPreprocessor (attached only to your specific transaction) will not cover this other unknown transaction posting the messages.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;encountered this specific error also&amp;nbsp;but instead used the FailureProcessing Event approach to overcome it (seems to work). I believe&amp;nbsp;this Event&amp;nbsp;is meant for the entire session to target certain messages over multiple transactions.&amp;nbsp;However like any event handler it can be added or removed at any stage of your IExternalCommand, but timing is critical. In my particular case I'm seemingly able to remove the FailureProcessing&amp;nbsp;event handler&amp;nbsp;and not get further messages but I can envisage a situation where you'd be removing it just before further failures were posted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I guess in this specific example who is going to miss a group with no group instances?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 01:19:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/how-to-delete-warnings-failure/m-p/7340791#M56423</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2017-08-31T01:19:09Z</dc:date>
    </item>
  </channel>
</rss>

