Programming? Visual Studio 2022?
I have to program this, and at the very bottom of the if, it's like this: You have a table with usage keys for rooms from Revit, and some, of course, have the same usage keys. There are 1-8. For all rooms with the usage key "2 Office Works," the area of these rooms with the same usage key should be added together. I have if (room.RoomKey is "2 Office Works")
Now I have to write in these curly brackets that they should be added, but how? I've reprogrammed and I don't get it.
You set a variable outside the loop that should specify the whole size. Maybe “bureau” is for it, otherwise there would be a good place.
Then you just reckon in the loop
If that’s what your Vairable means and what the size property means in the room.
instead
you can also (quasi as an abbreviation)
write.
it works almost there are many lines it is so twice office in it is in the first and last. he recognizes the first line 10.72 m2 then in the next 7 is nothing but they are filled up with 10.72 m2 and then in the 8 line it still sees one and adds the exact zsm but dei lines before are unnecessary how do I get the way
edit have hung a picture in the question .
Whatever the result outputs may be either only in the if condition (if you want intermediate results) or after the loop.
For a more accurate answer, I would have to see the current code.