<?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: CalculateSpatialElementGeometry(), not retrieving all the boundary faces in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11452851#M16622</link>
    <description>&lt;P&gt;Awesome! I'm glad to know that my struggle will help someone esle in the future, cheers!&lt;/P&gt;</description>
    <pubDate>Thu, 29 Sep 2022 18:37:17 GMT</pubDate>
    <dc:creator>MiguelGT17</dc:creator>
    <dc:date>2022-09-29T18:37:17Z</dc:date>
    <item>
      <title>CalculateSpatialElementGeometry(), not retrieving all the boundary faces</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11444637#M16616</link>
      <description>&lt;P&gt;Hi mates, hope this topic find you all well&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm currently working on a automatic skirtingboard placement add-in and it'll be necessary to gather all the boundary faces to remove part of the baseboard or overextend them a bit more:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MiguelGT17_1-1664158956140.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1120354i2549983231687C1F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MiguelGT17_1-1664158956140.png" alt="MiguelGT17_1-1664158956140.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've managed to tessellated the faces returned by the combination of CalculateSpatialElementGeometry(),&amp;nbsp;&lt;SPAN&gt;GetBoundaryFaceInfo() &amp;amp;&amp;nbsp; GetBoundingElementFace () methods and I came up with this:&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="MiguelGT17_0-1664158339297.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1120351i6D14616AA634A00C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MiguelGT17_0-1664158339297.png" alt="MiguelGT17_0-1664158339297.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MiguelGT17_2-1664159132530.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1120355i45CE18FC60AAD666/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MiguelGT17_2-1664159132530.png" alt="MiguelGT17_2-1664159132530.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm not getting the face from the orthogonal walls.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any ideas to get those faces as well?&lt;/P&gt;&lt;P&gt;Thanks in advanced, all the best&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Miguel Gutiérrez&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 02:27:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11444637#M16616</guid>
      <dc:creator>MiguelGT17</dc:creator>
      <dc:date>2022-09-26T02:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: CalculateSpatialElementGeometry(), not retrieving all the boundary faces</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11445061#M16617</link>
      <description>&lt;P&gt;The only suggestion I have off-hand is to query the room for its boundary edges and compare those with the spatial element geometry faces. I think the boundary edges may give you access to the walls that generate them, so you might be able to add the missing face pieces from those.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 08:41:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11445061#M16617</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-09-26T08:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: CalculateSpatialElementGeometry(), not retrieving all the boundary faces</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11445071#M16618</link>
      <description>&lt;P&gt;I don't know if there is a better solution offhand but you can try temporarily setting the join type of the wall to miter instead of abut to see if that helps. This setting can be found on LocationCurve.JoinType.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This changes the geometry of the wall used for graphics. It is abutted by default which means the face of the wall stops in line with the other face and you have a hidden contextual edge.&amp;nbsp;&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="Miter" style="width: 428px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1120428i80FA930E8A167651/image-size/medium?v=v2&amp;amp;px=400" role="button" title="220926_miter.png" alt="Miter" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Miter&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Abut" style="width: 429px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1120429i6C2AE1EC78F3DA94/image-size/medium?v=v2&amp;amp;px=400" role="button" title="220926_abut.png" alt="Abut" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Abut&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can also try setting SpatialElementBoundaryLocation to centre and offsetting the line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As is always the case with these kinds of things the reliability of the result is going to depend on the standard of work used within the model.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 17:27:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11445071#M16618</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2022-09-26T17:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: CalculateSpatialElementGeometry(), not retrieving all the boundary faces</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11446236#M16619</link>
      <description>&lt;P&gt;Hi Jeremy, Indeed I used the&amp;nbsp;&lt;SPAN&gt;boundary edges to query the wall faces&amp;nbsp;&lt;/SPAN&gt;but the faces belonging to orthogonal walls were not returned. Thomas approach seems to work fine.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 17:24:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11446236#M16619</guid>
      <dc:creator>MiguelGT17</dc:creator>
      <dc:date>2022-09-26T17:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: CalculateSpatialElementGeometry(), not retrieving all the boundary faces</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11446249#M16620</link>
      <description>&lt;P&gt;Thanks for replying me Thomas, you are the men! I was not aware of the WallJoins tool, Now, I can have the full face from the boundary walls. Thank you so much!&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="MiguelGT17_0-1664213339981.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1120675iF1CB4DBC764BF9F5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MiguelGT17_0-1664213339981.png" alt="MiguelGT17_0-1664213339981.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 17:29:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11446249#M16620</guid>
      <dc:creator>MiguelGT17</dc:creator>
      <dc:date>2022-09-26T17:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: CalculateSpatialElementGeometry(), not retrieving all the boundary faces</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11449666#M16621</link>
      <description>&lt;P&gt;Brilliant! Thanks to Richard for the great and effective suggestion and to Miguel for the nice topic and illustrations. Preserved for posterity on the blog:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2022/09/aps-au-and-miter-wall-join-for-full-face.html#6" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2022/09/aps-au-and-miter-wall-join-for-full-face.html#6&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Sep 2022 10:11:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11449666#M16621</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-09-28T10:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: CalculateSpatialElementGeometry(), not retrieving all the boundary faces</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11452851#M16622</link>
      <description>&lt;P&gt;Awesome! I'm glad to know that my struggle will help someone esle in the future, cheers!&lt;/P&gt;</description>
      <pubDate>Thu, 29 Sep 2022 18:37:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/calculatespatialelementgeometry-not-retrieving-all-the-boundary/m-p/11452851#M16622</guid>
      <dc:creator>MiguelGT17</dc:creator>
      <dc:date>2022-09-29T18:37:17Z</dc:date>
    </item>
  </channel>
</rss>

