Entering value to parameter from excel based on the workset

Hi @jacob.small @SeanP @Jonathan.Olesen, I’m trying to fill Revit element parameter values in Revit from an Excel file based on worksets, but some values are being applied to elements in the wrong workset. Please help me fix the script

2-Fill-Uniclass-byworksets.dyn (76.6 KB)

test.rvt (5.1 MB)

Structure Worksets and Uniclass.xlsx (18.4 KB)

How to get help on the Dynamo forums - FAQ - Dynamo
Please refer to the guidelines in the thread above. You’ll have much better luck if you share more information. What do the warnings/errors say? What are the actual values being passed along your graph?

If you haven’t read the Dynamo Primer then i can highly recommend doing that.

But to get you going.

No need for this (see stuff marked in red) at the beginning of your Graph.

Do this instead :backhand_index_pointing_down:

This part is a bit messy, so hard to tell (for me) what you are trying to achieve here,
but my gut tells me this can be done in a cleaner and simpeler way.

PS
What does the Python do?