# Adaptive Components - Set Instance Parameters with Dynamo

**URL:** <https://forum.dynamobim.com/t/adaptive-components-set-instance-parameters-with-dynamo/6542>\
**Category:** Revit\
**Tags:** revit, adaptivecomponent\
**Created:** [October 5, 2016, 7:15am UTC](https://forum.dynamobim.com/t/adaptive-components-set-instance-parameters-with-dynamo/6542 "2016-10-05T07:15:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krishna.duddumpudi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/krishna.duddumpudi/32/14548_2.png) [@krishna.duddumpudi](https://forum.dynamobim.com/u/krishna.duddumpudi)\
**Post date:** [October 5, 2016, 7:15am UTC](https://forum.dynamobim.com/t/adaptive-components-set-instance-parameters-with-dynamo/6542/1 "2016-10-05T07:15:04Z")

</div>

Having trouble accessing the instance parameters of the family through Dynamo. With the Element.SetParameterByName returning “No Parameter found by that name”. Please see screen shots below.

Any help would be appreciated! 🙂

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/7/7bbf774aeaf503e10a9c7490f7b83ce2fdf466b3.JPG)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/b/b03ad725c49d3aee7ea074771ff1e62a66f87219.JPG)

---

<div class="post-metadata">

**Author:** ![Mostafa\_El\_Ayoubi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/mostafa_el_ayoubi/32/7815_2.png) [@Mostafa\_El\_Ayoubi](https://forum.dynamobim.com/u/Mostafa_El_Ayoubi)\
**Post date:** [October 5, 2016, 7:38am UTC](https://forum.dynamobim.com/t/adaptive-components-set-instance-parameters-with-dynamo/6542/2 "2016-10-05T07:38:23Z")

</div>

Hi @krishna.duddumpudi ,

It looks like “Glass Frit Material” is actually a type parameter. Try "set type parameter"node from archi lab package, or with ootb nodes:

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/2X/8/8bedd654a8d4d207a55652081ea5a34970fe1c20.png)

Also, you’re going to need to feed that parameter a material, not a string. A material.ByName node should do the trick.

---

<div class="post-metadata">

**Author:** ![krishna.duddumpudi](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/krishna.duddumpudi/32/14548_2.png) [@krishna.duddumpudi](https://forum.dynamobim.com/u/krishna.duddumpudi)\
**Post date:** [October 5, 2016, 9:30pm UTC](https://forum.dynamobim.com/t/adaptive-components-set-instance-parameters-with-dynamo/6542/3 "2016-10-05T21:30:38Z")

</div>

Hi Mostafa,

Thanks for your reply, I needed it to be instance parameter and only change the materials on specified panels.

So I made the edit in the family and made the material and instance parameter and it works now!.. sometimes a cup of coffee helps! good to know about the archi-Lab node though.

Thanks again,

-K
