# Retrieve wall thickness

**URL:** <https://forum.dynamobim.com/t/retrieve-wall-thickness/33812>\
**Category:** Uncategorized\
**Created:** [March 21, 2019, 4:29am UTC](https://forum.dynamobim.com/t/retrieve-wall-thickness/33812 "2019-03-21T04:29:38Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![MartinSpence](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/martinspence/32/25208_2.png) [@MartinSpence](https://forum.dynamobim.com/u/MartinSpence)\
**Post date:** [March 21, 2019, 7:37am UTC](https://forum.dynamobim.com/t/retrieve-wall-thickness/33812/10 "2019-03-21T07:37:44Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/0/00ca8ba9e6000e58b14e7827d583e5ac9e935de3.png)

```
import clr

#Import the Revit API
clr.AddReference('RevitAPI')
import Autodesk
from Autodesk.Revit.DB import *

#Start scripting here:

walls = UnwrapElement(IN[0])

output = []

for i in walls:
	output.append(UnitUtils.ConvertFromInternalUnits(i.Width, DisplayUnitType.DUT_MILLIMETERS))

OUT = output

```

I was convinced @Andreas_Dieckmann had this in his portfolio 🙂

I can see theres one in Steam but it returns the width in meters:  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/5/c597c9301c4d21c4607744ec9be6d5c5df4f0bd1.png)

---

_[View the full topic](https://forum.dynamobim.com/t/retrieve-wall-thickness/33812)._
