Lines to fills

Hi everyone,
I know how to transform lines to fills… but is there a way to do the inverse?
Fills to lines…
Kind regards,
Leo.