Cap holes problem

Hei for some reason i wasnt able to cap holes the columns. Iam using Ruled surface to combine two surfaces together

Here is the file: (21.9 KB)

Thanks for the help!

You already have the end cap surfaces, so just use brep join to create closed (22.1 KB)

Thanks, it is working in this case.I made another similar example (Code below) and it was not working:

Here is the code: (69.3 KB)

I don’t understand what you are trying to achieve in the second case.
Is it something similar to this? (69.0 KB)

No, I just want to make them also as closed breps. They are just in row. I think you have been deleted some of them or every other element you did.

Does this work for you? (71.6 KB)

It is working. Thanks!