<?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 BooleanOperationsUtils.ExecuteBooleanOperation InvalidOperationException Casue in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/booleanoperationsutils-executebooleanoperation/m-p/12971195#M3532</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BooleanOperationsUtils.ExecuteBooleanOperation(), When I use this method, I often get an InvalidOperationException.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if there are specific criteria for causing that error.&lt;/P&gt;&lt;P&gt;For example, it occurs when elements intersect at an angle below a certain angle, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope there are rules for this or some documentation I can refer to.&lt;/P&gt;&lt;P&gt;thanks for reading!&lt;/P&gt;</description>
    <pubDate>Wed, 21 Aug 2024 01:41:11 GMT</pubDate>
    <dc:creator>kimhjDGFZX</dc:creator>
    <dc:date>2024-08-21T01:41:11Z</dc:date>
    <item>
      <title>BooleanOperationsUtils.ExecuteBooleanOperation InvalidOperationException Casue</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/booleanoperationsutils-executebooleanoperation/m-p/12971195#M3532</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BooleanOperationsUtils.ExecuteBooleanOperation(), When I use this method, I often get an InvalidOperationException.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to know if there are specific criteria for causing that error.&lt;/P&gt;&lt;P&gt;For example, it occurs when elements intersect at an angle below a certain angle, etc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope there are rules for this or some documentation I can refer to.&lt;/P&gt;&lt;P&gt;thanks for reading!&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 01:41:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/booleanoperationsutils-executebooleanoperation/m-p/12971195#M3532</guid>
      <dc:creator>kimhjDGFZX</dc:creator>
      <dc:date>2024-08-21T01:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: BooleanOperationsUtils.ExecuteBooleanOperation InvalidOperationException Casue</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/booleanoperationsutils-executebooleanoperation/m-p/12971841#M3533</link>
      <description>&lt;P&gt;Sorry about that. It has been mentioned before that&amp;nbsp;&lt;SPAN&gt;ExecuteBooleanOperation can run into issues. Unfortunately, afaik, there is no list of the exact criteria which might cause a problem. Various ways of handling the situation and some possible workarounds have been discussed here in the past. You can search for&amp;nbsp;ExecuteBooleanOperation or just Boolean to find some of them:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/forums/searchpage/tab/message?advanced=false&amp;amp;allow_punctuation=false&amp;amp;filter=location&amp;amp;location=forum-board:160&amp;amp;q=ExecuteBooleanOperation" target="_blank"&gt;https://forums.autodesk.com/t5/forums/searchpage/tab/message?advanced=false&amp;amp;allow_punctuation=false&amp;amp;filter=location&amp;amp;location=forum-board:160&amp;amp;q=ExecuteBooleanOperation&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/forums/searchpage/tab/message?filter=location&amp;amp;q=Boolean&amp;amp;noSynonym=false&amp;amp;location=forum-board:160&amp;amp;collapse_discussion=true" target="_blank"&gt;https://forums.autodesk.com/t5/forums/searchpage/tab/message?filter=location&amp;amp;q=Boolean&amp;amp;noSynonym=false&amp;amp;location=forum-board:160&amp;amp;collapse_discussion=true&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The development team are aware of these issues. This is one of the more exhaustive discussions on the topic, ongoing ever since 2017, including a suggestion for a non-trivial workaround:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/12839281#M79543" target="_blank"&gt;https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/12839281#M79543&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you would like to provide a complete minimal reproducible case, I can share that with the development team for further analysis:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#1b&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Aug 2024 09:34:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/booleanoperationsutils-executebooleanoperation/m-p/12971841#M3533</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-08-21T09:34:51Z</dc:date>
    </item>
  </channel>
</rss>

