Good morning.
I have the need to disallow joining in the beams that I am creating, but when using the “StructuralFraming.DisallowJoins” node it seems not to work and I don’t know why that is… apart from that, a message appears in revit mentioning that it is not It is possible to keep the elements together between a beam and columns, but I never asked them to be joined?? Why does he return that to me?
Any other node or code in python that can give me a solution?
did you alos check the lacing ? f.e. set to XXX cross product or longest.
Good morning Draxl, thanks for the suggestion, I have done what you mentioned but nothing… the result is EmptyList
Hi, can you use the Transaction End node after the List.Flatten node?
Here is a really old Python code that has worked for me in the past.
import clr
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
from Autodesk.Revit.DB.Structure import *
clr.AddReference('RevitNodes')
import Revit
clr.ImportExtensions(Revit.GeometryConversion)
clr.ImportExtensions(Revit.Elements)
clr.AddReference('RevitServices')
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
doc = DocumentManager.Instance.CurrentDBDocument
uidoc=DocumentManager.Instance.CurrentUIApplication.ActiveUIDocument
#Unwrapping Dynamo element to Revit element.
beams = UnwrapElement(IN[0])
#Disallow beam end joins in a transaction.
TransactionManager.Instance.EnsureInTransaction(doc)
for beam in beams:
StructuralFramingUtils.DisallowJoinAtEnd(beam,0)
StructuralFramingUtils.DisallowJoinAtEnd(beam,1)
TransactionManager.Instance.TransactionTaskDone()
OUT = 0
Disallow Join at Beam Ends.dyn (59.9 KB)
Hello @AM3D.BIM.STUDIO ,
When you click on Extensions → Workspace References, do you see any missing package warning?
You may need to install DynamoIronPython 2.7 to make the package node called StructuralFraming.DisallowsJoins work.