Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在这里有 Revit 2014。我知道链接文档中的墙壁可以标记为房间边界。是的,效果很好。但是,从 API 中,我无法从这些链接文档中找到哪些墙壁是我的房间的房间边界。我可以找到哪些链接文档用作我房间的边界,但不能找到这些链接文档中的哪些墙壁被使用。有没有办法找到这个?
亲切的问候。
您可能想查看 API 的一些 RayTrace 功能以使其发挥最佳效果,但这里有一小段代码可能会证明一个重要的关键:
Room rm = new Room(); SpatialElementBoundaryOptions sebo = new SpatialElementBoundaryOptions(); var boundaryitems = rm.GetBoundarySegments(sebo);