Howdy all,
I am currently working on some pipeline tools and am using Houdini engine in Maya to prep geo for export and later use in Houdini. The OTL is simply adding a rest attribute and creating some groups…all very simple.
The problem I am running into is that the only way I have figure out to kick off the alembic rop in the otl is to promote the render button to the top level and to activate it with a maya.cmds.setAttr() call.
This does fire off the render, but the script doesn't hold while the geo writes as the button returns as pressed immediately. This results in the script continuing to run while the geo is being written, so the script gets to the cleanup stage before the write is complete. This deletes the engine node in Maya and results in a failed or broken alembic.
Ideally I would like a way to directly access the alembic rop and push a call such as alembic_rop.render().
Any thoughts?