Getting the rotation angle of a section in relation to project north

Hello,

Hoping this a simple one -

Is it possible to obtain the orientation of a section line in Revit, i.e. the angle in relation to project north?

I have used Get.Element.Position.Rotate.Mirror from the Bakery package successfully with model objects, but seem to be way out of my depth

I’m trying to find the relative angle of the section view so I can supply that back to a series of objects to orientate them to the view

Sorry if this has been solved already I searched in a few places and couldn’t find anything similar.

Thanks

I believe you can get the vector normal to the view from properties somehow, but I don’t remember off the top of my head…

EDIT: Probably requires Python unless there’s already a custom node, but here it is.
image

Hi @paul.goddard @Nick_Boyts

You can easily get the angle of a sections like this:

2 Likes

I figured there was a node that was quicker. Nice. :+1:

1 Like

Thank you for your help, that works like a dream!

I have taken the active view as the view input

Thanks again