What’s inside the box?

We recently got the following inquiry: there is a model consisting out of walls, beams, columns and floors.

All of the structural elements are made out of concrete.

We want to draw a random box and get the exact amount of concrete for structural elements by category that is within the box. If an element is partially cut by the box, we want it sliced by the box and the part within the box added to it.

Here is the Dynamo that does exactly that:



Let’s dissect that:


Here we get the user input – the box and the category of elements to take into account

Next we got to do a clash detection between the elements collected and – here I need to emphasize how great I find Bimorph Nodes – the performance difference is dramatic.


Now we check if elements are structural:


Then we pull the geometry of elements, cut them by the box and pull the volume


And – to make things snazzy we try to visualize that in Revit and Dynamo:


In Revit we do that by using the following nodes:


It honestly does not show too much – that’s why we use the Watch3D node as a proof of our results – here we can see that the elements are cut back by the box:


And life is – getting better…



About LRCZ

Platform for multiple talents
This entry was posted in Uncategorized. Bookmark the permalink.

3 Responses to What’s inside the box?

  1. M says:

    Nice, simple script.
    What is the ‘box’ for the input? Generic model? In place mass?


  2. Pingback: Weekly Roundup – 2018.12 – The BIMsider

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s