Filtering exterior walls
Hi,
I'm trying to get exterior walls only, but I'm having trouble doing so. At the moment I loop through all the walls in a project, and see if it's exterior or interior.
I can't use the WallType.Function, because this is not always correctly entered.
I thought the following code would provide an answer, but in my example project I also get faces from interior walls.
IList<Reference> sideFaces = HostObjectUtils.GetSideFaces(wall, ShellLayerType.Exterior);
Could anyone help me achieve this? I hope to avoid using a 3D view (ray projection) because of performance concerns and the requirement of having a 3d view in your project.
I've also found the topic Wall Interior or Exterior, but it's not exactly the same question (and there is no answer yet).
Thanks in advance.