i made a weldment profile with 2 rectangle but when i assign it to a line i get only 1 profile how do I rectify this so as to get both of them at a time
As far as I know weldment profile should be a closed one.
SOLIDWORKS Quick Tip - Custom Weldment Profiles
As Maha Nadarasa said, you can only have one closed profile in weldments. Assuming your path sketch is on a plane, I'd recommend using the Mirror function to get the second body (make sure you choose "Bodies to Mirror" instead of "Features to Mirror"; see Why am I having problems with the Pattern (or Mirror) feature in my Part? ).
Retrieving data ...