# Rotating Revit family in two Planes simultaneously

**URL:** <https://forum.dynamobim.com/t/rotating-revit-family-in-two-planes-simultaneously/90615>\
**Category:** Revit\
**Created:** [June 12, 2023, 8:04am UTC](https://forum.dynamobim.com/t/rotating-revit-family-in-two-planes-simultaneously/90615 "2023-06-12T08:04:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![isaq.ghasemi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/isaq.ghasemi/32/163060_2.png) [@isaq.ghasemi](https://forum.dynamobim.com/u/isaq.ghasemi)\
**Post date:** [June 12, 2023, 8:04am UTC](https://forum.dynamobim.com/t/rotating-revit-family-in-two-planes-simultaneously/90615/1 "2023-06-12T08:04:50Z")

</div>

Hello,

Does anyone know how to rotate multiple Revit elements/family in two planes at the same time?  
I have a few solar panels and i want to rotate them in both zy and zx plane at the same time, but don’t find any node that does that.

I have used Geometry.Rotate and CoordinateSystem.Rotate but with them it’s not possible to rotate along two planes at the same time.  
Thanks for your help.

---

<div class="post-metadata">

**Author:** ![pyXam](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/pyxam/32/163009_2.png) [@pyXam](https://forum.dynamobim.com/u/pyXam)\
**Post date:** [June 12, 2023, 9:47am UTC](https://forum.dynamobim.com/t/rotating-revit-family-in-two-planes-simultaneously/90615/2 "2023-06-12T09:47:34Z")

</div>

Hello! i think i’ve read some things in the past about rotating families on a duel axis here;

> [@Rotate family instance around axis](https://forum.dynamobim.com/t/rotate-family-instance-around-axis/61890/5):
>
> @jacob.small Family was created as generic model hosted in to an adaptive family. Location is on the insertion point and the profile cross section was drawn in Front view. A way around is to create the points via dynamo and set the work plane of each point and manually Place the nested family, but laborious so hoping Dynamo could do this for me. Appreciate your advice.

alternatively, if you don’t require a high level of detail you could take this approach.

1. Convert the elements into geometry
2. Rotate the geometry on both the axis you want
3. Create a new family from the rotated geometry.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/7/f765666fad3102175b5ff080348fabfdc159325f.png)

---

<div class="post-metadata">

**Author:** ![isaq.ghasemi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/isaq.ghasemi/32/163060_2.png) [@isaq.ghasemi](https://forum.dynamobim.com/u/isaq.ghasemi)\
**Post date:** [June 12, 2023, 10:20am UTC](https://forum.dynamobim.com/t/rotating-revit-family-in-two-planes-simultaneously/90615/3 "2023-06-12T10:20:22Z")

</div>

I have read the post there. I don’t think the suggestions there will help me since the suggestions are directed towards adaptive family. In my case I just have simple solar panles.  
On the other hand, your suggestion is good. This gives me the final result. But I need to see how the panels are rotating in two planes simultaneously to do a solar analysis.  
My goal is to creat a point which will represent the sun. And when the ponit moves the solar panels will follow the movement and rotate twords the point. So it is the movement that I am more intrested in not the final resualt.

---

<div class="post-metadata">

**Author:** ![pyXam](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/pyxam/32/163009_2.png) [@pyXam](https://forum.dynamobim.com/u/pyXam)\
**Post date:** [June 12, 2023, 10:30am UTC](https://forum.dynamobim.com/t/rotating-revit-family-in-two-planes-simultaneously/90615/4 "2023-06-12T10:30:47Z")

</div>

Oh! in that case, then this looks more promising for you.  
you can create a family using this as a guide (But more specific to your needs)

[![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/6/d6a83bb1964aa5fb1c864a6eefe867edfb15380d.jpeg "Rotating panels | Revit and Dynamo | Free content") ](https://www.youtube.com/watch?v=yqU2FNo0UfE)

Then use a dynamo to drive the parameter values into each of the solar panels for angles based off the point vectors in relation to the families.

---

<div class="post-metadata">

**Author:** ![isaq.ghasemi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/isaq.ghasemi/32/163060_2.png) [@isaq.ghasemi](https://forum.dynamobim.com/u/isaq.ghasemi)\
**Post date:** [June 12, 2023, 10:59am UTC](https://forum.dynamobim.com/t/rotating-revit-family-in-two-planes-simultaneously/90615/5 "2023-06-12T10:59:25Z")

</div>

Thank you for your answers.  
My panels have no rotation parameters. I wanted to use dynamo for rotation in two axis/planes at the same time. But the video gave me the idea to create rotation parameters inside the family first. I think if I create two parameters one for ratation in zy and one for rotation in zx than it should solve what I want to achieve. Thanks again for your guidness.

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [June 12, 2023, 11:16am UTC](https://forum.dynamobim.com/t/rotating-revit-family-in-two-planes-simultaneously/90615/6 "2023-06-12T11:16:50Z")

</div>

The best path forward on this is going to come down to the intended result.

- If in the end you’re going to want a dynamic panel which sits on a frame and moves, I’d go with a pair of parameters for the rotation of the panel on the frame as it will allow demonstration of how the panel adjusts throughout the year/day.

- If in the end you’re going to want a static panel which sits on a frame without moving, I’d go with the adaptive route as it will allow setting the panels where they need to be with the least amount of complexity in the project environment.

Both will require you revisit your family to allow for the flexibility you intend.
