Creating Walls using Brep

I’m trying to create a wall element in revit using a specific brep, in my attempts I only managed to do it through Mass (referencing the brep as a geometry for the mass) but it seems more complicated than that

In the first two geometries it went as smooth as I could’ve hoped for, but the last two not so much, it seems is due to a surface trim I made to get rid of unnecessary material and shape the way I wanted


this is the difference between the ones that worked (white) and the ones that didn’t (green)

Is there any way to make these shapes work properly? Maybe not even using mass and some other way instead

This is typically due to the curvature being too tight for the wall thickness…

https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Revit-Wall-by-Face-command-gives-error-Can-t-make-Face-Wall-shape.html#:~:text=There%20are%20a%20few%20possible,for%20example%2C%201%20mm).