ArcGIS Pro 2.8 API Reference Guide
SetActiveFilter Method

ArcGIS.Desktop.Mapping Namespace > BuildingSceneLayer Class : SetActiveFilter Method
The filter id of the filter to set active
Sets the active filter to be the filter with the given filter id This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void SetActiveFilter( 
   string filterID
)
Public Sub SetActiveFilter( _
   ByVal filterID As String _
) 

Parameters

filterID
The filter id of the filter to set active
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
filter not found
Remarks
If a filter with the given filter id is not found a System.ArgumentException is thrown. Refer to HasFilter
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

BuildingSceneLayer Class
BuildingSceneLayer Members