AlignShapeRegion


Aligns a shape region to a coordinate system.

Syntax

C++
C#
Python
 
def AlignShapeRegion(
	inShapeRegion: ShapeRegion,
	inShapeRegionAlignment: CoordinateSystem2D,
	outAlignedShapeRegion: ShapeRegion,
	/,
	*,
	inInverse: bool = False,
	inFrameWidth: int | None = None,
	inFrameHeight: int | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inShapeRegion ShapeRegion
Input value inShapeRegionAlignment CoordinateSystem2D Coordinate system to align to
Input value inInverse bool False Switches to the inverse transform
Input value inFrameWidth int | None 0 - 65535 None Width of the created region's frame
Input value inFrameHeight int | None 0 - 65535 None Height of the created region's frame
Output value outAlignedShapeRegion ShapeRegion