Hi everyone,
Firstly, I’m a beginner and perhaps there is an easy answer I’m missing here.
I’m trying to execute a list of Rooms in order, so that each room sets a parameter instance and then writes this parameter instance to excel, but I can’t get it to work to automatically execute for next “room”.
I am currently using GetItemAtIndex to pick the Room and then I have to use a number slider and run to execute next item. I can’t execute them all at once as I have some filter dependencies.
I would also love to execute for the count of rooms so that the script could work in many projects.
What I am trying to do is to calculate the area of a wall segment inside a room(external area only - to further calculate energy loss just for that room(ifcSpace)). I then SET the value to an instance parameter (I know, not very smart to store data in Revit like that) and then GET that parameter value, but in order for this to happen correctly, it needs to execute each item of the list in order. So, room number one - set parameter value based on computation (area of external wall), then GET that value and write to excel. Then take another room and repeat, and so on, until the room count is exhausted.
I’m not sure if lacing can fix this, but please correct me if I’m wrong
Once again, Thank you!