is there any way to convert an existing path to a mould as in fh or ai?

thank you!