PruneRegion
Removes one pixel wide branches from a region.
Syntax
C++
C#
Python
def PruneRegion( inRegion: Region, outRegion: Region, /, *, inMaxLength: int = 3 ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | Region | Input region | ||
![]() |
inMaxLength | int | 0 - ![]() |
3 | Maximal length of a branch of the input region to be pruned |
![]() |
outRegion | Region | Output region |



