When this button pressed inside UI it shows UI progress popup but when I call this script from console using `hython test.py` I can't see it and I can't see the progress.
Is there some way to show it's progress in console?
Andrej730
I have a script `test.py` that has line `node.parm("execute").pressButton()`.
When this button pressed inside UI it shows UI progress popup but when I call this script from console using `hython test.py` I can't see it and I can't see the progress.
Is there some way to show it's progress in console?
def callback(node, event_type: hou.ropRenderEventType, t): if event_type != hou.ropRenderEventType.PreFrame: return current = hou.frame() print(f"{time()-t0:7.2f} sec. Processing frame #{current:5.0f}") rop = hou.node("out/niagara_rop1/ROP") assert isinstance(rop, hou.RopNode) rop.addRenderEventCallback(callback)