# Set the parameter/Material and other of a Fabric Reinforcement sheet

**URL:** <https://forum.dynamobim.com/t/set-the-parameter-material-and-other-of-a-fabric-reinforcement-sheet/85363>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [January 26, 2023, 10:05am UTC](https://forum.dynamobim.com/t/set-the-parameter-material-and-other-of-a-fabric-reinforcement-sheet/85363 "2023-01-26T10:05:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![s.hofer6LSK7](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@s.hofer6LSK7](https://forum.dynamobim.com/u/s.hofer6LSK7)\
**Post date:** [January 26, 2023, 10:05am UTC](https://forum.dynamobim.com/t/set-the-parameter-material-and-other-of-a-fabric-reinforcement-sheet/85363/1 "2023-01-26T10:05:21Z")

</div>

Hello everyone,

i want to overwrite the parameters “Material” and “Major Direciton Type” with Dynamo.  
For the rest of the parameters which are number based I used the node “Element.Set.ParameterByName”.

But I don’t know how to override the parameters described above.

Thanks for any advice

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/c/4cf56aa73adbbb1e841d58625d604b1572900dcd.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [January 26, 2023, 4:42pm UTC](https://forum.dynamobim.com/t/set-the-parameter-material-and-other-of-a-fabric-reinforcement-sheet/85363/2 "2023-01-26T16:42:05Z")

</div>

The same node will work, you just have to provide the correct object types. Material takes a material element and the direction is likely a number (assuming it’s a dropdown). The easiest thing to do in these situations when you may not know the object type you need to supply, is to use `GetParameterByName` first to return those values. Revit will usually return them in the same format that you need to supply them.

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [January 26, 2023, 5:16pm UTC](https://forum.dynamobim.com/t/set-the-parameter-material-and-other-of-a-fabric-reinforcement-sheet/85363/3 "2023-01-26T17:16:22Z")

</div>

@s.hofer6LSK7 ,

be aware you have to access Type parameters differently

 ![grafik](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/d/ad7df528d45b7874596a7c99f2a2dc819c885560.png)  
KR  
Andreas

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [January 26, 2023, 5:19pm UTC](https://forum.dynamobim.com/t/set-the-parameter-material-and-other-of-a-fabric-reinforcement-sheet/85363/4 "2023-01-26T17:19:05Z")

</div>

I completely missed that they’re type parameters. Good eye, @Draxl_Andreas.

The important thing here is that type parameters come from the type just like instance parameters come from the instance. You need to get the family type from the instance in order to modify type parameters.

---

<div class="post-metadata">

**Author:** ![s.hofer6LSK7](https://avatars.discourse-cdn.com/v4/letter/s/cdc98d/32.png) [@s.hofer6LSK7](https://forum.dynamobim.com/u/s.hofer6LSK7)\
**Post date:** [January 27, 2023, 2:40pm UTC](https://forum.dynamobim.com/t/set-the-parameter-material-and-other-of-a-fabric-reinforcement-sheet/85363/5 "2023-01-27T14:40:13Z")

</div>

Hi @Nick_Boyts, @Draxl_Andreas,

Thanks for the advice.  
The material input works with the “Materials” node. I also get the query with the “Mattenstab Querbewehrung”.

Which node do I have to use that I can determine the input “Value” of “Elements.SetParameter.ByNameTypeOrINstance” node, and possibly as a drop down field, similar to the material?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/8/e86c419c58d779bb9f419013603f9fd4d87cd38f.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [January 27, 2023, 2:56pm UTC](https://forum.dynamobim.com/t/set-the-parameter-material-and-other-of-a-fabric-reinforcement-sheet/85363/6 "2023-01-27T14:56:28Z")

</div>

I don’t quite follow your question. It’s the same as before. When dealing with a type parameter you need to use the family type or find a custom node that takes both instance and type parameters.

Not all values will have a dropdown list. In fact, most will not. This is why it’s a good idea to get existing values so you know what you need ahead of time. Or sometimes you can look into the API if you’re dealing with builtin parameters.
