SortPaths
Changes the order of paths from the input array according to an ascending/descending sequence of their computed feature values.
Syntax
C++
C#
Python
def SortPaths( inPaths: list[Path], /, *, inPathFilter: PathFilter = PathFilter.All, inFeature: PathFeature = PathFeature.BoundingBoxBottom, inSortingOrder: SortingOrder = SortingOrder.Ascending ) -> ( outSortedPaths: list[Path], outSortedValues: list[float] )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPaths | list[Path] | Input paths | |
![]() |
inPathFilter | PathFilter | PathFilter.All | Determines which paths will take part in computation |
![]() |
inFeature | PathFeature | PathFeature.BoundingBoxBottom | Path feature value to be computed |
![]() |
inSortingOrder | SortingOrder | SortingOrder.Ascending | Sorting order |
![]() |
outSortedPaths | list[Path] | Paths sorted according to the computed feature values | |
![]() |
outSortedValues | list[float] | Computed feature values |


