ROP nodes dependency graph

   2078   2   0
User Avatar
Member
19 posts
Joined: Nov. 2018
Offline
Hello,
I am working on a custom render farm submitter for my company. Basically we have our custom cache and render nodes (wrappers around the normal geometry, alembic, arnold and mantra nodes) and I am currently working on a tool to submit all those to our render farm.
I know that by simply connecting the ROP nodes houdini is normally able to understand and execute the nodes in the correct order, but I cannot do that since we are using our custom nodes and tools.
I was therefore wondering if there is a built-in way to get some sort of dependency graph out of a set of connected ROP nodes (instead of having to build it myself by navigating by navigating the nodes, checking inputs and outputs etc).

Thanks
User Avatar
Member
1390 posts
Joined: July 2005
Offline
render -p gives a sorted list of nodes + dependency and frame list.
/ -> render -p -c out/comp_shot/
1 [ ] sim_hair  1
2 [ 1 ] bake_textures   1
3 [ 2 ] render_body     ( 1 10 1 )
4 [ 2 ] render_hair     ( 1 10 1 )
5 [ 3 4 ] comp_shot     ( 1 10 1 )
User Avatar
Member
19 posts
Joined: Nov. 2018
Offline
render -p -c -F
in hbatch or
hou.RopNode.inputDependencies()
is exactly what I was searching for, thanks!
  • Quick Links