<?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 Walls are not automatically joined in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/walls-are-not-automatically-joined/m-p/12381069#M8603</link>
    <description>&lt;P&gt;If I draw two simple walls with this code&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;var firstCurve = Line.CreateBound(new XYZ(0, 0, 0), new XYZ(5, 0, 0));
var secondCurve = Line.CreateBound(new XYZ(5, 0, 0), new XYZ(10, 0, 0));
Wall.Create(doc, firstCurve, new RDocument(doc).Levels.First().Id, false);
Wall.Create(doc, secondCurve, new RDocument(doc).Levels.First().Id, false);&lt;/LI-CODE&gt;&lt;P&gt;the walls are not automatically joined into one wall even that they have the same parameters and they are two separate walls&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shehab_fekry_0-1700127222090.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1293664i42BCC01EFA78D277/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shehab_fekry_0-1700127222090.png" alt="shehab_fekry_0-1700127222090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the same two walls if they are drawn manually in Revit they are joined into one wall as shown in figure&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shehab_fekry_1-1700127294103.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1293665iAE3940EC0FF8D27C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shehab_fekry_1-1700127294103.png" alt="shehab_fekry_1-1700127294103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;of course this example is simple but I'm working on a complex project that creates a wall between two walls .. by using API I get three separate walls but if done using Revit manually I get one equivalent wall only&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I want to know how to handle that case using API I tried to make a small overlap between these walls but it's not working.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Nov 2023 09:33:50 GMT</pubDate>
    <dc:creator>shehab_fekry</dc:creator>
    <dc:date>2023-11-16T09:33:50Z</dc:date>
    <item>
      <title>Walls are not automatically joined</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/walls-are-not-automatically-joined/m-p/12381069#M8603</link>
      <description>&lt;P&gt;If I draw two simple walls with this code&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;var firstCurve = Line.CreateBound(new XYZ(0, 0, 0), new XYZ(5, 0, 0));
var secondCurve = Line.CreateBound(new XYZ(5, 0, 0), new XYZ(10, 0, 0));
Wall.Create(doc, firstCurve, new RDocument(doc).Levels.First().Id, false);
Wall.Create(doc, secondCurve, new RDocument(doc).Levels.First().Id, false);&lt;/LI-CODE&gt;&lt;P&gt;the walls are not automatically joined into one wall even that they have the same parameters and they are two separate walls&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shehab_fekry_0-1700127222090.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1293664i42BCC01EFA78D277/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shehab_fekry_0-1700127222090.png" alt="shehab_fekry_0-1700127222090.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;the same two walls if they are drawn manually in Revit they are joined into one wall as shown in figure&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="shehab_fekry_1-1700127294103.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1293665iAE3940EC0FF8D27C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="shehab_fekry_1-1700127294103.png" alt="shehab_fekry_1-1700127294103.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;of course this example is simple but I'm working on a complex project that creates a wall between two walls .. by using API I get three separate walls but if done using Revit manually I get one equivalent wall only&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so I want to know how to handle that case using API I tried to make a small overlap between these walls but it's not working.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Nov 2023 09:33:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/walls-are-not-automatically-joined/m-p/12381069#M8603</guid>
      <dc:creator>shehab_fekry</dc:creator>
      <dc:date>2023-11-16T09:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Walls are not automatically joined</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/walls-are-not-automatically-joined/m-p/12383375#M8604</link>
      <description>&lt;P&gt;Maybe the WallUtils will help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="https://www.revitapidocs.com/2024/d63bbbe2-fa2e-b827-2aad-ee6e5dfba4c6.htm" target="_blank"&gt;https://www.revitapidocs.com/2024/d63bbbe2-fa2e-b827-2aad-ee6e5dfba4c6.htm&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2023 07:22:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/walls-are-not-automatically-joined/m-p/12383375#M8604</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-11-17T07:22:38Z</dc:date>
    </item>
  </channel>
</rss>

