Allow Join / Disallow Join Property on Walls

Allow Join / Disallow Join Property on Walls

Anonymous
Not applicable
971 Views
2 Replies
Message 1 of 3

Allow Join / Disallow Join Property on Walls

Anonymous
Not applicable
Hello!

I am trying to find the property for the wall object that holds the information wheather a wall instance can be joined or not.

If you create a new wall, select it, and right click on one of its handles the *Allow Join / Disallow Join* property is the third alternative in Revit Structure 2010 which I have on my computer.

Does anyone know where this information can be found via the API. I have looked a bit at the properties of the wall object, including both the ordinary parameters and the *hidden* parameters without success...

The information must be stored on the object somehow but the question perhaps is if it is accessible or not.. 😉

Hoping for some help in this matter...

Thanks!

/Henrik
0 Likes
972 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
What you are looking for is in the Location Curve of the wall (wall.location) or any other object. Then you need to seek out the joins collection for each endpoint like so (dim ea as elementarray = lc.ElementsAtJoin(0)) As for Can you join or not, study the join type enumerator (shot in the dark here...)

good luck,

jvj
0 Likes
Message 3 of 3

Anonymous
Not applicable
I tested this solution and as you said there is something called a JointType directly on the LocationCurve object. Unfortunately this seems to return the same value no matter how my walls look like. Perhaps it isn't implemented in the same way as for beems..? I found some comments on this on the Internet when I continued my search for an answer...

If I try the ElementsAtJoins(), it seems to work but since it only gives me the walls in this connection, I will not help me any further.

I have posted a question on ADN, let's see what that can get...

/Henrik
0 Likes