MakePathConditional


Computes a path feature, checks whether its value is in range and creates a conditional path on this basis.

Syntax

C++
C#
Python
 
def MakePathConditional(
	inPath: Path,
	/,
	*,
	inFeature: PathFeature = PathFeature.BoundingBoxBottom,
	inMinimum: float | None = None,
	inMaximum: float | None = None
)
-> outConditionalPath: Path | None

Parameters

Name Type Default Description
Input value inPath Path Input path
Input value inFeature PathFeature PathFeature.BoundingBoxBottom Path feature value to be computed
Input value inMinimum float | None None Lowest value of the range
Input value inMaximum float | None None Highest value of the range
Output value outConditionalPath Path | None The path if the condition is met or nothing otherwise