Building Scene Layer Filter

Filter allows client applications to reduce the drawn elements of a building to specific types and values. Filters on the webscene override the list of existing filters on the service.

Referenced by: Building Scene Layer (BuildingSceneLayer)

Properties

Property Details
description Description of the filter.
filterAuthoringInfo Metadata about the athoring process for this filter.
filterBlocks[] Array of filter blocks defining the filter. A filter contains at least one filter block.
id unique filter id (uuid). Either a new id to extend the list of filters, or an existing id to override properties of an existing filter.
name Name of the filter.

Building Scene Layer Filter Example

{
  "id": "5a7e75ce-ceb8-4922-aba7-0aadb16976e2",
  "name": "Test Filter",
  "description": "Example Filter for webscene spec",
  "filterBlocks": [
    {
      "title": "Solid",
      "filterExpression": "floorId = 5 AND deletedPhase IS NULL",
      "filterMode": {
        "type": "solid"
      }
    },
    {
      "title": "Wireframe",
      "filterExpression": "floorId < 5 AND deletedPhase IS NULL",
      "filterMode": {
        "type": "wireFrame",
        "edges": {
          "type": "solid",
          "color": [
            120,
            120,
            120
          ],
          "size": 0.75,
          "transparency": 50
        }
      }
    }
  ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close