Intantiate RPL from REC programmatically

Hi all,

I want to create programmatically a RPL from REC.

I would like to create a plugin to be able to create several RPL at once

Someone can help me?

Thanks a lot