# Rotate mechanical family instance in different planes

**URL:** <https://forum.dynamobim.com/t/rotate-mechanical-family-instance-in-different-planes/93060>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [August 21, 2023, 2:24pm UTC](https://forum.dynamobim.com/t/rotate-mechanical-family-instance-in-different-planes/93060 "2023-08-21T14:24:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![denisyukj](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/denisyukj/32/166182_2.png) [@denisyukj](https://forum.dynamobim.com/u/denisyukj)\
**Post date:** [August 21, 2023, 2:24pm UTC](https://forum.dynamobim.com/t/rotate-mechanical-family-instance-in-different-planes/93060/1 "2023-08-21T14:24:28Z")

</div>

Hi,  
Does someone know how to rotate family instance in all planes (XY, XZ, YZ)? I was trying to reach it with CoordinateSystem nodes, but no luck. The instance still at he same place.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/e/8e8107f2ca62cdc38f82001f3a74686c820429dc.png)

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [August 21, 2023, 2:35pm UTC](https://forum.dynamobim.com/t/rotate-mechanical-family-instance-in-different-planes/93060/2 "2023-08-21T14:35:05Z")

</div>

Hi @denisyukj OpenMep have some great nodes for that…[Rotate revit family archi-lab.net - #6 by sovitek](https://forum.dynamobim.com/t/rotate-revit-family-archi-lab-net/92615/6)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [August 21, 2023, 2:52pm UTC](https://forum.dynamobim.com/t/rotate-mechanical-family-instance-in-different-planes/93060/3 "2023-08-21T14:52:19Z")

</div>

How you rotate your family (if even possible) is going to depend on how the family is built. Using a family instance rotation node with an axis of rotation will be the easiest option in most cases. But you’ll still likely have to deal with one or two alternatives based on what’s allowed.

---

<div class="post-metadata">

**Author:** ![denisyukj](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/denisyukj/32/166182_2.png) [@denisyukj](https://forum.dynamobim.com/u/denisyukj)\
**Post date:** [August 22, 2023, 6:48am UTC](https://forum.dynamobim.com/t/rotate-mechanical-family-instance-in-different-planes/93060/4 "2023-08-22T06:48:57Z")

</div>

Sorry for last long reply.

@Nick_Boyts Simple mechanical family with the following options. I can rotate it manually in any direction.

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

Idea of my script in setting and rotating new CS in intersection point of defined model lines and following placement family instance in this CS.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [August 22, 2023, 3:25pm UTC](https://forum.dynamobim.com/t/rotate-mechanical-family-instance-in-different-planes/93060/5 "2023-08-22T15:25:26Z")

</div>

Rotating about a specified axis should still be the easiest option. There may be a couple custom nodes that can accomplish that (archilab had one) or you can always use the Revit API.

> **[Rotate Method](https://www.revitapidocs.com/2022/ed4de043-9a60-f6cd-c09b-b13c4612b343.htm)**
>
> Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018
