question regarding sweeping

Hi all,

Is it possible to sweep a curve along a guided curve in order to have a surface?

As shown in the image, I want to sweep a cross-section profile (the blue part) along the pink path line. The curve (red-circled out) at the bottom of the cross-section profile, I want it to be swept following the purple guided curve to form a surface, but the remaining part of the cross-section profile just extrudes as it is. Can anyone tell me how to do it?

-------------------------------

edited by myself...

I just found out that I can actually use sweep cut to construct this structure. Thank you for taking time reading this post.

SolidworksDrawings And Detailing