ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / BuildingSceneLayer Class / SetFilterTypes Method
The filter id
The included filter types

In This Topic
    SetFilterTypes Method
    In This Topic
    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 11, Windows 10, Windows 8.1

    See Also