InsertToPath


Inserts a new point to a path at a specified location.

Syntax

C++
Python
 
def InsertToPath(
	ioPath: Path,
	inPoint: Point2D,
	inIndex: int,
	/,
	*,
	inInverse: bool = False
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioPath Path
Input value inPoint Point2D Input point to be inserted.
Input value inIndex int 0 - Input index within the ioPath at which the inValue will be placed.
Input value inInverse bool False Determines if the indices are counted from beginning or from end of the input path.