Create dictionary in Python, how?

Hello Dynos and Pythons,

actully i have a task that i already solved perfectly: so i placed symbols based on values


how can I sove this via python, i mean using less nodes! a startpoint is to make a dictionary:

x = {"Gelb" : IN[0], "Blau" : IN[1], "Rot" : IN[2]}
OUT = x

I want to integrade in one code as much nodes as i can
i am glad about any insperation and steps!

f.e. call familytype in the pythonCode, or get alle elements of category and locationPoint.

KR

Andreas

Projekt_.rvt (1.2 MB)

See if that helps

2 Likes