I am not able to join the geometry, below is the Dynamo code. Kindly help.
in your try: part, it should be elementB, not elementb
That worked:) But by this columns get cut below slab, I want to switch the join. I need slab to get cut and columns to continue, how that can be achieved. Kindly help.
Have a look at the class: Autodesk.Revit.DB.JoinGeometryUtils.SwitchJoinOrder
Also you can use an if statement with: Autodesk.Revit.DB.JoinGeometryUtils.IsCuttingElementInJoin to check which element is cutting which and then only switch if they are joined the wrong way
I have not tested, but maybe just simply switch the wire of IN0 and IN1 will make a difference?