# Move reference plane

**URL:** <https://forum.dynamobim.com/t/move-reference-plane/33327>\
**Category:** Revit\
**Created:** [March 12, 2019, 12:35pm UTC](https://forum.dynamobim.com/t/move-reference-plane/33327 "2019-03-12T12:35:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadera](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@kadera](https://forum.dynamobim.com/u/kadera)\
**Post date:** [March 12, 2019, 12:35pm UTC](https://forum.dynamobim.com/t/move-reference-plane/33327/1 "2019-03-12T12:35:24Z")

</div>

Hello everyone,  
I would like to ask if there is any way how to move revit reference planes?  
There is way how to get dynamo plane from Revit plane, shift it and then create the new one. But I need to shift all original Revit planes becase of all links and elements based on them.  
Any sugestions?

---

<div class="post-metadata">

**Author:** ![lucamanzoni](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/lucamanzoni/32/56718_2.png) [@lucamanzoni](https://forum.dynamobim.com/u/lucamanzoni)\
**Post date:** [March 12, 2019, 3:34pm UTC](https://forum.dynamobim.com/t/move-reference-plane/33327/2 "2019-03-12T15:34:45Z")

</div>

Apparently there are not yet nodes using the method **ElementTransformUtils.MoveElement** , all the translations node are moving the geometry, not the Revit element.

[http://www.revitapidocs.com/2018.1/aaddd413-01b0-2878-3f79-a281abb6d364.htm](http://www.revitapidocs.com/2018.1/aaddd413-01b0-2878-3f79-a281abb6d364.htm)

Said that, the python node is quite easy:

```
import clr

clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
from Autodesk.Revit.DB.Structure import *

clr.AddReference('RevitAPIUI')
from Autodesk.Revit.UI import *

clr.AddReference('System')
from System.Collections.Generic import List

clr.AddReference('RevitNodes')
import Revit
clr.ImportExtensions(Revit.GeometryConversion)
clr.ImportExtensions(Revit.Elements)

clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager

doc = DocumentManager.Instance.CurrentDBDocument
uidoc=DocumentManager.Instance.CurrentUIApplication.ActiveUIDocument

elements = UnwrapElement(IN[0])
vect = UnwrapElement(IN[1]).ToXyz()

TransactionManager.Instance.EnsureInTransaction(doc)

for e in elements:
	move = ElementTransformUtils.MoveElement(doc, e.Id, vect)

TransactionManager.Instance.TransactionTaskDone()

OUT = elements

```

 ![MoveElement](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/6/d636ddac30ef77ca011c1b048fd9fc9d1643cf82.gif)

[MoveElement.dyn](https://forum.dynamobim.com/uploads/short-url/kUpkOQMGTK6oQsCcJRtOC54PZmC.dyn) (7.6 KB)

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [March 12, 2019, 5:41pm UTC](https://forum.dynamobim.com/t/move-reference-plane/33327/3 "2019-03-12T17:41:47Z")

</div>

Nice python script, but chances are the OOTB `Element.MoveByVector` node does the same.  
😉

---

<div class="post-metadata">

**Author:** ![lucamanzoni](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/lucamanzoni/32/56718_2.png) [@lucamanzoni](https://forum.dynamobim.com/u/lucamanzoni)\
**Post date:** [March 12, 2019, 6:34pm UTC](https://forum.dynamobim.com/t/move-reference-plane/33327/4 "2019-03-12T18:34:41Z")

</div>

@Alban_de_Chasteigner, I would like to blame the Dynamo search engine and the 8 working hours, but this is really embarrassing 😅  
However a good lesson for the future, thanks!

---

<div class="post-metadata">

**Author:** ![kadera](https://avatars.discourse-cdn.com/v4/letter/k/eada6e/32.png) [@kadera](https://forum.dynamobim.com/u/kadera)\
**Post date:** [March 13, 2019, 3:25pm UTC](https://forum.dynamobim.com/t/move-reference-plane/33327/5 "2019-03-13T15:25:56Z")

</div>

Thanks a lot for your help!  
Can’t believe that I miss thiss node …
