# Is there a way to swap between railing types?

**URL:** <https://forum.dynamobim.com/t/is-there-a-way-to-swap-between-railing-types/91096>\
**Category:** Revit\
**Tags:** revit, excel, dynamo\
**Created:** [June 23, 2023, 4:58pm UTC](https://forum.dynamobim.com/t/is-there-a-way-to-swap-between-railing-types/91096 "2023-06-23T16:58:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![gerhard.p](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gerhard.p/32/147675_2.png) [@gerhard.p](https://forum.dynamobim.com/u/gerhard.p)\
**Post date:** [June 23, 2023, 6:03pm UTC](https://forum.dynamobim.com/t/is-there-a-way-to-swap-between-railing-types/91096/2 "2023-06-23T18:03:37Z")

</div>

Hello @mcheruse 🙂

Welcome to the Dynamo Forum!

Whoa, your graph is a pretty wild ride! Pretty much all inputs are wrong in your set parameter node.  
And getting an element ID and then Element by ID is the same as doing … nothing.

Let´s take some time and think about what you even want to do.

Do you want to change a type name? I don´t think so, you want to change a type.  
Do you want to change the type of a family? I don´t think so, a family contains types. You can add or delete them. How would you “change” them?

What you want to do is to change the type of a family instance, an element.  
What you are doing is changing the type name of a type, with a type. That makes no sense.

I´d suggest to start with a “select model element” node. Select one of your railings, see what element you get in dynamo and try to change the type of this element. If this works you can progress and add things to your graph.

And I´m sure there are about 100.000 threads on the internet about changing a type 🙂

> **[Change Loadable Family Types Using DynamoBIM!](https://therevitcomplex.blogspot.com/2016/02/change-loadable-family-types-using.html)**
>
> Have you ever wanted to change a loadable family type using the Revit UI? OF COURSE... You just use the type selector.... Have you ever wan...

> [@How to Change Family Type](https://forum.dynamobim.com/t/how-to-change-family-type/10757):
>
> Hello all, i am a new bee. please help me. i want to change family type which is already placed in revit project (eg. Window-1 is placed in revit project and i want to change it to Window-2). which nodes to be used ? please explain bit detail. Thanks in advance.

Finally, this is how to change the type of all railing elements:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/6/a6f4fedb0cf9eb91b93d46b048350d79ba999b58.png)

I use elements as elements.,  
I change the “Type”,  
by using a Type.

Kind Regards

---

_[View the full topic](https://forum.dynamobim.com/t/is-there-a-way-to-swap-between-railing-types/91096)._
