How to get the top surface of the walls if we have a pitch or sloped roof?

Hi
I have a list of walls that I need to find the top face of them to get the intersection of my conduits with those surfaces. The problem is my roofs have different slopes and shapes so the top surface of the walls is not always Horizontal therefore Surface.FilterByOrietation did not work. The same issue appeared when I tried Plane.Normal as the vectors are too many and I can’t use their Z factor to filter the surfaces

I would appreciate it if you could guide me on what to do.

Best Regards,
Farshid

1 Like

@farshidkaviani ,

here is a similar topic

KR
Andreas

3 Likes

Here is another way…could probably work

and filter for opening…

2 Likes

:wink: :+1:Mr. Sovitek was even faster
double filtering

Sincerely
christian.stan

2 Likes

Hi @sovitek
Thank you for your valuable hint, though it had some issues with getting extra surfaces when the wall had some openings in it.
image
I managed to fix it with some extra steps.


image

1 Like

Hi @Draxl_Andreas
Thank you for your input.

Hi @christian.stan
Thank you for your input.

1 Like

yes thats why i use element geometry + then you can filter out all the opening and inserts opening

2 Likes

Wow even better. Thank you so much for your help once again.