Automate Section Views for Wall Documentation using Dynamo

Automate Section Views for Wall Documentation using Dynamo

  • Post author:
  • Post category:Dynamo
  • Post comments:3 Comments

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.


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.


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 🙂

This Post Has 3 Comments

  1. Joe

    Thanks Han. This is exactly what I was working on when I came across this post. It helped me a lot to understand the local coordinate system. One question – I’d like to show the local coordinate system created as you do in your illustration. How is that done?

    1. Han

      Thanks for your kind words Joe, I’m happy I helped.
      You can actually use both Line.ByStartPointDirectionLength and GeometryColor nodes to create those illustrations on your Dynamo canvas!
      Sorry to disappoint, but those you see on the post was drawn on top of images manually to illustrate better haha.
      Hope this helps!


  2. Atis

    Actually I found out the hard way- Z axis for new CS system must be in opposite direction of object you are trying to view.

Leave a Reply