Skip to main content

Hello!

I have a line where the first and last vertex contains the real z height (see on photo).

I want to set the direction of the line in the that it shows to the lower point, so the 0 vertext is higher, than the last coordinate. Is there a way that can change the original random orientation to fit this rule?

Thanks

 

If you extract the first and the last z value, you can then test if the last z value is higher than the first and send anything that passes into an orientor to flip the line


If you extract the first and the last z value, you can then test if the last z value is higher than the first and send anything that passes into an orientor to flip the line

Thanks! It solved correctly my problem!


Reply