Skip to main content

Multi-pipe support configurator with Dynamo

As always everything is coming from my childhood…ops no, that's another story.
As always everything starts on a white recycled paper just in front of my keyboard; a simple idea becomes immediately a sketch with Revit parameters.

I tried many times different kind of plugins for automatic supports placement, but no one of these is able to create a multi-pipes supports (if I'm wrong, please let me know the name of the plugin).
The idea for this script in Dynamo, is to create a support for a bounce of pipes going parallel for a while, and create a group that is possible to copy along the path.
I'll not focus on the creation of the families that you need for the support but just to explain the main idea, I have 3 different pieces (steel bar, u-bolt and threaded rod) that I'll compose together to create the final support.
The first challenge is to align the pipes to the same BOP (bottom of pipe) because they have to stand on the steel bar and locked with the u-bolt. 
The basic rule is to extract the dimension of the pipes selected: diameter (we'll use this for u-bolt selection), outside diameter, insulation thickness, and elevation from the level (this is the center elevation).
Using these values (some of them are in feet so you need to convert into millimeters) we can calculate the bottom of each pipe and understand which pipe is the smaller and which one is the bigger. 
Now we can decide if the alignment is based on the bigger or the smaller pipe
Now we can focus on the steel bar to find the correct insertion point. To find this point I used a simple idea: calculate the distance between the center points of the two external pipe (respectively left and right pipe), add to this value the radius of these two pipes and finally add a parametric value for the external offset.
At the same time with one of these pipes we can easily extract the direction and the exact angle between this direction and the Y axis (the family of the bar is created parallel to the X axis, that's why we need to compare with the perpendicular)
Almost same idea to calculate the location of threaded rods. I used the curve for the bar, extracted two points at the beginning and the end with a parametric distance, and I found two insertion points.
Last but now least, u-bolt profiles. My family is created to accept a DN value and a pipe axis parameter. The pipe axis is really simple, we have this value since the beginning of this script and I can easily find the location for the profile. The DN is also a parameter that we can extract from the pipe and, filling the value in the family, we can adapt the element using a lookup table. The lookup table in the family can extract the outside diameter starting from the DN and it takes also into account, the insulation thickness of the pipe.
Yeah, finished! Of course now we can move the pipe left of right, or we can just add insulation to pipes and run again.
Because of the usage of the processor, sometimes you have to run twice in order to achieve the correct result, don't worry if running the first time the support is not updated.
Ok, now that we have all the pieces of the support, aligned and placed at the beginning of the pipes, we can create the final group.
And this is the python code for the group node
The final result after the array
Enjoy the script available at this location for download
Revit 2017.1 and Dynamo 1.2

Bye Cesare


  1. We are famous for young female models Our Pakistani escorts have special qualities in their work they are very intelligent and friendly behavior Our Service is Very different than other as we have something very special Best Call Girls In pakistan for you. We have more than 50 top Elite Females models that are waiting for you. You can enjoy escort services by Pakistani escorts

  2. The Familiar pipe hangers Into Today's Sanitary Standards. These stainless steel tube hex hangers are utilized with hygienic equipment in the bio-tech, pharmaceutical, food, beverage and dairy industries. Our hex pipe hangers are essential to PVF installations, supporting BPE style stainless steel and copper tubing, schedule pipe, PVC coated pipe, conduits and instrumentation lines.

    Bim consulting UK

  4. Alfazal Engineering gives you the following tips are supposed to be a realistic manual to make certain the secure and right set up of cable ladder and cable tray structures and channel aid and different aid structures. These suggestions aren't supposed to cowl all info or versions in cable ladder and cable tray set up and do now no longer offer for each setup contingency. It is usually recommended that the paintings defined on this manual are executed with the aid of using in a position individuals who're acquainted with the goods being set up and the protection requirements related to them. Structural characteristics When thinking about the set up of the cable helps machine its miles vital to keep away from the slicing or drilling of structural constructing participants without the approval of the venture chief on-site.
    Cable tray

  5. Awesome work. Would you please update the download link, I'd very much like to play with your script a bit.


Post a comment

Popular posts from this blog

Dynamo, Revit, Excel, UI...what a wonderful day!

Introduction Today I'll show you two examples of how to use Dynamo to export existing Revit schedules and how to compose a custom schedule on the fly, to be exported to Excel. Both of them with a very nice graphical user interface thanks to Data-Shapes ( package. Export Schedules Let's start from the easier. The idea behind this script is to export a list of existing schedules to an Excel file, creating for each schedule a separate tab. To be able to complete this script you'll need two packages: Data-Shapes for the graphical interfaces BimorphNodes to extract schedules data The script is very easy and you have to focus only on how to create an interface Then you can use your input to feed the next nodes. Finished! So just push the run button (or use Dynamo Player is you are in Revit 2017.1 or 2017.2) and enjoy the interface. Export parameters to Excel In the second script I'll focus on something more int

Tunnel modeling with Dynamo

Introduction Last week I had a nice conversation with one of my Italian friends. The focus of the conversation was how to model a tunnel in Revit starting from an Excel list of points coming out from Civil 3D. So the answer was: Dynamo of course! First input, the section of the tunnel with his diameter; I can't share the details but lets say that we have: Theoretical excavation profile: 200 mm  Precast segment thickness: 500 mm Whit this two elements and the excel of the theoretical cent alignment, we can do everything! Revit profile family The first family we're going to create is a simple circle profile with a diameter parameter. This family will be as a mass category to be able to nest it later in an adaptive component family for the tunnel.  Just save this family...easy! Tunnel model Now we can create a new family as generic adaptive component and load the profile just created. It's important that the family is able to host rebars for future st