swept cut, draft or what

Hi

I am trying to make a frame section like the green on the attached image, I tried simple extruded cut, but the problem is with the rounded corners.

I tried to use swept cut, but am getting error, don't even know if it's the right tool for it!

Thank you

SolidworksParts And Features