Export and import model, any example?

I want to implement the export and import of a model in my plugin. Is there any example? Thanks.

Yes.

If the external file format will remain SKP or is one of the natively supported file formats
then use the Ruby API methods:

Thank you dezmo, Dan. I am checking the examples.