GetMinimumPath_OrNil


Returns the path from the input array that corresponds to the smallest computed feature value; returns NIL if the array or any path inside it is empty.

Applications:Use this filter when you have an array of paths and you want to select one of them that best matches some criterion.

Syntax

C++
C#
Python
 
def GetMinimumPath_OrNil(
	inPaths: list[Path],
	/,
	*,
	inFeature: PathFeature = PathFeature.BoundingBoxBottom
)
-> (
	outPath: Path | None,
	outValue: float | None,
	outIndex: int | None
)

Parameters

Name Type Default Description
Input value inPaths list[Path] Input paths
Input value inFeature PathFeature PathFeature.BoundingBoxBottom Path feature value to be computed
Output value outPath Path | None Output path
Output value outValue float | None Computed feature value of the output path
Output value outIndex int | None