<?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: Boolean Operation Fail in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/12842777#M54937</link>
    <description>&lt;P&gt;Thank you for the very interesting report. Good luck moving forward with this, and looking forward to your future progress!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 16 Jun 2024 16:06:22 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2024-06-16T16:06:22Z</dc:date>
    <item>
      <title>Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/7531968#M54892</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The core of our application works with solid operations between solids, and we constantly faced Boolean operation issues by using the ExecuteBooleanOperation() API method. It throws the next exception that doesn’t allow to do the Boolean operation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;“Failed to perform the Boolean operation for the two solids. This may be due to geometric inaccuracies in the solids, such as slightly misaligned faces or edges. If so, eliminating the inaccuracies by making sure the solids are accurately aligned may solve the problem. This also may be due to one or both solids having complexities such as more than two faces geometrically meeting along a single edge, or two coincident edges, etc. Eliminating such conditions, or performing a sequence of Boolean operations in an order that avoids such conditions, may solve the problem.”&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a simple C# sample with a command that allows to do a Boolean operation between two solids. Also, I have attached two Revit files. Each file contains two intersected directShape objects. Using the C# sample and those files you could reproduce the issue by trying to do a Boolean operation between the two objects.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will be very grateful if you could help us with some directions to solve the issue, and it would be great if you take into consideration this API issue for the future Revit APIs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot, in advance!&lt;/P&gt;&lt;P&gt;Marcelo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 20:51:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/7531968#M54892</guid>
      <dc:creator>marcelo_quevedo</dc:creator>
      <dc:date>2017-11-09T20:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/7537829#M54893</link>
      <description>&lt;P&gt;Dear Marcelo Quevedo,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am sorry to say that I can reproduce your problem as well(I didn't find code problem).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm communicating with engineering team and I submitted the issue list item REVIT-122714 [Boolean Operation Fail - case 13578517] on your behalf for the issue you find, as this issue requires exploration and possibly a modification to our software. Please make a note of this number for future reference.&lt;/P&gt;
&lt;P&gt;You are welcome to request an update on the status of this issue or to provide us with additional information at any time quoting this wish list item number.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This issue is important to me. What can I do to help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This issue needs to be assessed by our engineering team, and prioritized against all of the other change requests that are outstanding. As a result any information that you can provide to influence this assessment will help. Please provide the following where possible:&lt;BR /&gt;• Impact on your application and/or your development. &lt;BR /&gt;• The number of users affected. &lt;BR /&gt;• The potential revenue impact to you. &lt;BR /&gt;• The potential revenue impact to Autodesk. &lt;BR /&gt;• Realistic timescale over which a fix would help you. &lt;BR /&gt;• In the case of a request for a new feature or a feature enhancement, please also provide detailed Use Cases for the workflows that this change would address.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact Change Requests. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Nov 2017 01:11:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/7537829#M54893</guid>
      <dc:creator>JimJia</dc:creator>
      <dc:date>2017-11-13T01:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/8611471#M54894</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I use Revit 2019 and often get this problem when performing Union operation on two solids. Any alternatives to do union on two solids? &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2019 14:28:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/8611471#M54894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-21T14:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/8647920#M54895</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This Boolean Operation problem is really frustrating. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Theoretically the operation (union, intersection, difference) can be performed on any two solids, and the problem should NEVER take place. This only means the algorithm currently used by Autodesk is not working well. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It would be nice if Autodesk can give some useful suggestions on how to avoid the problem before it is fixed eventually. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can user get any clue from the error message “This may be due to geometric inaccuracies in the solids, such as slightly misaligned faces or edges”. What are “geometric inaccuracies” or “slightly misaligned faces or edges”? Or the purpose of the error message is just to make user think the problem is caused by the model?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 05:12:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/8647920#M54895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-10T05:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9103872#M54896</link>
      <description>&lt;P&gt;Facing the exact same issue. Anybody have any solution yet?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 16:42:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9103872#M54896</guid>
      <dc:creator>SouravGanguli</dc:creator>
      <dc:date>2019-10-23T16:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9435332#M54897</link>
      <description>&lt;P&gt;I'm having the same difficulties. I found that many times it is due to slight object misalignment.&lt;/P&gt;&lt;P&gt;If after Boolean operation the resulting solid has one small face, the method fails.&lt;/P&gt;&lt;P&gt;The images bellow are example. Wanting to subtract red object from white one.&lt;/P&gt;&lt;P&gt;In REVIT every things seams aligned, but after exporting the geometry to AUTOCAD I found this small misalignment (0.0004 units). After alignment correction, it worked.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;WHAT I SEEK: a method to automatically correct those small misalignment or to adjust REVIT tolerance.&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="red object to subtract from white object" style="width: 273px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/752501i738967C586DAEBD7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Objects.png" alt="red object to subtract from white object" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;red object to subtract from white object&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zoom at the corner" style="width: 301px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/752502iD9211EBB59527ED0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Objects2.png" alt="zoom at the corner" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;zoom at the corner&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 19:30:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9435332#M54897</guid>
      <dc:creator>antonio_hipolito</dc:creator>
      <dc:date>2020-04-10T19:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9472610#M54898</link>
      <description>&lt;P&gt;Thank you for the nice pictures.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you please provide a minimal complete reproducible case that illustrates the problem with one single click or two that I can pass on to the development team for further analysis?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&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;/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;Best regards,&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, 27 Apr 2020 07:58:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9472610#M54898</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-04-27T07:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9477019#M54899</link>
      <description>&lt;P&gt;Jeremy,&lt;/P&gt;&lt;P&gt;I'm not quite sure what you need, but I prepared a sample Revit model with the question.&lt;/P&gt;&lt;P&gt;The generic model in red, is slight of alignment with the column and the beam.&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;An exception occurs w&lt;/EM&gt;&lt;/FONT&gt;hen I try to subtract form the generic model the solid geometry of the beam and column with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&lt;EM&gt;BooleanOperationsUtils.ExecuteBooleanOperationModifyingOriginalSolid(base, geomSolid, BooleanOperationsType.Difference)&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;EM&gt;I don't know how to attach the .rvt file... but I can send you if you need it.&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Anotação 2020-04-28 163701.png" style="width: 656px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/761876iFCCFEC90516BF5DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Anotação 2020-04-28 163701.png" alt="Anotação 2020-04-28 163701.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 15:52:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9477019#M54899</guid>
      <dc:creator>antonio_hipolito</dc:creator>
      <dc:date>2020-04-28T15:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9477752#M54900</link>
      <description>&lt;P&gt;You can attach the RVT model right here to your message in this discussion thread, cf. '&lt;SPAN&gt;Attachments'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Optimally, you could implement a macro that performs the Boolean operation on two hard-coded solids in the model.&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;</description>
      <pubDate>Tue, 28 Apr 2020 19:20:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9477752#M54900</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-04-28T19:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9478092#M54901</link>
      <description>&lt;P&gt;Jeremy,&lt;/P&gt;&lt;P&gt;Please find attached .rvt file.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 21:11:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9478092#M54901</guid>
      <dc:creator>antonio_hipolito</dc:creator>
      <dc:date>2020-04-28T21:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9560626#M54902</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Jeremy, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I prepared an example to show the Boolean Operation exception. You may run the following code on the attached document to see the exception. The code includes a working case (4373) and a failed case (4348).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This example is for BooleanOperationsType.Difference. The Union operation sometimes also fails with the same error message. I do not know about Intersect operation since I never use it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;internal static void BooleanOperationFail(Document document)&lt;BR /&gt;{&lt;BR /&gt;Element ele_big = document.GetElement(new ElementId(4348));&lt;BR /&gt;Element ele_small = document.GetElement(new ElementId(4366)); // this one throws exception&lt;BR /&gt;// Element ele_small = document.GetElement(new ElementId(4373)); // this one does not throw exception&lt;/P&gt;&lt;P&gt;Solid solid_big = Get_Solid(document, ele_big);&lt;BR /&gt;Solid solid_small = Get_Solid(document, ele_small);&lt;BR /&gt;Solid res_solid = BooleanOperationsUtils.ExecuteBooleanOperation(solid_big, solid_small, BooleanOperationsType.Difference);&lt;/P&gt;&lt;P&gt;// Check the result by creating a DirectShape&lt;BR /&gt;List&amp;lt;GeometryObject&amp;gt; directShapeSolids = new List&amp;lt;GeometryObject&amp;gt;();&lt;BR /&gt;directShapeSolids.Add(res_solid);&lt;/P&gt;&lt;P&gt;using (Transaction trans = new Transaction(document))&lt;BR /&gt;{&lt;BR /&gt;trans.Start("tex3");&lt;BR /&gt;DirectShape thisEle;&lt;BR /&gt;thisEle = DirectShape.CreateElement(document, new ElementId(BuiltInCategory.OST_GenericModel));&lt;BR /&gt;thisEle.SetShape(directShapeSolids);&lt;BR /&gt;ElementTransformUtils.MoveElement(document, thisEle.Id, new XYZ(10,10,10));&lt;BR /&gt;trans.Commit();&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;TaskDialog.Show("Revit", " Boolean Operation Done");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;internal static Solid Get_Solid(Document document, Element element)&lt;BR /&gt;{&lt;BR /&gt;Autodesk.Revit.DB.Options opt = document.Get_GeomOption();&lt;BR /&gt;Autodesk.Revit.DB.GeometryElement geomElem = element.get_Geometry(opt);&lt;BR /&gt;List&amp;lt;Solid&amp;gt; all_solids = new List&amp;lt;Solid&amp;gt;();&lt;BR /&gt;foreach (GeometryObject geomObj in geomElem)&lt;BR /&gt;{&lt;BR /&gt;Solid geomSolid = geomObj as Solid;&lt;BR /&gt;if (null != geomSolid)&lt;BR /&gt;{&lt;BR /&gt;all_solids.Add(geomSolid);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;if(all_solids.Count != 1)&lt;BR /&gt;{&lt;BR /&gt;throw new Exception("must be one solid");&lt;BR /&gt;}&lt;BR /&gt;return all_solids[0];&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 15:22:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9560626#M54902</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-04T15:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9571810#M54903</link>
      <description>Hi Jeremy, Could you please have a look at the Boolean operation failure example I posted last week in this thread? I hope it can help the development team to identify the problem and fix it. Thanks.</description>
      <pubDate>Wed, 10 Jun 2020 12:43:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9571810#M54903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-10T12:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9571897#M54904</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Dear Steve, Antonio, and others,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you very much for your sample material and problem reports.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I attached them to the development ticket &lt;U&gt;&lt;STRONG&gt;REVIT-122714&lt;/STRONG&gt;&lt;/U&gt; [Boolean Operation Fail - case 13578517] and raised its priority to 'critical'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I hope to hear back from the development team on it soon.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;You are welcome to request an update on the status of this issue or to provide additional information on it at any time quoting this change request number.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This issue is important to me. What can I do to help?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This issue needs to be assessed by our engineering team and prioritised against all other outstanding change requests. Any information that you can provide to influence this assessment will help. Please provide the following where possible:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Impact on your application and/or your development.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The number of users affected.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The potential revenue impact to you.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;The potential revenue impact to Autodesk.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Realistic timescale over which a fix would help you.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;In the case of a request for a new feature or a feature enhancement, please also provide detailed Use cases for the workflows that this change would address.&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;This information is extremely important. Our engineering team have limited resources, and so must focus their efforts on the highest impact items. We do understand that this will cause you delays and affect your development planning, and we appreciate your cooperation and patience.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jun 2020 13:15:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9571897#M54904</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-06-10T13:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9578449#M54905</link>
      <description>&lt;P&gt;Jeremy,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solid Boolean Operation is a crucial task on any 3D modeling software.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a basic requirement, it's not optional. REVIT must perform extremely well on this matter.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a critical issue to be solved as soon as possible, I agree with you.&lt;/P&gt;&lt;P&gt;Keep pushing this issue to a solution.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS:&amp;nbsp;My company has above 40 000 employees.&amp;nbsp;&lt;/P&gt;&lt;P&gt;António&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jun 2020 23:10:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9578449#M54905</guid>
      <dc:creator>antonio_hipolito</dc:creator>
      <dc:date>2020-06-13T23:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9579746#M54906</link>
      <description>&lt;P&gt;Dear António,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you very much for your update and business case.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I attached it to the development ticket REVIT-122714 [Boolean Operation Fail - case 13578517].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&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, 15 Jun 2020 09:28:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9579746#M54906</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-06-15T09:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9595179#M54907</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1149164"&gt;@JimJia&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/413917"&gt;@jeremytammik&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1068158"&gt;@marcelo_quevedo&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4439905"&gt;@antonio_hipolito&lt;/a&gt;&amp;nbsp;@Anonymous&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also facing this issue right now.&amp;nbsp; I hope the following experience could be helpful to any of you, developers or Autodesk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my situation, a grey box containing several green cuboids. See the rendering gets a bit weird at interfacing area due to overlapping. BooleanUtil fails on the second cuboid when computing intersection between grey box and these cuboids (I wish I could give you these elements, but they're all linked. I'll try to put them in a sample file to help others recreating the problem if anyone is interested.)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jshial_1-1592882483937.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/786817i12CBAC6EBF47CB00/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jshial_1-1592882483937.png" alt="jshial_1-1592882483937.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Exception thrown, inaccuracy, misalignment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So this is what I tested:&lt;/P&gt;&lt;P&gt;1. Translate cuboid's solid just a little bit. Or scale it to 1.1 or 0.9. Same exception thrown, I guess a little bit of transformation didn't resolve what exception message says.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Run same logic in Dynamo (with nodes), it works fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Run same logic in Dynamo (with only one Python node, pure IronPython, calling BooleanUtil from RevitAPI), it works fine surprisingly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Idk why even calling BooleanUtil straight from Revit API in Dynamo doesn't throw that exception anymore either. Is there some optimization that Dynamo does intentionally to cope with this problem?&amp;nbsp;&amp;nbsp;I did some diggin on both Revit and Dynamo's geometry kernel, a term ASM(Autodesk ShapeManager) comes up,&amp;nbsp; this thread has some very informative discussion:&amp;nbsp;&lt;A href="https://github.com/DynamoDS/DynamoRevit/issues/1960" target="_blank" rel="noopener"&gt;https://github.com/DynamoDS/DynamoRevit/issues/1960&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;kronz's post might explain what I'm experiencing now.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To sum it up:&lt;/P&gt;&lt;P&gt;1. To revit users and developers, I would suggest to give Dynamo a try.&lt;/P&gt;&lt;P&gt;2. Not knowing how internal collaboration is in Autodesk, wish Revit dev team could discuss this with Dynamo dev team, hopefully releasing a fix asap.&lt;/P&gt;&lt;P&gt;3. This puts me in&amp;nbsp;&lt;SPAN&gt;dilemma now because I'm developing a WPF app with these intersections. I have hundreds of this kind of grey boxes to compute intersections with its nearby elements. Operating on all the boxes is too heavy for Dynamo, forcing me to chop the task into smaller sets and run Dynamo multiple times. Although I consider an IExternalCommand in C# is faster than Dynamo script for my task, I just cannot use it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. Impact on your application and/or your development:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It basically means I cannot develop my app, may argue that I can always implement my own algorithm for boolean operation. Pretty&amp;nbsp;&lt;/SPAN&gt;challenging and time-consuming, resource is a factor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. The number of users affected:&lt;/P&gt;&lt;P&gt;Almost 10,000 employees, expected product could make our work tremendously easier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. The potential revenue impact to you:&lt;/P&gt;&lt;P&gt;Hard to measure. Dynamo to the rescue while the efficiency dropped considerable than expected before.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4. The potential revenue impact to Autodesk:&lt;/P&gt;&lt;P&gt;Impossible for me to measure, I feel like Dynamo has a more reliable algorithm to this but don't know if transfer that to Revit is simple or not.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Realistic timescale over which a fix would help you.&lt;/P&gt;&lt;P&gt;As soon as possible. Timestamp in this thread, 2017 =&amp;gt; 2019 =&amp;gt; 2020. Development-wise, I'm stopped basically.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;6. In the case of a request for a new feature or a feature enhancement, please also provide detailed Use Cases for the workflows that this change would address.&lt;/P&gt;&lt;P&gt;I just need the intersection solids, just like what BooleanOperationsUtils can give me usually.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 07:11:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9595179#M54907</guid>
      <dc:creator>jshial</dc:creator>
      <dc:date>2020-06-23T07:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9595235#M54908</link>
      <description>&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="jshial_0-1592896473599.png" style="width: 592px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/786872i602177FC75F136FE/image-dimensions/592x216?v=v2" width="592" height="216" role="button" title="jshial_0-1592896473599.png" alt="jshial_0-1592896473599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 07:15:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9595235#M54908</guid>
      <dc:creator>jshial</dc:creator>
      <dc:date>2020-06-23T07:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9595239#M54909</link>
      <description>&lt;P&gt;Thank you very much for your careful analysis and interesting results, which&amp;nbsp;I attached it to the development ticket &lt;U&gt;&lt;STRONG&gt;REVIT-122714&lt;/STRONG&gt;&lt;/U&gt; [Boolean Operation Fail - case 13578517].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am glad to hear that it works better in Dynamo, and hope very much that will help enable the Revit development team to improve the situation inside the pure Revit API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jun 2020 07:19:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9595239#M54909</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-06-23T07:19:12Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9699381#M54910</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One possible solution that helped for me is : if boolean operation fails, then make a tiny adjustment to the solid(s).&lt;/P&gt;&lt;P&gt;I know that handling program flow in the catch block is not good practice, but this problem was driving me crazy.&lt;/P&gt;&lt;P&gt;The code below shows one of my solutions. I also have backup routines in case this fail, like rotating other axis combined with small translations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;           List&amp;lt;double&amp;gt; rad = new List&amp;lt;double&amp;gt;{0.00001,0.00005,0.0001,0.0005};
            
            foreach (double value in rad)
            {
                
                try
                {
                    Transform t1 = Transform.CreateRotation(new XYZ(0, 0, 1), value);
                   
                    Transform t2 = t1.Multiply(trans);
                    s2 = SolidUtils.CreateTransformed(s2, t2);
                    Solid areaSolid = BooleanOperationsUtils.ExecuteBooleanOperation(s1, s2, BooleanOperationsType.Intersect);
                    res = s2;
                    return areaSolid;

                }
                catch (Exception e) {}
            }

            

            
            throw new Exception();
        }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tommy Strømhaug&lt;/P&gt;&lt;P&gt;Symetri Norway&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 09:43:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9699381#M54910</guid>
      <dc:creator>tommy.stromhaug</dc:creator>
      <dc:date>2020-08-19T09:43:10Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Operation Fail</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9699417#M54911</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Wow!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;That is a pretty horrific workaround.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am very impressed that it helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you very much, Tommy, for sharing this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I added a note of it to the development ticket REVIT-122714 [Boolean Operation Fail - case 13578517] to show the development team how bad the situation is and to what extremes ot forces add-in developers to handle it.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The naming of your variables hints that you are in fact calculating an area, not a 3D solid.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is that true?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you just need a 2D area intersection, I would suggest taking a look at the very tiny yet powerful 2D Boolean operation libraries available, e.g., Clipper:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.2" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.2&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Jeremy&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 10:15:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/boolean-operation-fail/m-p/9699417#M54911</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2020-08-19T10:15:02Z</dc:date>
    </item>
  </channel>
</rss>

