public FilterDefinition CreateDefaultFilter()
Public Function CreateDefaultFilter() As FilterDefinition
public FilterDefinition CreateDefaultFilter()
Public Function CreateDefaultFilter() As FilterDefinition
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run. |
//Must be called on the MCT //Creates a default filter on the building scene //var bsl = ...; var filter1 = bsl.CreateDefaultFilter(); var values = filter1.FilterBlockDefinitions[0].SelectedValues; //values will be a single value for the type //"CreatedPhase", value "New Construction" //There will be at least one filter after "CreateDefaultFilter()" call var filtersCount = bsl.GetFilters().Count;
Target Platforms: Windows 11, Windows 10, Windows 8.1