# Change Type Parameter in Cable Tray

**URL:** <https://forum.dynamobim.com/t/change-type-parameter-in-cable-tray/45673>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [January 17, 2020, 3:44pm UTC](https://forum.dynamobim.com/t/change-type-parameter-in-cable-tray/45673 "2020-01-17T15:44:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![F.Bitetto](https://avatars.discourse-cdn.com/v4/letter/f/bcef8e/32.png) [@F.Bitetto](https://forum.dynamobim.com/u/F.Bitetto)\
**Post date:** [January 17, 2020, 3:44pm UTC](https://forum.dynamobim.com/t/change-type-parameter-in-cable-tray/45673/1 "2020-01-17T15:44:59Z")

</div>

I’m trying to change a type parameter of cable tray without success. I have used element.type node and also Element.SetParameterByNameTypeOrInstance (Rhytm). In same cases i get this error “No parameter found by that name”.

Thanks

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [January 20, 2020, 2:15am UTC](https://forum.dynamobim.com/t/change-type-parameter-in-cable-tray/45673/2 "2020-01-20T02:15:40Z")

</div>

Hi @F.Bitetto

> [@F.Bitetto](#):
>
> In same cases i get this error “No parameter found by that name”.

The error says it all. Make sure you have that parameter in cable tray types.

You can also do this way using OOTB Nodes:

- Select CableTrays using SelectModelElements node → GetParameterByname with parameter name as “Type”(This will get you CableTray Type) → SetParameterByname with your type parameter which you want to write the values.

Hope it helps!
