Subpath


Creates an open path from a continuous subsequence of the input path's points.

Syntax

C++
Python
 
def Subpath(
	inPath: Path,
	inStart: int,
	outPath: Path,
	/,
	*,
	inPointCount: int = 1
)
-> None

Parameters

Name Type Range Default Description
Input value inPath Path Input path
Input value inStart int 0 - Index of the first point of the subpath
Input value inPointCount int 0 - 1 Number of points in the subpath
Output value outPath Path The resulting subpath