Hey everyone,
i created a python node and need some help finding a way of getting what i want, i am not very familiar with dictionaries yet:
I would like python to check if the keys are identical and in this case calculate the areas of the rooms contained in Dictionary 1, copy this value into a Parameter of the fist area (index 0) in Dictionary 2, for example:
if key Dictionary 1 == key Dictionary 2, then calculate area Room 1931747 + Area Room 1931748 + Area Room 1931749. Then pick index 0 of corresponding list in Dictionary 2 (Area 1931821) and copy this value into a Project Parameter called room area. The other Areas contained in the same list should get 0 as value.
I am doing this because i want to create a schedule that Shows Rooms and Areas at the same time in Revit, so i need to get the area of all Rooms into the gross area schedule… Thanks!!