<?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 Level Elevation in Navisworks API Forum</title>
    <link>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027450#M1303</link>
    <description>&lt;P&gt;How to get the elevation of the level in Navis Api?&lt;/P&gt;</description>
    <pubDate>Mon, 12 Jun 2023 11:24:31 GMT</pubDate>
    <dc:creator>preeti.kumari9TBN6</dc:creator>
    <dc:date>2023-06-12T11:24:31Z</dc:date>
    <item>
      <title>Level Elevation</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027450#M1303</link>
      <description>&lt;P&gt;How to get the elevation of the level in Navis Api?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 11:24:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027450#M1303</guid>
      <dc:creator>preeti.kumari9TBN6</dc:creator>
      <dc:date>2023-06-12T11:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Level Elevation</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027467#M1304</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12683683"&gt;@preeti.kumari9TBN6&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you please explain your issue with screenshots?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 11:37:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027467#M1304</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2023-06-12T11:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Level Elevation</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027492#M1305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12683683"&gt;@preeti.kumari9TBN6&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are looking for a way to access Level property of an element via Navisworks API, then I would suggest you use the search API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apidocs.co/apps/navisworks/2018/T_Autodesk_Navisworks_Api_Search.htm" target="_blank" rel="noopener"&gt;https://apidocs.co/apps/navisworks/2018/T_Autodesk_Navisworks_Api_Search.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://apidocs.co/apps/navisworks/2017/87317537-2911-4c08-b492-6496c82b3edd.htm" target="_blank" rel="noopener"&gt;https://apidocs.co/apps/navisworks/2017/87317537-2911-4c08-b492-6496c82b3edd.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://twentytwo.space/2020/05/28/navisworks-api-search-modelitem-and-collect-properties/" target="_blank" rel="noopener"&gt;https://twentytwo.space/2020/05/28/navisworks-api-search-modelitem-and-collect-properties/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 11:52:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027492#M1305</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2023-06-12T11:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: Level Elevation</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027511#M1306</link>
      <description>&lt;P&gt;Hey&amp;nbsp;@Anonymous, Thank you for your response. Actually, I am not looking for the level property. My concern is how to get the elevation of a particular level. Basically, I wanted to create a bounding box from level to level(such as from level1 to level2) . This bounding box, I wanted to created a viewpoint accordingly. Hope, I make you understand my concern.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 12:02:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027511#M1306</guid>
      <dc:creator>preeti.kumari9TBN6</dc:creator>
      <dc:date>2023-06-12T12:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Level Elevation</title>
      <link>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027673#M1307</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12683683"&gt;@preeti.kumari9TBN6&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I created a simple Furniture elements in Revit.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I placed one furnitue in Level 0 and another one in Level 1 and exported the file to nwc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can see the level property category.From the property category, I can get the Elevation data property. Please see the attached images.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My Suggestion to you is &lt;BR /&gt;1)Get an element with category "Level" via search API&lt;BR /&gt;2)From "Level" property category, access the "elevation" data property and get it's value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think search API will help you to achieve what you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the sample code&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;private void SimpleCode(Document doc)
        {
            string itemAndElevation = "";

            Search search = new Search();
            search.SearchConditions.Add(SearchCondition.HasCategoryByDisplayName("Level"));
            search.Selection.SelectAll();

            ModelItemCollection collection = search.FindAll(doc, true);
            foreach(ModelItem item in collection)
            {
                DataProperty dataProperty=item.PropertyCategories.FindPropertyByDisplayName("Level", "Elevation");
                string elevationValue = dataProperty.Value.ToString();
                itemAndElevation = itemAndElevation + "\n" + item.DisplayName + " -- " + elevationValue;
            }
            MessageBox.Show(itemAndElevation);
        }&lt;/LI-CODE&gt;
&lt;P&gt;You can then access the "elevationValue" and create your bounding box.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jun 2023 13:02:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/navisworks-api-forum/level-elevation/m-p/12027673#M1307</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2023-06-12T13:02:56Z</dc:date>
    </item>
  </channel>
</rss>

