Automate Section Views for Wall Documentation using Dynamo

Automate Section Views for Wall Documentation using Dynamo

Creating sections for documentation is an essential yet painful part of the modelling process, this post will walk you through the steps of creating individual aligned sections for walls in Dynamo.

When attempting new problems, I find that it is always easier to reverse engineer solutions in Dynamo. Since the end goal is to create sections, let us start by first examining nodes that create Section Views for us, i.e. SectionView.ByBoundingBox and SectionView.ByCoordinateSystemMinPointMaxPoint nodes.

SectionView.ByBoundingBox

It may be tempting to choose the SectionView.ByBoundingBox method due to its simplicity, but unfortunately it didn’t achieve what we wanted due to the lack of control inputs (See below). Hence, let’s try examine the SectionView.ByCoordinateSystemMinPointMaxPoint method instead.

SectionView.ByCoordinateSystemMinPointMaxPoint

The node takes in three inputs, i.e. the Coordinate system, the Minimum point and the Maximum point of a Section view. Let’s walk through each input.

Coordinate system input

The coordinate system input grants users the ease to define a separate coordinate system for each instance, which would be extremely useful for us to create sections that are individually aligned to each wall. The nodes below creates a new coordinate system on the center of each wall, we can imagine having one coordinate system attached to the center of each wall instance. Two examples have been illustrated on the plan and 3-D views below.

Minimum & Maximum Points input

With the coordinate system set, getting your minimum and maximum points should be a breeze. Let’s begin by trying to understand what does the minimum and maximum points mean.

If we select any Section view in Revit, we can see the glowing blue outline of a section view’s extents in both Plan and Section views as illustrated below. On the same image, the Minimum and Maximum points refers to the corners marked on the extents of both Plan and Section views.

With that understanding, some simple data manipulation using each wall’s length L, and height H, will help us get our minimum and maximum points. I have preset section offsets to be 500 to ensure the wall’s face show up.

And that’s it! You can automate placement of section views for your own specific application now!

MEP opening sample application

We could also add upstream rules for creation of section views to make the Dynamo graph more meaningful. A sample application could be creating sections for walls with MEP services, to let structural Engineers inspect penetration sizes. Check out the video for creating sections on walls with Ducts!

I hope you’ve enjoyed this post and will be of some use to you! Dynamo file can be download here! Do drop a comment if there’s any queries, I’ll be happy to help 🙂

Leave a Reply

Close Menu