# How can I get the center line of the core of a wall on Dynamo?

**URL:** <https://forum.dynamobim.com/t/how-can-i-get-the-center-line-of-the-core-of-a-wall-on-dynamo/46551>\
**Category:** Revit\
**Tags:** revit, python, dynamo\
**Created:** [February 9, 2020, 10:02pm UTC](https://forum.dynamobim.com/t/how-can-i-get-the-center-line-of-the-core-of-a-wall-on-dynamo/46551 "2020-02-09T22:02:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pauloferreira.dyn](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/pauloferreira.dyn/32/89346_2.png) [@pauloferreira.dyn](https://forum.dynamobim.com/u/pauloferreira.dyn)\
**Post date:** [February 9, 2020, 10:02pm UTC](https://forum.dynamobim.com/t/how-can-i-get-the-center-line-of-the-core-of-a-wall-on-dynamo/46551/1 "2020-02-09T22:02:02Z")

</div>

I need to place a family at the core center of a wall. The node Element.GetLocation only gives me the central axis of the wall. Does anybody know how to get the core central axis line of a wall?

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [February 9, 2020, 11:17pm UTC](https://forum.dynamobim.com/t/how-can-i-get-the-center-line-of-the-core-of-a-wall-on-dynamo/46551/2 "2020-02-09T23:17:07Z")

</div>

Could you show your graph with all the previews on.

---

<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:** [February 10, 2020, 8:03am UTC](https://forum.dynamobim.com/t/how-can-i-get-the-center-line-of-the-core-of-a-wall-on-dynamo/46551/3 "2020-02-10T08:03:49Z")

</div>

Hi @pauloferreira.dyn,

You can retrieve all the wall layers locations with the _Wall CompoundStructureLayersLocation_ node and the core location with a filter :

 ![Core location](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/d/ad04eecbd0fcba1d2714c6155285ce77734c6b93.png)

---

<div class="post-metadata">

**Author:** ![pauloferreira.dyn](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/pauloferreira.dyn/32/89346_2.png) [@pauloferreira.dyn](https://forum.dynamobim.com/u/pauloferreira.dyn)\
**Post date:** [February 12, 2020, 11:33pm UTC](https://forum.dynamobim.com/t/how-can-i-get-the-center-line-of-the-core-of-a-wall-on-dynamo/46551/4 "2020-02-12T23:33:40Z")

</div>

Thank you so much, brother!!! You really helped me !!! Great package!!!
