简体   繁体   中英

Determining adjacent wall using Revit API

I have couple of walls in a project. I want to find out which walls are adjacent to each other.

If the adjacent walls all meet at their respective endpoints, the LocationCurve.ElementsAtJoin property will give you exactly what you are asking for.

Unfortunately, it will not help in the case where the adjacent walls intersect each another in non-endpoints, eg, at their midpoints or somewhere else along their location curves except the endpoints.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM