# How to make plane nodes transform/rotate together

**URL:** <https://discourse.slicer.org/t/how-to-make-plane-nodes-transform-rotate-together/24851>\
**Category:** Support\
**Created:** [August 21, 2022, 10:05am UTC](https://discourse.slicer.org/t/how-to-make-plane-nodes-transform-rotate-together/24851 "2022-08-21T10:05:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanchoi0519](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/seanchoi0519/32/10354_2.png) [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Post date:** [August 21, 2022, 10:05am UTC](https://discourse.slicer.org/t/how-to-make-plane-nodes-transform-rotate-together/24851/1 "2022-08-21T10:05:33Z")

</div>

Hello, I am trying to find a way to grab 2 planes (generated from markups module) and if I move 1 plane, I can make the other plane move by the identical x,y,z as well as rotation amount

How can I do this programmatically? assuming I have displayNodes of both planes.  
Thanks in advance!

---

<div class="post-metadata">

**Author:** ![seanchoi0519](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/seanchoi0519/32/10354_2.png) [@seanchoi0519](https://discourse.slicer.org/u/seanchoi0519)\
**Post date:** [August 21, 2022, 1:49pm UTC](https://discourse.slicer.org/t/how-to-make-plane-nodes-transform-rotate-together/24851/3 "2022-08-21T13:49:04Z")

</div>

After some research, I think the best way to do this would be by adding an observer of some sort to track the movement of one of the planes - then move them in sync. Would this be the way to go?  
Any other solutions are also welcome 🙂

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [November 13, 2022, 3:18pm UTC](https://discourse.slicer.org/t/how-to-make-plane-nodes-transform-rotate-together/24851/4 "2022-11-13T15:18:55Z")

</div>

You can find an example of how to rotate view planes together (for simulating x-view for heart valve imaging) in SlicerHeart extension’s [ValveView module](https://github.com/SlicerHeart/SlicerHeart/blob/master/ValveView/ValveView.py).
