<?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: Find all levels a wall spans in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/find-all-levels-a-wall-spans/m-p/8464065#M45509</link>
    <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;
&lt;P&gt;Getting levelId will not always serve what you want. as may be a wall has an baseoffset value which already spans another level.&lt;/P&gt;
&lt;P&gt;my suggestion is :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;get the bounding box of the wall&lt;/LI&gt;
&lt;LI&gt;get the max and min point.&lt;/LI&gt;
&lt;LI&gt;compare the Z value of min and max with&amp;nbsp;all levels elevation&lt;/LI&gt;
&lt;LI&gt;any value in between the min z and max z would be a level you need.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;hope that helps.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2018 20:34:36 GMT</pubDate>
    <dc:creator>Moustafa_K</dc:creator>
    <dc:date>2018-12-12T20:34:36Z</dc:date>
    <item>
      <title>Find all levels a wall spans</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/find-all-levels-a-wall-spans/m-p/8463455#M45508</link>
      <description>&lt;P&gt;I have a list of Walls in the file and a list of Levels in the file.&lt;/P&gt;
&lt;P&gt;What I want is the list of all the Levels that the wall spans.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Calling LevelId on the wall only gets the Base Constraint Level.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 16:55:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/find-all-levels-a-wall-spans/m-p/8463455#M45508</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-12T16:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: Find all levels a wall spans</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/find-all-levels-a-wall-spans/m-p/8464065#M45509</link>
      <description>&lt;P&gt;&amp;nbsp;Hi,&lt;/P&gt;
&lt;P&gt;Getting levelId will not always serve what you want. as may be a wall has an baseoffset value which already spans another level.&lt;/P&gt;
&lt;P&gt;my suggestion is :&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;get the bounding box of the wall&lt;/LI&gt;
&lt;LI&gt;get the max and min point.&lt;/LI&gt;
&lt;LI&gt;compare the Z value of min and max with&amp;nbsp;all levels elevation&lt;/LI&gt;
&lt;LI&gt;any value in between the min z and max z would be a level you need.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;hope that helps.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 20:34:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/find-all-levels-a-wall-spans/m-p/8464065#M45509</guid>
      <dc:creator>Moustafa_K</dc:creator>
      <dc:date>2018-12-12T20:34:36Z</dc:date>
    </item>
  </channel>
</rss>

