# Replacing fondation walls by structural framing

**URL:** <https://forum.dynamobim.com/t/replacing-fondation-walls-by-structural-framing/27055>\
**Category:** Uncategorized\
**Created:** [October 10, 2018, 4:00pm UTC](https://forum.dynamobim.com/t/replacing-fondation-walls-by-structural-framing/27055 "2018-10-10T16:00:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JC.Moreno](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@JC.Moreno](https://forum.dynamobim.com/u/JC.Moreno)\
**Post date:** [October 10, 2018, 4:00pm UTC](https://forum.dynamobim.com/t/replacing-fondation-walls-by-structural-framing/27055/1 "2018-10-10T16:00:56Z")

</div>

Hi everybody,

I would like to know if I can replace wall foundations by structural framings as a foundation walls.

I know I can insert beams by a curve:  
[https://forum.dynamobim.com/t/create-lines-in-dynamo-and-convert-to-beams-in-revit/11794](https://forum.dynamobim.com/t/create-lines-in-dynamo-and-convert-to-beams-in-revit/11794)

However I don’t know how to get a curve from the center of a Wall or from the center of a Foundation Wall.

Thank you.

 ![WALLFOUNDATIONREPLACER](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/6/56319424164f70e9aef69d3ac221a5e8f775453f.png)

---

<div class="post-metadata">

**Author:** ![mellouze](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@mellouze](https://forum.dynamobim.com/u/mellouze)\
**Post date:** [October 10, 2018, 4:03pm UTC](https://forum.dynamobim.com/t/replacing-fondation-walls-by-structural-framing/27055/2 "2018-10-10T16:03:23Z")

</div>

Hi 🙂

> [@JC.Moreno](#):
>
> However I don’t know how to get a curve from the center of a Wall or from the center of a Foundation Wall.

I think you could use the **Element.GetLocation** node. That will give you the curve that define a wall (the line you drew on Revit i you will). Also work with beams.

---

<div class="post-metadata">

**Author:** ![JC.Moreno](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@JC.Moreno](https://forum.dynamobim.com/u/JC.Moreno)\
**Post date:** [October 11, 2018, 8:15am UTC](https://forum.dynamobim.com/t/replacing-fondation-walls-by-structural-framing/27055/3 "2018-10-11T08:15:30Z")

</div>

Thank you very much that works!

This solves a part of my problem.

I’m looking for a way to select the Foundation Wall that is hosted on the selected wall. I would like to do that for 3 reasons:  
1- Erase the existing Foundation Wall.  
2- Get and set the Mark parameter in the new beam.  
3- Get the dimension of the Fondation Walls to insert the correct new beam directly. (Perhaps I’m too ambitous 🤔)

Thank you.

 ![WALLFOUNDATIONREPLACER2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/4/e49d673ddf6665b5dc80501346958bf71a1ad58d.png)

---

<div class="post-metadata">

**Author:** ![mellouze](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@mellouze](https://forum.dynamobim.com/u/mellouze)\
**Post date:** [October 11, 2018, 8:23am UTC](https://forum.dynamobim.com/t/replacing-fondation-walls-by-structural-framing/27055/4 "2018-10-11T08:23:13Z")

</div>

> [@JC.Moreno](#):
>
> 1- Erase the existing Foundation Wall.

I think [archi-lab](https://forum.dynamobim.com/t/revit-2022-dynamo-2-10-package-not-showing-up-and-icons-missing/62933/7?) package has a Element.delete node.

Don’t know how to do the other things you want to do 😕
