ArcGIS Pro 2.7 API Reference Guide
SetFilterTypes Method

ArcGIS.Desktop.Mapping Namespace > BuildingSceneLayer Class : SetFilterTypes Method
The filter id
The included filter types
Sets the filter types shown for each filter block with the given filter id and a list of included filter types. This method must be called on the MCT. Use QueuedTask.Run
Syntax
public void SetFilterTypes( 
   string filterID,
   List<string> includedTypes
)
Public Sub SetFilterTypes( _
   ByVal filterID As String, _
   ByVal includedTypes As List(Of String) _
) 

Parameters

filterID
The filter id
includedTypes
The included filter types
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
includedTypes is null
filter not found
filter is missing filter blocks
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