SelectRegions


Selects regions according to the selected feature and range.

Applications:Use this filter when you have an array of regions and you want to select some of them for further processing. It is slightly faster than ClassifyRegions.

Syntax

C++
C#
Python
 
def SelectRegions(
	inRegions: list[Region],
	/,
	*,
	inFeature: RegionFeature = RegionFeature.Area,
	inMinimum: float | None = None,
	inMaximum: float | None = None
)
-> (
	outAccepted: list[Region],
	outValues: list[float]
)

Parameters

Name Type Default Description
Input value inRegions list[Region] Input regions
Input value inFeature RegionFeature RegionFeature.Area Region feature value to be computed
Input value inMinimum float | None None Lowest value of the range
Input value inMaximum float | None None Highest value of the range
Output value outAccepted list[Region] Regions with feature values matching the range
Output value outValues list[float]