<?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 Cutting wall with voids using the RevitApi and Python in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/cutting-wall-with-voids-using-the-revitapi-and-python/m-p/13157071#M2073</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an issue. I am using the window Revit template which has a wall embedded. I have created some voids and I want to cut the wall with these voids. When using the user interface, I can use the Cut Geometry tool and it works perfectly. But I want to automate it using the Revit API and Python. The question is, is there a method to do this? I have already tried the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;BooleanOperationsUtils.ExecuteBooleanOperation&lt;/STRONG&gt;: This one works in the sense that it outputs a solid, but it is not actually making the hole in the wall.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;InstanceVoidCutUtils.AddInstanceVoidCut&lt;/STRONG&gt;: The output is an error that says: "The element cannot be cut with a void instance. Parameter name: element."&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;CombineElements&lt;/STRONG&gt;: The output is an error that says: "expected CombinableElement, got GeometryElement."&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Nothing is working, and it seems that if I was cutting a solid then it might be possible, but I want to cut a wall. Also, the Opening Cut doesn't work because I need to use the voids I created to cut the wall.&lt;/P&gt;&lt;P&gt;Does anyone know how to accomplish this?&lt;/P&gt;&lt;P&gt;Thank you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Nov 2024 12:26:56 GMT</pubDate>
    <dc:creator>JCRamirezT63SC</dc:creator>
    <dc:date>2024-11-18T12:26:56Z</dc:date>
    <item>
      <title>Cutting wall with voids using the RevitApi and Python</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/cutting-wall-with-voids-using-the-revitapi-and-python/m-p/13157071#M2073</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an issue. I am using the window Revit template which has a wall embedded. I have created some voids and I want to cut the wall with these voids. When using the user interface, I can use the Cut Geometry tool and it works perfectly. But I want to automate it using the Revit API and Python. The question is, is there a method to do this? I have already tried the following:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;BooleanOperationsUtils.ExecuteBooleanOperation&lt;/STRONG&gt;: This one works in the sense that it outputs a solid, but it is not actually making the hole in the wall.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;InstanceVoidCutUtils.AddInstanceVoidCut&lt;/STRONG&gt;: The output is an error that says: "The element cannot be cut with a void instance. Parameter name: element."&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;CombineElements&lt;/STRONG&gt;: The output is an error that says: "expected CombinableElement, got GeometryElement."&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Nothing is working, and it seems that if I was cutting a solid then it might be possible, but I want to cut a wall. Also, the Opening Cut doesn't work because I need to use the voids I created to cut the wall.&lt;/P&gt;&lt;P&gt;Does anyone know how to accomplish this?&lt;/P&gt;&lt;P&gt;Thank you. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Nov 2024 12:26:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/cutting-wall-with-voids-using-the-revitapi-and-python/m-p/13157071#M2073</guid>
      <dc:creator>JCRamirezT63SC</dc:creator>
      <dc:date>2024-11-18T12:26:56Z</dc:date>
    </item>
  </channel>
</rss>

