Getting value of CurveOrientation Enumeration

Hello everyone,
this should be a really simple one.
How can I get the number as a result of Curve.ClosedCurveOrientation?
I am getting “Clockwise” but I want to get -1.

Thank you in advance!

Use static cast or a Convert function, see

1 Like

Thank you!!