# Get Wall Layer Thicknesses From Python and Dynamo

**URL:** <https://forum.dynamobim.com/t/get-wall-layer-thicknesses-from-python-and-dynamo/61733>\
**Category:** Uncategorized\
**Created:** [March 17, 2021, 11:02am UTC](https://forum.dynamobim.com/t/get-wall-layer-thicknesses-from-python-and-dynamo/61733 "2021-03-17T11:02:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lavinia.l](https://avatars.discourse-cdn.com/v4/letter/l/71e660/32.png) [@lavinia.l](https://forum.dynamobim.com/u/lavinia.l)\
**Post date:** [March 17, 2021, 11:02am UTC](https://forum.dynamobim.com/t/get-wall-layer-thicknesses-from-python-and-dynamo/61733/1 "2021-03-17T11:02:58Z")

</div>

I try get via Dynamo and Python the wall layer thicknesses. I have tried to apply an old post:

> [@Get Wall Layer Thicknesses From Python?](https://forum.dynamobim.com/t/get-wall-layer-thicknesses-from-python/40122):
>
> I’m trying to use wall api methods to get the wall layer thicknesses (specifically the core). Here is my script but it is returning null. I don’t understand where I am going wrong, using Revit Lookup and API Docs this should work. Another curious thing is that Wall.WallType in Python does not return the WallType object like the Wall Types node does. Any help would be appreciated. Thank you in advance!

However I am not getting anywhere with the script. I also changed the OUT to uppercase, but that does not help.  
Any advice would be appreciated, thanks.

---

<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 18, 2021, 4:22pm UTC](https://forum.dynamobim.com/t/get-wall-layer-thicknesses-from-python-and-dynamo/61733/2 "2021-03-18T16:22:13Z")

</div>

Hey,

Here’s a couple of options for you? I found the method linked chucked an error when it hit a curtain wall.

The first method gets all walls in the project, the 2nd gets those which have placed instances.

Also, if you can use Clockwork’s node then it’ll deal with your list structure for you (much easier than using Python). You can have a dig around in the Clockwork node and see how it works.

Hope that helps,

Mark

 ![Capture](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/e/ce9ecdf31bd07465df22361821a805c9ef21dcea.png) [Wall Thicknesses.dyn](https://forum.dynamobim.com/uploads/short-url/4pUye3JbLXXrjmPMNLKbr0fP4Wo.dyn) (10.1 KB)

---

<div class="post-metadata">

**Author:** ![lavinia.l](https://avatars.discourse-cdn.com/v4/letter/l/71e660/32.png) [@lavinia.l](https://forum.dynamobim.com/u/lavinia.l)\
**Post date:** [March 19, 2021, 9:40am UTC](https://forum.dynamobim.com/t/get-wall-layer-thicknesses-from-python-and-dynamo/61733/3 "2021-03-19T09:40:03Z")

</div>

Dear Mark,

that works perfect! Thank you!!

Best regards  
Lavinia

---

<div class="post-metadata">

**Author:** ![lavinia.l](https://avatars.discourse-cdn.com/v4/letter/l/71e660/32.png) [@lavinia.l](https://forum.dynamobim.com/u/lavinia.l)\
**Post date:** [March 19, 2021, 10:04am UTC](https://forum.dynamobim.com/t/get-wall-layer-thicknesses-from-python-and-dynamo/61733/4 "2021-03-19T10:04:05Z")

</div>

Hi Mark,

It seems to me that you are fit in this topic.  
I have another question. I have different wall constructions. In my drawings in Revit are also modeled screws. So far I have not found a solution to integrate these into my walls. Do you have an idea how I can output the screws and wall constructions together according to their spatial position in the Revit model?

---

<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 20, 2021, 7:40am UTC](https://forum.dynamobim.com/t/get-wall-layer-thicknesses-from-python-and-dynamo/61733/5 "2021-03-20T07:40:38Z")

</div>

Hi Lavinia,

No worries, it would be best if you could make a new topic, add a link to this one and include as much info as you can…

Screen grabs of the wall and screws with notes would be ideal… maybe a graph where you have made a start? Then we can try to help?

Thanks 🙂

Mark
