Hi guys, I have been trying to create a script, that calculates the area of the room finishes after extracting all openings, curtain walls, etc. In this case, it should work with geometry from a linked file and rooms in a master file. This is why modelling the finishes with dynamo is not an option (I have created another one like that for more conventional cases).
The problem is that once I try to trim multiple surfaces with multiple solids, some of which do not intersect the surface, I get an error message. I tried using a python script for that purpose, but it does not seem to work as well - the output surfaces are identical with the original ones and have the same area:
Here is the python code I used:
I also noticed there is almost identical topic in the forum already: Surface.SubtractFrom bug?
However, the issue does not seem to be resolved. From here: WeTransfer - Send Large Files & Share Photos Online - Up to 2GB Free , you can download two sample revit files - MA and a geometry file, as well as the dynamo graph. The idea is to use the script from the MA, where rooms are present.
Any suggestions on how to solve the issue? Thx!