Using Dynamo for Pile Foundation Flipping
The following example demonstrates a straightforward application of Dynamo: how to use it to flip piles based on CAD drawings.
The image above illustrates an entire pile foundation node. It primarily leverages Dynamo’s ability to recognize lines and circles within CAD drawings. The concept draws inspiration from Dynamo’s beam flipping process. The node is divided into two main sections: one processes line segments and circles extracted from CAD, while the other selects the pile foundations.
This node targets all piles of the same type. For cases requiring classification, you can refer to a previous article that explains how to read family type classifications, such as those for expensive doors and windows.
1. Reading pile center points from CAD drawings
Using Geometry nodes, DWG format drawings are converted into readable types. Circles in the drawing are identified through string reading, allowing all circle elements to be detected.
Boolean values are then used to filter these circles. The Circle node in geometry classification retrieves the center points, completing the initial pile positioning step.
2. Creating piles
By applying node transformations, the required family type for the pile can be found. The circle’s radius is read using Circle.Radius and matched with filters to create various pile types accordingly.
Finally, the family instance creation node is used to perform the flipping operation. Combining just a few simple nodes, you can handle more complex flipping tasks efficiently. This process not only improves your workflow but also enhances your understanding of Dynamo’s overall software structure.
Related Skills:
Dynamo: Quickly Checking Revit Model Components
Dynamo: Generating Surfaces from Lines
Creating Points in Dynamo















Must log in before commenting!
Sign Up