Hello!
I have dynamo for placing structural framing family along 3D polyline and it works, but for shorter distances, here for 200m + it’s added but as you can see it’s not aligned at the bottom with polyline, there is a gap (it should go as magenta line), I already added much more point (200), and have no idea what’s wrong, could you please help me?
Here is the dynamo: Unique Download Link | WeTransfer
Hi Katarzyna, welcome ![]()
Each Revit structural framing element is based on the placement of a single straight location line. It is not possible to bend the line to suit a polyline path. The only way is to build a series of beams which are joined, similar to the second image
Oh, thank you! Did not know that, so in general there is so other way to avoid joints? I would prefer to have one continues tunnel but seems it’s not possible ![]()
Hi @kaok29M2Q ,
I am not too familiar with structural framing in Revit, but it seems that your object is defined by a simple line from a start to end point, which results in that it must have a straight line between the two.
As @Mike.Buttery said you’ll likely have to have multiple objects, per change in slope/ direction of the underlying polyline.
Would you normally, without Dynamo, be able to place such an object with a change of slope in the middle of it?
I am working on something similar. Read the polyline, then break it up into center-to-center lines. Then with the divised points, you can make new sub-lines and place your families along those
Sounds like you’re building a tunnel, not structural framing. For tunnels adaptive components are the best way forward. There are several topics showing how they are accomplished already on the forum, so I suggest you start there.
Would confirm but your download link is behind a password.
Updated the link, it should work now
I tried adaptive family but it’s generic model and it looses a lot of parameters inside Revit
Have a look at this video: https://www.youtube.com/watch?v=zyLgqInKSrY&t=44s
oh yeah, I can change it to structural connection so it should be fine, thank! And do you recommend any tutorials for placing adaptive family along alignment
The forum has several of these - search button will put you on the right path. Autodesk University also has a several good classes you can review as well.
Hi guys once again!
Seems the script is not working well with all alignments I have, and it’s crushing
so I did 3 point adaptive family, how edit the dynamo so it’s adding this adaptive family on 3d polyline
data_bridge.xlsx (40.7 KB)
Tunel_KAOK_3Dpoly.dyn (310.4 KB)
6m Tunnel Segment.rfa (812 KB)
Can you simplify your data? Current excel has too much extra data - strip it down to the station chainage distances. Or just use dummy data and add the Excel component later
Your graph has three different versions? Which one is the current ‘working’ graph - just upload that
The family needs to be simplified. What is the construction of the tunnel? The family is lofting on a curve which would indicate sprayed concrete? Look at my family in this post Problem with adaptive component placement - #22 by Mike.Buttery
Simplified data is attached.
For Revit, the input defines where the element should start on the 3D polyline and the required segment length. There can be many such elements.
Regarding the family: this is a sprayed concrete underground tunnel, and from my side the general behavior seems correct. However, the example you shared places a 2-point adaptive family, and unfortunately that does not work in my case.
I need a 3-point adaptive family, because the 3D polyline changes direction in X, Y, and Z. I have also attached the 3D polyline for reference.
Additionally, the profile used in the adaptive family must be another (nested) adaptive family, because the tunnel shape will be updated at a later stage, and I need to be able to update it easily without rebuilding the tunnel elements.
6m Tunnel Segment.rfa (812 KB)
Tunel_3Dpoly.dyn (104.7 KB)
data_bridge.xlsx (23.3 KB)
Alignment.dwg (2.9 MB)

