# Creating a List of Wall Types

**URL:** <https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302>\
**Category:** Revit\
**Tags:** revit\
**Created:** [February 1, 2017, 9:01pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302 "2017-02-01T21:01:35Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scott.Hawryluk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/scott.hawryluk/32/23987_2.png) [@Scott.Hawryluk](https://forum.dynamobim.com/u/Scott.Hawryluk)\
**Post date:** [February 1, 2017, 9:01pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/1 "2017-02-01T21:01:35Z")

</div>

I am trying to create a list of wall types that is just of the types not of the instances.

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [February 1, 2017, 9:17pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/2 "2017-02-01T21:17:45Z")

</div>

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/4/643888277157c215af2b8d3e717d6a4d8c7f12ed.png)

---

<div class="post-metadata">

**Author:** ![Scott.Hawryluk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/scott.hawryluk/32/23987_2.png) [@Scott.Hawryluk](https://forum.dynamobim.com/u/Scott.Hawryluk)\
**Post date:** [February 1, 2017, 9:20pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/3 "2017-02-01T21:20:43Z")

</div>

this works to get a list of all the wall elements. I am looking to get a list of just the wall types. if I have 4 walls that has a type mark of P4A and 7 of P8A I want to have a list that only shows P4A AND P8A not a list of 11 wall types.

---

<div class="post-metadata">

**Author:** ![john\_pierson](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/john_pierson/32/191977_2.png) [@john\_pierson](https://forum.dynamobim.com/u/john_pierson)\
**Post date:** [February 1, 2017, 9:25pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/4 "2017-02-01T21:25:45Z")

</div>

Oh, Is selecting them an option?

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/0/10a3d24102e33425e271a626176db8fb06328823.png)

Or are you wanting **Types of all placed walls**?

---

<div class="post-metadata">

**Author:** ![Scott.Hawryluk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/scott.hawryluk/32/23987_2.png) [@Scott.Hawryluk](https://forum.dynamobim.com/u/Scott.Hawryluk)\
**Post date:** [February 1, 2017, 9:28pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/5 "2017-02-01T21:28:08Z")

</div>

what I am trying to do is to be able to select a wall type by level and change the top offset of the wall. I am able to select the level as there are no duplicates but I am unable to select a wall type, not instance.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/5/a503bd6115d3cf8527067051f6940b91857ff146.PNG)

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [February 1, 2017, 9:39pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/6 "2017-02-01T21:39:41Z")

</div>

“Top Offset” isn’t a type parameter, see here how you could set it:

> [@Interior Function Wall Tops Offset set by Floor Thickness](https://forum.dynamobim.com/t/interior-function-wall-tops-offset-set-by-floor-thickness/3073/2):
>
> Jay, This will filter your list of walls into interior only. Just feed you floor thickness into value. I assume your next step is to determine which interior walls are associated with which floors. &nbsp;

---

<div class="post-metadata">

**Author:** ![Scott.Hawryluk](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/scott.hawryluk/32/23987_2.png) [@Scott.Hawryluk](https://forum.dynamobim.com/u/Scott.Hawryluk)\
**Post date:** [February 1, 2017, 9:41pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/7 "2017-02-01T21:41:41Z")

</div>

I want to be able to select the wall type, not function, I have tried this and it will offset all of my interior walls and I do not want this to happen as some walls need to go higher or lower depending on type

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/6/76de2ce8bbb99745e8986f2776897d670ddf613d.PNG) this is what I have created for this to work, but now I want to be able to choose what level, wall type and offset in a pop-up dialog box

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [February 1, 2017, 9:45pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/8 "2017-02-01T21:45:54Z")

</div>

You could consider replacing “Function” by “Type” to filter your walls…

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [February 1, 2017, 10:23pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/9 "2017-02-01T22:23:25Z")

</div>

If i’m reading this right, every wall that is P4A should be one top offset and every wall that is P8A should have another, regardless of level or other variable.

- All elements of category “walls”
- Get the type of each parameter
- Group by key to create sublists of the original walls by their type
- Assign top offset to each group based on the desired value.
  - Use the unique keys to help you decipher what the3 values should be, and then plug the desired values into into the set parameter value by name node accordingly.

Note that you may want to filter out walls which are unconnected or by the unconnected height value being under a certain dimension so as to not risk accidentally extending a partial height wall.

---

<div class="post-metadata">

**Author:** ![AdamHamilton](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@AdamHamilton](https://forum.dynamobim.com/u/AdamHamilton)\
**Post date:** [December 5, 2017, 3:55pm UTC](https://forum.dynamobim.com/t/creating-a-list-of-wall-types/9302/10 "2017-12-05T15:55:32Z")

</div>

raising an old post but I have been working with walls lately and the “Top Offset” parameter can crap out a script because it can become read-only on some walls.
