Shading rooms using CSV file values


I am trying to find some example that can be used to color the rooms using CSV file values. I have a building file in Revit and a CSV file with only two columns such as;
Room 1, 5
Room 2, 7
And using the above values (5, 7), I am shading the rooms in different colors. If someone has any information, can you please share with me?

From the provided information I would do the following:

  1. Get Rooms in Revit
  2. Group by room number
  3. Read .csv (remember to read values as numbers and strings as strings).
  4. Transform “color-code” to actual color value/override
  5. Compare rooms with color-overrides
  6. Apply override to Rooms.
1 Like

Thank you for your reply :slight_smile: