# Create Walls using Wall.ByFace from a DirectShape Mass

**URL:** <https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [February 22, 2019, 4:22am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502 "2019-02-22T04:22:46Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![archjahzzy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/archjahzzy/32/26144_2.png) [@archjahzzy](https://forum.dynamobim.com/u/archjahzzy)\
**Post date:** [February 22, 2019, 4:22am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502/1 "2019-02-22T04:22:46Z")

</div>

Hi all,

I have scoured the forum to get the answer bec I assume this is a really simple problem, but with no luck.

Basically, I am just trying to create a wall from a twisting tower. Meaning, walls will be created by either lofting the bottom & top floor plate, OR by by using something like the Wall by Face in Revit (which I thought `Wall.ByFace` could do).

Here’s what I’ve tried so far:

1. Split all Surfaces, then created Mass in Revit using Dynamo (`DirectShape.ByGeometry`), but apparently, it’s still not considered a Revit Mass so the `Wall.ByFace` node failed.
2. Created `Wall.ByCurveAndHeight` and `Wall.ByCurveAndLevel` but it doesn’t give me the smooth connection that I want.
3. Created a Lofted Surface and converted the created Geometry into a DirectShape Wall object in Revit which is not really what I want.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/5/15e13f2dc6d6a8704a711bb715ff59804b8537c0.png)

I know creating a wall like this requires a mass object when doing it in Revit, but I can’t see anything else that does this except using DirectShape… I’m not sure what other approach there is - I know a lot of people must have been doing this since I have already seen crazy 3d conceptual models done in Dynamo so there should be a way to make them useable in Revit for documentation, right?

I have been using Dynamo for almost a year now but bummed to know that I can’t create something so simple. Can somebody point me to the right direction? Is there something I’m missing? Is this something Python could do?

---

<div class="post-metadata">

**Author:** ![saju\_autodesk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/saju_autodesk/32/61838_2.png) [@saju\_autodesk](https://forum.dynamobim.com/u/saju_autodesk)\
**Post date:** [February 22, 2019, 5:16am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502/2 "2019-02-22T05:16:50Z")

</div>

Hi I am also working on a similar workflow and the spring node here seems to be helpful.  
I believe that the node you are using generates meshes and not surfaces.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/45c7a18916710b13e9d4aa37092a3fe59b6aa3d4.png)

And for creating Mass objects  
One approach I know is by using “Springs.FamilyInstance.ByGeometry” node by passing in a conceptual mass template.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [February 22, 2019, 6:18am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502/3 "2019-02-22T06:18:23Z")

</div>

I can create a mass family of Dynamo geometry using Springs package, which I can then go into Revit and use the Wall By Face tool. But it won’t let me use those same mass faces in Dynamo’s Wall.ByFace, giving me the error “The selected face cannot be used to create a wall. Please use a mass face instead.”

I will try another method in a bit. For now, here is a way to turn your geometry into a mass family:

 ![createmass](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/8/88ae2a65f57ccf9ec9eb7a218a365f73c2c0abb7.png) ![masswalls](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/e/4e08bf23816e49a4561faa3535c794b598cdfceb.png)

---

<div class="post-metadata">

**Author:** ![archjahzzy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/archjahzzy/32/26144_2.png) [@archjahzzy](https://forum.dynamobim.com/u/archjahzzy)\
**Post date:** [February 22, 2019, 7:12am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502/4 "2019-02-22T07:12:14Z")

</div>

Hi @kennyb6, thank you!

I do have Springs package but didn’t think they have it. I need to look at all the Packages I installed now and test all the nodes they have. 🙂 Thanks so much, this should do for now, but I will also wait for your “other method” if you have a better one 🙂

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [February 22, 2019, 9:26am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502/5 "2019-02-22T09:26:15Z")

</div>

Honestly, I am pretty stuck. I am in a weird loop. Mass created using the springs package I showed above works with the Revit tool Wall By Face but API won’t use its faces for walls. The weird part is that it passes the `IsValidFaceReferenceForFaceWall()` test so it should work but it gives an error that just says “Could not create a face wall.”

If I use the Revit tool for Place Mass using the family created with nodes, and then run the api script, it works though. So I thought maybe it has something to do with the creation method but I can’t find an explicit create for a place mass family so I am stuck. Maybe someone more experienced like @Konrad_K_Sobon or @Kulkul can help. This is all I have so far for creating walls using mass, which was taken from here: [https://thebuildingcoder.typepad.com/blog/2017/12/creating-face-wall-and-mass-floor.html](https://thebuildingcoder.typepad.com/blog/2017/12/creating-face-wall-and-mass-floor.html)

[createmasswall.dyn](https://forum.dynamobim.com/uploads/short-url/jddTWVlN5rUQBjySJi5qmdDOaHo.dyn) (9.8 KB)

I would be really curious if you can make your entire building into a single solid/familyinstance using the springs node, then use the place mass tool to place it and try using this script to see if it works.

---

<div class="post-metadata">

**Author:** ![Mark.Ackerley](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mark.ackerley/32/79310_2.png) [@Mark.Ackerley](https://forum.dynamobim.com/u/Mark.Ackerley)\
**Post date:** [March 13, 2019, 10:21am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502/6 "2019-03-13T10:21:44Z")

</div>

Hey Kenny,

Is this what you’re seeing? It works fine for a mass made in Revit, but fails with one made from Dynamo?

Odd…

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

Cheers,

Mark

---

<div class="post-metadata">

**Author:** ![kennyb6](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@kennyb6](https://forum.dynamobim.com/u/kennyb6)\
**Post date:** [March 13, 2019, 10:33am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502/7 "2019-03-13T10:33:10Z")

</div>

No, the error I got was specifically saying that “the face is not a mass face, please use a mass face” or something along that line.

I think that graph I attached before is a slightly older version. I can attach the newer one and the Revit file I’m using tomorrow.

---

<div class="post-metadata">

**Author:** ![Ning\_Zhou](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ning_zhou/32/68283_2.png) [@Ning\_Zhou](https://forum.dynamobim.com/u/Ning_Zhou)\
**Post date:** [September 3, 2019, 7:48am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502/8 "2019-09-03T07:48:14Z")

</div>

the mass created via DirectShape.ByGeometry (both OOTB and Spring) cannot be used via Wall By Face in Revit, is it because it’s created in RVT instead of RFA?

---

<div class="post-metadata">

**Author:** ![archjahzzy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/archjahzzy/32/26144_2.png) [@archjahzzy](https://forum.dynamobim.com/u/archjahzzy)\
**Post date:** [October 3, 2019, 7:17am UTC](https://forum.dynamobim.com/t/create-walls-using-wall-byface-from-a-directshape-mass/32502/9 "2019-10-03T07:17:48Z")

</div>

Hi,

Yes! I just realized this recently. It has to be created as an in-place mass or loadable mass family. 🙂
