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
Input value inShapeRegion ShapeRegion
Input value inShapeRegionAlignment CoordinateSystem2D | None None Adjusts the shape region to the position of the inspected object
Input value inFrameWidth int 0 - 65535 Width of the created region's frame
Input value inFrameHeight int 0 - 65535 Height of the created region's frame
Output value outRegion Region Output region
Output value outAlignedShapeRegion ShapeRegion | None None Transformed input shape region