Is there any way to create structural profile Families along the reference curves created in Dynamo.
As far as my understanding says, i have to create an adaptive component families in order to accomplish this Task???Parametric Truss.dyn (32.1 KB)
Hi, you can use for example StructuralFraming.BeamByCurve
You then might need to Disallow Join and change the Y and Z reference of your beams
If you want to automatically disallow all your beam join, you can use this Python script:
from Autodesk.Revit.DB import *
from Autodesk.Revit.DB.Structure import *
from Autodesk.Revit.UI import *
from System.Collections.Generic import List
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = DocumentManager.Instance.CurrentDBDocument
#Preparing input from dynamo to revit
element = UnwrapElement(IN)
#Do some action in a Transaction
for x in element:
OUT = element
Thanks for the above example.
Actually i want to create a truss Family, so i am running this script inside Family Editor mode, where you can’t select model Elements for some reasons and this node doesn’t work in my case.
Is there any way to perform it inside Family editing mode?
It was just a fast example to show you that the node exists, then I took your graph and changed AdaptiveComponent.ByParametersOnCurveReference with StructuralFraming.BeamByCurve. The screenshot is the result of your adjusted graph in a project mode.
If you are creating a Truss Family, just use the Truss Family Template, it has everything you need. You first draw lines and then you can choose which beams to use. It’s already parametric, you don’t need Dynamo and beams are already applied to your lines