<?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 Join Priority (Switch Join) in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/join-priority-switch-join/m-p/9191889#M38073</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been working for a while with the order in which Revit joins geometry. For instance, in the following example, there is a "table" composed of 4 columns, 4 beams, and 1 slab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Automatically, when I joined the elements, all the intersected volume (from beams and columns) was assigned to the slab. If I click the switch button, it turns the other way: the intersected volume is assigned to the beams and columns, respectively.&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="image.png" style="width: 519px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706058i5B34B73E0CC0A838/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if there is a way to query which element has the priority in the "join"? I'm using the following method:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;JoinGeometryUtils.AreElementsJoined(doc, e1, e2); &amp;lt;&amp;lt;&amp;lt;&amp;lt; Query if the elements are Joined.

JoinGeometryUtils.SwitchJoinOrder(doc, e1, e2); &amp;lt;&amp;lt;&amp;lt;&amp;lt; Change the order of the join between the elements.

&lt;/PRE&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;Situation A: The slab has the priority above the beam.&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="image.png" style="width: 556px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706056i6DB0509C710A87B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Situation B: The beam has the priority above the slab.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 505px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706057i21FAFB52F3AD7975/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I already checked all the parameters using Revit Lookup and didn't find anything that flags the priority of the join.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tips of advice will be very well received!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2019 20:23:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-09T20:23:47Z</dc:date>
    <item>
      <title>Join Priority (Switch Join)</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/join-priority-switch-join/m-p/9191889#M38073</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been working for a while with the order in which Revit joins geometry. For instance, in the following example, there is a "table" composed of 4 columns, 4 beams, and 1 slab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Automatically, when I joined the elements, all the intersected volume (from beams and columns) was assigned to the slab. If I click the switch button, it turns the other way: the intersected volume is assigned to the beams and columns, respectively.&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="image.png" style="width: 519px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706058i5B34B73E0CC0A838/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm wondering if there is a way to query which element has the priority in the "join"? I'm using the following method:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;JoinGeometryUtils.AreElementsJoined(doc, e1, e2); &amp;lt;&amp;lt;&amp;lt;&amp;lt; Query if the elements are Joined.

JoinGeometryUtils.SwitchJoinOrder(doc, e1, e2); &amp;lt;&amp;lt;&amp;lt;&amp;lt; Change the order of the join between the elements.

&lt;/PRE&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;Situation A: The slab has the priority above the beam.&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="image.png" style="width: 556px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706056i6DB0509C710A87B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Situation B: The beam has the priority above the slab.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 505px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/706057i21FAFB52F3AD7975/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I already checked all the parameters using Revit Lookup and didn't find anything that flags the priority of the join.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any tips of advice will be very well received!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 20:23:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/join-priority-switch-join/m-p/9191889#M38073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-09T20:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Join Priority (Switch Join)</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/join-priority-switch-join/m-p/9192118#M38074</link>
      <description>&lt;P&gt;Can a series of checks using the JoinGeometryUtils.IsCuttingElementInJoin() method achieve what you are looking for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2019/917ea88b-27cb-e3b1-391f-ecd061975595.htm" target="_blank"&gt;https://www.revitapidocs.com/2019/917ea88b-27cb-e3b1-391f-ecd061975595.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 22:18:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/join-priority-switch-join/m-p/9192118#M38074</guid>
      <dc:creator>bhprest</dc:creator>
      <dc:date>2019-12-09T22:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: Join Priority (Switch Join)</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/join-priority-switch-join/m-p/9193149#M38075</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/8047956"&gt;@bhprest&lt;/a&gt;&amp;nbsp;Thanks!. Yes, it is a pretty approach. I'll give it a try and I'll come back here later!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 12:35:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/join-priority-switch-join/m-p/9193149#M38075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-10T12:35:52Z</dc:date>
    </item>
  </channel>
</rss>

