ArcGIS Pro 2.6 API Reference Guide
SetFilter Method

ArcGIS.Desktop.Mapping Namespace > BuildingSceneLayer Class : SetFilter Method
The filter definition to apply
Applies a filter to a building scene layer. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void SetFilter( 
   FilterDefinition filterDefinition
)
Public Sub SetFilter( _
   ByVal filterDefinition As FilterDefinition _
) 

Parameters

filterDefinition
The filter definition to apply
Exceptions
ExceptionDescription
filterDefinition is null
the filterDefinition is invalid
This method or property must be called within the lambda passed to QueuedTask.Run.
Remarks
Note: If a filter with the same filter id already exists, it will be updated.
Adding an invalid filter definition will throw a System.ArgumentException
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

BuildingSceneLayer Class
BuildingSceneLayer Members