Neighbour elements

Neighbour elements

Anonymous
Not applicable
589 Views
2 Replies
Message 1 of 3

Neighbour elements

Anonymous
Not applicable

Hello,

 

I'am writing an api for revit and I need help with sth. I need idea how to determine if some elements are neighbours.

f.e. two rooms that are conected with each other with doors/walls/windows.

 

I was thinking about some shared points that they have, but there are many problems that could accure here.

 

If you have any idea please notify me.

 

Cheers,

Goran.

0 Likes
590 Views
2 Replies
Replies (2)
Message 2 of 3

ollikat
Collaborator
Collaborator

Well I don't have any experience playing in Revit Arch. but could Document::FindReferencesByDirection() be any help? (Just guessing)

0 Likes
Message 3 of 3

Anonymous
Not applicable

If you are looking for adjoining rooms, each door has FromRoom and ToRoom property.

0 Likes