Get surfaces from linked elements and host to one surface

Hello,

I have a script that gets all surfaces of linked element of category and places a face based family on the vertical surfaces. I want it to host to one surface that is parallel to x vector. I am not sure how to get the vectors for each surface to determine which would be parallel. Thanks

1 Like

hmm… can you filter by this node?

1 Like

Thanks! That works perfect. Now I just need to work on rotation of family.