# Geometry translate in z direction with respect to values

**URL:** <https://forum.dynamobim.com/t/geometry-translate-in-z-direction-with-respect-to-values/83352>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [November 22, 2022, 7:02am UTC](https://forum.dynamobim.com/t/geometry-translate-in-z-direction-with-respect-to-values/83352 "2022-11-22T07:02:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shashank.baganeACM](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank.baganeACM](https://forum.dynamobim.com/u/shashank.baganeACM)\
**Post date:** [November 22, 2022, 7:02am UTC](https://forum.dynamobim.com/t/geometry-translate-in-z-direction-with-respect-to-values/83352/1 "2022-11-22T07:02:51Z")

</div>

Hi all,

I am trying to translate line geometry in z direction at a distance. but I am not getting as per the requirement.

I have list of lines (grouped by lengths) and list of distances. I want to translate geometry with respect to distance feeded. I have even tried to change levels, lacing but not working. Please find the snip below for the reference. Please let me know where I am missing ?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/d/0d4e495dd64d2a9eefe42f46dec72c7910b47b13.jpeg)

The required result will something look like this

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/2/22f3f1d1c5a9bbe833256d77cd913f5daaca80c4.png)

---

<div class="post-metadata">

**Author:** ![shashank.baganeACM](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shashank.baganeACM](https://forum.dynamobim.com/u/shashank.baganeACM)\
**Post date:** [November 22, 2022, 7:26am UTC](https://forum.dynamobim.com/t/geometry-translate-in-z-direction-with-respect-to-values/83352/2 "2022-11-22T07:26:46Z")

</div>

If I am not wrong I have done this to get the required result but if I receive optimized solution it will be highly appreciated. Thanks

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/4/541424ebecea996d8474f563be73e2355b91bb59.jpeg)
