Parameter value StorageType ElementId list

Hello dynamiters,

The parameter “5D Nutzungsgruppe” is a room parameter, which StorageType is ElementId.

I am creating some rooms and I would like to set the parameter “5D Nutzungsgruppe”,
how should I proceed? I tried parameter.Set() and parameter.SetValueString() from the String value for instance “1 Wohnen und Aufenthalt” but it doesnt work

Then I am trying to obtain the Element ID value of for example “1 Wohnen und Aufenthalt” trying things out like:
param_list = room.LookupParameter(“5D Nutzungsgruppe”).Definition.ParameterGroup
but nothing work…

Any ideas?
thanks in advance.

Did you tried with Dynamo Nodes?

is there any Dynamo nodes for that? I wont mind using then but I dont know any that would fit

use "Element.SetParameterByName"

Hi @igpema,

There is no such thing as ElementId as StorageType. You are just getting the Element id of the storage type. Can you share a sample file and a dynamo you are using?

-biboy