# Moving Revit model built-in grid lines with Dynamo

**URL:** <https://forum.dynamobim.com/t/moving-revit-model-built-in-grid-lines-with-dynamo/1893>\
**Category:** Packages\
**Created:** [July 29, 2015, 5:58pm UTC](https://forum.dynamobim.com/t/moving-revit-model-built-in-grid-lines-with-dynamo/1893 "2015-07-29T17:58:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Trinelle](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_trinelle/32/10258_2.png) [@Thomas\_Trinelle](https://forum.dynamobim.com/u/Thomas_Trinelle)\
**Post date:** [July 29, 2015, 5:58pm UTC](https://forum.dynamobim.com/t/moving-revit-model-built-in-grid-lines-with-dynamo/1893/1 "2015-07-29T17:58:52Z")

</div>

Hi all,

I’m new on the platform, started a week ago, and still figuring my way through it.

I have been trying to solve a pretty simple problem but haven’t found a solution yet. **I am trying to move/translate a grid line that was built Revit using Dynamo.**

Eventually the idea is that if your building elements are all tied together (constrained), moving the grid line should update the rest of the structure. I have tried several approaches: extracting the grid line’s location or reference curve, constraining the Revit built grid line with a Dynamo built grid line, inputting constrained in Revit and accessing them in Dynamo, etc. I’ve spent a significant amount of time on this and it’s about time I seek out to brighter minds…

Thanks in advance for your help !

Thomas

---

<div class="post-metadata">

**Author:** ![Thomas\_Trinelle](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/thomas_trinelle/32/10258_2.png) [@Thomas\_Trinelle](https://forum.dynamobim.com/u/Thomas_Trinelle)\
**Post date:** [July 31, 2015, 2:52pm UTC](https://forum.dynamobim.com/t/moving-revit-model-built-in-grid-lines-with-dynamo/1893/2 "2015-07-31T14:52:04Z")

</div>

If people are facing a similar issue, here is the definition that I used.

Note: Works with lists of items (not only Grid), don’t use it in “Automatic” or it’ll crash Revit. If you do, make sure to have an “while” statement to reach the target location.

Thomas

![Blog](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/2X/6/6b50379551ca18137e3f76f2b05bf1f860938c89.png)

---

<div class="post-metadata">

**Author:** ![Eduard\_Louis](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/eduard_louis/32/27693_2.png) [@Eduard\_Louis](https://forum.dynamobim.com/u/Eduard_Louis)\
**Post date:** [April 23, 2018, 12:33pm UTC](https://forum.dynamobim.com/t/moving-revit-model-built-in-grid-lines-with-dynamo/1893/3 "2018-04-23T12:33:22Z")

</div>

Hello,  
can anyone help me with this python code? The quality of the image is to low to see something.
