GetMaximumPath_OrNil
Returns the path from the input array that corresponds to the largest 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 GetMaximumPath_OrNil( inPaths: list[Path], /, *, inFeature: PathFeature = PathFeature.BoundingBoxBottom ) -> ( outPath: Path | None, outValue: float | None, outIndex: int | None )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPaths | list[Path] | Input paths | |
![]() |
inFeature | PathFeature | PathFeature.BoundingBoxBottom | Path feature value to be computed |
![]() |
outPath | Path | None | Output path | |
![]() |
outValue | float | None | Computed feature value of the output path | |
![]() |
outIndex | int | None |


