CreatePathRegion


Creates a region along the given path.

Syntax

C++
Python
 
def CreatePathRegion(
	inPath: Path,
	inWidth: float,
	inFrameWidth: int,
	inFrameHeight: int,
	outRegion: Region,
	/,
	*,
	inPathAlignment: CoordinateSystem2D | None = None,
	outAlignedPath: Path | None = None
)
-> None

Parameters

Name Type Range Default Description
Input value inPath Path Input path
Input value inPathAlignment CoordinateSystem2D | None None Adjusts the path to the position of the inspected object
Input value inWidth float 1.0 - Width of line used to draw path
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 outAlignedPath Path | None None The input path transformed to the absolute coordinate system