简体   繁体   English

如何在Revit API中获取没有开口的墙点

[英]How to get wall points without its openings in Revit api

I was wondering if there a way to get the points of the wall without its openings like windows and doors. 我想知道是否有一种方法可以获取没有开门如门的墙壁的点。

When I get the faces, edge loops, edge and finally the line origin, they always retrieve the points of the wall after excluding the openings -I mean the corner points of the openings are returned also- which is not what I want, I want to get the original outline of the wall. 当我得到面,边环,边以及最后的线原点时,它们总是在排除开口后检索墙的点-我的意思是开口的角点也返回了-这不是我想要的,我想要得到墙的原始轮廓。

I tried to think of some equation to solve this but it will work for rectangular walls only with some tricks, but not for all cases. 我试图考虑一些方程式来解决此问题,但它仅对某些技巧有效,但不适用于所有情况。

So any ideas about that? 那么有什么想法吗? Thanks in advance! 提前致谢! 在此处输入图片说明 在此处输入图片说明

Yes, there are many possible approaches to solve this. 是的,有许多可能的方法可以解决此问题。 Several were mentioned in the recent Revit API discussion forum thread on getting face without inserts . 在最近的Revit API讨论论坛线程中,提到了一些没有插入内容的表情

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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