If I want to programmatically submit the job (without the confirmation dialog), it looks like I would have to duplicate most of the code from submitGraphAsJob()? It might be nice if it took an optional parameter, say confirmViaUI=True, so that it could be called without depending on the UI.
Also, I tried to call submitGraphAsJob() from hython. I got something like this:
File "C:/Users/fred.flintstone/mysubmit/__init__.py", line 41, in _quickSubmit submitGraphAsJob(None, tsnode, "Tractor") File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.460/houdini/python2.7libs\pdg\scheduler.py", line 407, in submitGraphAsJob topnode.cook(True) File "C:/PROGRA~1/SIDEEF~1/HOUDIN~1.460/houdini/python2.7libs\hou.py", line 10561, in cook return _hou.Node_cook(*args, **kwargs) hou.OperationFailed: The attempted operation failed. Error while cooking.
Is there some GUI dependency buried away in the cooking call? Or does the cook() call in there need something more than hython's normal Engine license? If I wanted to test that, what value would I put in HOUDINI_SCRIPT_LICENSE for hython to pick up an FX license instead of an Engine?