On 30/04/2015 at 02:49, xxxxxxxx wrote:
Hi,
in order to use materials they need to be inserted into the scene. You can't do that from inside GVO.
Instead you can do this inside Message() function. MSG_MENUPREPARE is the one you'll want to use. This message is send, when your plugin is called from the menu, so basically at the moment your object gets created. The corresponding data is the current BaseDocument.