<?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: Building viewer floor filter in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1186565#M77770</link>
    <description>&lt;P&gt;I have solved this issue and it is actually caused by the building layer itself. When the revit model is covered to the feature class dataset, some polyline and point features are also created. The issue of the floor filter is caused by the these non multipatch features. I delete them in the feature class dataset, regenretea the building layer and republish it. The floor filter then works.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jun 2022 02:08:46 GMT</pubDate>
    <dc:creator>FrankOuyang</dc:creator>
    <dc:date>2022-06-27T02:08:46Z</dc:date>
    <item>
      <title>Building viewer floor filter</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1184931#M77736</link>
      <description>&lt;P&gt;Background: I downloaded the building viewer from &lt;A href="https://github.com/Esri/building-viewer" target="_self"&gt;Github repo&lt;/A&gt; and got it working with some &lt;A href="https://community.esri.com/t5/arcgis-api-for-javascript-questions/anyone-tried-building-viewer-and-got-it-working/m-p/1179815#M77589" target="_self"&gt;modifications&lt;/A&gt;.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;I can now add my own building scene layer into it and use the "overview" and "surroundings" sections. But the "Floor by floor" section doesn't work as the floor picker on the right is not responsive, when clicking on different floors.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrankOuyang_0-1655861591873.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/43986i24403CA58E9D1929/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FrankOuyang_0-1655861591873.png" alt="FrankOuyang_0-1655861591873.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;My understanding is that inside the &lt;A href="https://github.com/Esri/building-viewer/blob/master/src/js/config.tsx" target="_self"&gt;config.txs&lt;/A&gt;, the &lt;EM&gt;FloorsSection&lt;/EM&gt;&amp;nbsp;code section controls which floor to show, using the &lt;EM&gt;floor&lt;/EM&gt; varaible. This floor variable is then used to query feature layers with the same BldgLevel attribute in the building layer.&amp;nbsp; This is approacch pretty similar to the building explorer inside the scene viewer. But I don't understand why my building layer is not working here in the building viewer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in adavance to anyone who may have some thoughts on this.&amp;nbsp;&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>Wed, 22 Jun 2022 01:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1184931#M77736</guid>
      <dc:creator>FrankOuyang</dc:creator>
      <dc:date>2022-06-22T01:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Building viewer floor filter</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1184965#M77737</link>
      <description>&lt;P&gt;By unresponsive, do you mean the UI is not doing anything or you think the floor variable is set and the BuildingSceneLayer does not update?&lt;/P&gt;&lt;P&gt;Your understanding is correct and I'd like to help, but it is difficult without being able to debug. Would you be able to share the current project and building scene layer with us?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 06:55:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1184965#M77737</guid>
      <dc:creator>ArnoFiva</dc:creator>
      <dc:date>2022-06-22T06:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Building viewer floor filter</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1185846#M77759</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/183503"&gt;@ArnoFiva&lt;/a&gt;&amp;nbsp;, thank you for the response.&lt;/P&gt;&lt;P&gt;By unrepsonsive I mean the floor filter is not showing any specifc floor but staying at the slide view (floor by floor slide) of the section. The only change I made to the code is just change the ArcGIS Online organization link and the item ID of my scene having the building layer. So I think there must be something different in my building layer to the Turanga Library example. I open the f12 inspector and found all these error messages with my web scene while no error message is reported with the example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrankOuyang_1-1656027071758.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/44263iFEC4D23EBFAC8616/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FrankOuyang_1-1656027071758.png" alt="FrankOuyang_1-1656027071758.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To simplify the issue, I go further and create a very simple feature dataset with just one feature class called house containg 2 multipacthes. The only attribute inside is just BldgLevel. I then make it as building layer, publish it and view it inside the scene viewer with building explorer and has no issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FrankOuyang_0-1656026350022.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/44262iF01078C9F167D8EB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FrankOuyang_0-1656026350022.png" alt="FrankOuyang_0-1656026350022.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="FrankOuyang_4-1656028695998.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/44266i56F9C982A5EF66A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FrankOuyang_4-1656028695998.png" alt="FrankOuyang_4-1656028695998.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I then put it inside the building view by updating the item ID in the&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/Esri/building-viewer/blob/master/src/js/config.tsx" target="_self" rel="nofollow noopener noreferrer"&gt;config.txs&lt;/A&gt;. These are the error message I have.&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="FrankOuyang_3-1656028633042.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/44265iCEEACBF5C8F47F76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="FrankOuyang_3-1656028633042.png" alt="FrankOuyang_3-1656028633042.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So I think the problem is there is something specific in the repo that only applies to the library example. And the documentation in the repo has not been very clear on this and how should we prepare our building layer and web secen to make it work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope all these info helps and I am happy to provide my scene to you, what's the best way?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 00:02:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1185846#M77759</guid>
      <dc:creator>FrankOuyang</dc:creator>
      <dc:date>2022-06-24T00:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Building viewer floor filter</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1186565#M77770</link>
      <description>&lt;P&gt;I have solved this issue and it is actually caused by the building layer itself. When the revit model is covered to the feature class dataset, some polyline and point features are also created. The issue of the floor filter is caused by the these non multipatch features. I delete them in the feature class dataset, regenretea the building layer and republish it. The floor filter then works.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 02:08:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1186565#M77770</guid>
      <dc:creator>FrankOuyang</dc:creator>
      <dc:date>2022-06-27T02:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Building viewer floor filter</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1186642#M77773</link>
      <description>&lt;P&gt;Glad to hear you were able to find the issue. Indeed the Building Viewer makes certain assumptions about the published scene layer. I hope you are able to use the project now for your own data, let me know if you have any further questions!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 08:57:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-viewer-floor-filter/m-p/1186642#M77773</guid>
      <dc:creator>ArnoFiva</dc:creator>
      <dc:date>2022-06-27T08:57:45Z</dc:date>
    </item>
  </channel>
</rss>

