I have a single curve that I get from Rhino which comprises out of 2 curves. Namely a line and a curve. Depending on how the single curve is fliped in Rhino after I explode and use LIST component and choose item "0" it could be either of the two curves.
My only constant is that my LINE will always be the shortest between the two curves. I want my shortest LINE to always be ITEM "0" on the list.
So how can I make a condition that checks that Item "0" is the shortest LINE and if it is not, then FLIP the curve, so that it will be item "0".
My image attached shows what I have so far. (not much)
I would really be thankful for some help with this.
Tags:
- Attachments:
-