Disallow join of the wall


any node can set the wall disallow join by selection or type at once?


Sorry, I don’t, but happen to be looking for that too.

Rob K.

It can be done with Python script.

In Python, here’s the different pieces you need for joins:

Autodesk.Revit.DB.JoinGeometryUtils.JoinGeometry(doc, elementA, elementB)

Autodesk.Revit.DB.JoinGeometryUtils.UnjoinGeometry(doc, elementA, elementB)

Autodesk.Revit.DB.JoinGeometryUtils.IsCuttingElementInJoin(doc, elementA, elementB)

Autodesk.Revit.DB.JoinGeometryUtils.SwitchJoinOrder(doc, elementA, elementB)

Autodesk.Revit.DB.JoinGeometryUtils.AreElementJoined(doc, elementA, elementB)

Hope this helps…

The below example should get you started:


Thank you. I’ve been watching videos on using the Revit API and done a few Python tutorials. I’m still gathering all my resources for figuring out how to script. How would you recommend reverse engineering Python code? Is there a good reference manual you would recommend? Thank you.


How would I modify the python script to take a list of walls in Dynamo?

I am learning this from the basics, any answer would be most helpful.

Matti, look at some of the Revit nodes in package Clockwork. Almost all of them are based on processing lists of Revit elements.

my first attempt at writing anything in python so thanks for the start Dimitar. This forum gives so much so I thought I’d try give a little back. The script below will accept a list of wall to disallow joins.
Disallow Wall Join Multiple


Jimmy, what is your input for the Python Node? I’ve a list but getting an error when running. Any help much appreciated

Disallow wall Join Python Error

Script for disallow wall join

Hi Lee,

You’re currently trying to feed in the names of the wall type as strings. You’ll need to feed in the actual wall elements.

Similar solution here; takes list of IDs as string instead.