CreateShapeRegionRegion
Creates a region corresponding to the given shape region.
Syntax
C++
C#
Python
def CreateShapeRegionRegion( inShapeRegion: ShapeRegion, inFrameWidth: int, inFrameHeight: int, outRegion: Region, /, *, inShapeRegionAlignment: CoordinateSystem2D | None = None, outAlignedShapeRegion: ShapeRegion | None = None ) -> None
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inShapeRegion | ShapeRegion | |||
![]() |
inShapeRegionAlignment | CoordinateSystem2D | None | None | Adjusts the shape region to the position of the inspected object | |
![]() |
inFrameWidth | int | 0 - 65535 | Width of the created region's frame | |
![]() |
inFrameHeight | int | 0 - 65535 | Height of the created region's frame | |
![]() |
outRegion | Region | Output region | ||
![]() |
outAlignedShapeRegion | ShapeRegion | None | None | Transformed input shape region |


