Find out if section is flipped

Is there a property or way to find out if a section view has been flipped by the method below?

image

You can collect the views view direction via a vector to tell you which side the flip is facing.

Hope this helps!

Thanks for the input!

Technically it’s not that simple. Example: working with elevation views of a building. On one elevation of the building, a vertical section cut facing towards the right, the x or y value would be positive, however a vertical section cut facing towards the right on the opposite elevation of the building, the x or y value would be negative.

So, I guess the only option would be to compare vectors of the section cut to the vectors of the actual view the section is being cut in and if they are opposite, then you would know the view has been flipped/rotated.

I was hoping there was just a setting that I could reference, but I guess it’s not going to be that simple.

What is your goal for collecting the sections flip identity? Perhaps there is something else that can be done with the information about the section and it’s surrounding elements?

Facing direction is based on the initial draw direction. So if you have the head and tail locations you can determine whether the facing direction is the default or not (flipped).

The current need is only with assembly section views. We make assemblies out of elements for creating production tickets. When two elements are very similar, the production tickets are basically the same with a few differences. I created a script that takes the sheets, views, schedules, etc. from an existing assembly and creates the exact same things for second assembly. When creating the sections for the new assembly, if the view was flipped on the original assembly, I want to do the same for the view on the new assembly.

Thanks for the help!

Thanks for the feedback @Nick_Boyts. I will look into that also.