ArcGIS Pro 2.9 API Reference Guide
GetFilter Method (BuildingSceneLayer)

ArcGIS.Desktop.Mapping Namespace > BuildingSceneLayer Class : GetFilter Method
The filter id of the filter to retrieve
Gets a filter for the given filter id This method must be called on the MCT. Use QueuedTask.Run
Syntax
public FilterDefinition GetFilter( 
   string filterID
)
Public Function GetFilter( _
   ByVal filterID As String _
) As FilterDefinition

Parameters

filterID
The filter id of the filter to retrieve

Return Value

Exceptions
ExceptionDescription
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 11, Windows 10, Windows 8.1

See Also

Reference

BuildingSceneLayer Class
BuildingSceneLayer Members