OD Create Custom Object converts a loaded object into a custom object plugin for Layout. It can either generate a full plugin, or just the custom object data that can be then added to already written code:

Options:

Here's a how-to video showing OD Create Custom Object in action.