Hey Guys! I am interesting is there any ways to rendering TOPs Network with Command line ?
I am really often using for ROPs something like that
SET hbatchDir="C:/Program Files/Side Effects Software/Houdini 17.5.173/bin/"
SET hipFile1=d_Jobs_/test.hip
SET ropPath000=/obj/Render_sim/Render
SET ropPath111=/obj/Render_sim/wedge_sim
CD /d %hbatchDir%
(ECHO mread %hipFile1%
ECHO render -V -I %ropPath111%)| hbatch
But now I am Using TOP NETWORK, how deal about that?
Yeah, this is works good inside Houdini pythonShell
Damn just spend all day to try run python code on windows10 outside Houdini and its fail any help please
>>> import hou Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named hou >>>
so the idea just build 2 files with py and bat
py file with
importhouhou.hipFile.load("d:/_Jobs_/tests/test.hip")importhqueue.houdiniashqnode=hq.getNode("/obj/Render/topnet1")disp_node=node.displayNode()# blocking full cook of PDGdisp_node.executeGraph(False,True,False)hou.node("/obj/Render/Render").render()
oh yes yes! This is exactly what I am looking for! Thanks @chrisgreb
Btw, I am have right now two files and they are looking like that
file RenderHoudini_TOPS_Render.py
importhouhou.hipFile.load("d:/_Jobs_/tests/RenderHoudini_TOPS.hip")importhqueue.houdiniashqnode=hq.getNode("/obj/Render")disp_node=node.displayNode()# blocking full cook of PDGdisp_node.executeGraph(False,True,False)
and for Trigger file RenderHoudini_TOPS_Render.bat
SET hbatchDir="C:/Program Files/Side Effects Software/Houdini 17.5.173/bin/"
and is there any way it make smarter for example merge and keep in one file and one more what the best way to change range of Rendering without open Houdini