From the course: Advanced Revit and Dynamo for Interior Design

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Set rotation

Set rotation

From the course: Advanced Revit and Dynamo for Interior Design

Start my 1-month free trial

Set rotation

- [Instructor] From Dynamo, let's open the Rotations_Start.dyn. Click Change in the Select Model Elements node. Make sure to tab + select the corridor inside of your Revit project. If you click Run, you'll see that Dynamo's placed corner guards at all of the outside corners inside of the room. We're gonna set the rotation of all the corner guards to correctly land on the outside edge of our walls. Inside of Dynamo, we've compared the angles of each of the lines as they walk around the room. I'm gonna look at where that corner sits in relation to the overall clock rotation around the room. Select the Vector Angle about Axis node. Holding control on the keyboard, click and drag to copy the node. Take the input that's going into the other vector and wire that into the vector input on the vector Angle About Axis node. This is gonna take the vector of the overall line. We're gonna compare that to the Y angle around the room as it rotates around the Z axis. Search for the vector Y axis. And…

Contents