RegionHoles
Creates regions of the holes of the input region.
Syntax
C++
C#
Python
def RegionHoles( inRegion: Region, /, *, inConnectivity: RegionConnectivity = RegionConnectivity.EightDirections, inMinHoleArea: int = 1, inMaxHoleArea: int | None = None ) -> outHoles: list[Region]
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | Region | Input region | ||
![]() |
inConnectivity | RegionConnectivity | RegionConnectivity.EightDirections | Region connectivity semantics | |
![]() |
inMinHoleArea | int | 0 - ![]() |
1 | Minimal area of a resulting hole |
![]() |
inMaxHoleArea | int | None | 0 - ![]() |
None | Maximal area of a resulting hole |
![]() |
outHoles | list[Region] |



