# Wall property "Function"

**URL:** <https://forum.dynamobim.com/t/wall-property-function/11685>\
**Category:** Uncategorized\
**Created:** [May 11, 2017, 5:20am UTC](https://forum.dynamobim.com/t/wall-property-function/11685 "2017-05-11T05:20:22Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![JCupps](https://avatars.discourse-cdn.com/v4/letter/j/8edcca/32.png) [@JCupps](https://forum.dynamobim.com/u/JCupps)\
**Post date:** [January 3, 2022, 1:07pm UTC](https://forum.dynamobim.com/t/wall-property-function/11685/23 "2022-01-03T13:07:41Z")

</div>

thank you @jacob.small and @sovitek

---

<div class="post-metadata">

**Author:** ![Mike.Buttery](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mike.Buttery](https://forum.dynamobim.com/u/Mike.Buttery)\
**Post date:** [March 2, 2023, 9:14am UTC](https://forum.dynamobim.com/t/wall-property-function/11685/24 "2023-03-02T09:14:12Z")

</div>

It is possible to use the `System.Enum` methods to get values and objects from the Revit enumerations

```auto
import clr
import System

clr.AddReference("RevitAPI")
from Autodesk.Revit.DB import *

value = 1
OUT = System.Enum.GetName(WallFunction, value)
# 'Exterior'
OUT = System.Enum.GetNames(WallFunction)
# 'Interior', 'Exterior', 'Foundation', ...

```

You can also use this method to get built in items for filters

```auto
bic = System.Enum.ToObject(BuiltInCategory, elem.Category.Id)

```

[Previous page](https://forum.dynamobim.com/t/wall-property-function/11685.md?page=1)
