I’m writing a student paper and I’m new to Dynamo and Revit (or programming at all).
I hav a model in Revit (a substructure of an offshore wind turbine) and data from structure monitoring in Excel. My task is to import and edit the data via Dynamo and connect them with the Revit model.
I have defined limit values for the data. For example the data has a range of 10, my limits are 3 and 7.
For Data (for example data of the bottom tower) between 3 and 7 the bottom of the tower in my Revit model changes the color to green. If the data is less than 3 or more than 7 it should change the color to red. I did this with the logical operators and it works (see the picture)
Now I want to do this with 3 colors (green, yellow, red)
Limits 4, 8, 12, 16
8 to 12 = green
4 to 8 and 12 to 16 = yellow
less than 4 = red, more than 16 = red
But I have no idea how to do this. With visual programming everything has failed. I think I have to use the code block to do this. My idea is
-> Change color
But as I am new to programming it fails
Can someone help me how to do this?