Automated view generation

There's no supported way to inject project resources via scripting, but it's possible to do anyways, because scripting.

This thread has some advice:

Though it's mostly got designer-scoped advice, which would only allow you to edit the currently open project.