Set Value by Builtin Parameter Name

Hi all:

Does anyone know of a node or way to set a parameter value by it’s built in name? For example, Dynamo get’s confused with Curtain Wall type properties due to the duplicate parameter names, however, there are unique builtin names:

AUTO_MULLION_BORDER2_HORIZ "Border 2 Type"
AUTO_MULLION_BORDER1_HORIZ "Border 1 Type"
AUTO_MULLION_BORDER2_VERT "Border 2 Type"
AUTO_MULLION_BORDER1_VERT "Border 1 Type"
AUTO_MULLION_INTERIOR_HORIZ "Interior Type"
AUTO_MULLION_INTERIOR_VERT “Interior Type”

1 Like

In Python Script:

Element.get_Parameter(BuiltInParameter.NameofbuiltinParam).Set(ValueToSet)

so it would look like:

item.get_Parameter(BuiltInParameter.AUTO_MULLION_BORDER1_VERT).Set(BorderTypeId)

It won’t work for everything as some builtins are read-only…

 

Here’s a node that was added to archi-lab package that can handle that:

Capture1

Good luck!

Hey Konrad, I think we maybe chatted about this in another thread but I don’t remember for sure. The built in parameter node you have doesn’t handle family types, so setting border type mullions doesn’t work. I’d love for an update to this and thanks for your awesome contribution to the dynamo community!