Set Value in Shared Parameter

Good morning,

I am trying to get the surface value of generic model panels (so I can easily get the takeoff when I have a wall finish with different panels and "weird’’ patterns). Everything seems working fine until I use the node ‘Element.SetParameterByName’. The warning says this:

**Warning: Element.SetParameterByName operation failed. **
No parameter found by that name.

Any suggestion?

![Get Area for JLL Generic Model xbWQh0F5YTksZSYBu8LJyVb.png)

Thank you

Okay, I’ve used the rhythm package and the node Elements.SetParameterByNameTypeOrInstance and it works.

I do not understand the difference but it works…


Hi @jmariper,

your first graph was returning the error because you were trying to set a type parameter giving as input an instance.
To set the type parameter you simply have to get the type of the instances you sorted.

You can do that by using “Element.GetParameterValueByName” node like in this picture:
the output of this node then can enter in the “Element.SetParameterByName” node.