The volume of the wall hole


I want to know about the volume of the hole in the wall, but I do not know how to operate it.


You’re first going to have to set the variables of the size of the volume in a way that they’re controlled by parameters, then use the Element.SetParameterByName node.


Can you tell me the specific operation?


A lot of that is within Revit. I’d advice looking up at a specific tutorial for setting dimensions with parameters or ask about it on the Revit MEP forum ( After that come back and make a topic about the Element.SetParameterByName node.


I want to calculate the volume of the wall, filter out the hole less than 0.3m2




@434412446, you can get all the elements nested inside your wall (doors / windows / openings), using the “Element.Inserts” node from the Clockwork package:

Then query these inserts’ dimensions, volume, etc.


How to calculate the size of the hole, the volume?


I can‘t query these inserts’ dimensions, volume, etc.


Here is something to get you started.

Volume of holes in walls.dyn (34.8 KB)


Thank you for solving the problem for me