Jump to content

Execute multiple COP rops in sequence


Recommended Posts

self explanatory title. i want to export some textures with different settings each, one after the other. Right now they have different COP rops will their corresponding path, extension, raster depth etc.

Can i render those in series somehow? or in parallel?

I tried using pdg but using separate Fetch TOPs again, which means each workitem open a new houdini instance recalculating the graph and exporting just one texture,

Is there a way around this?

TOPs_COPs_exports.hiplc

Link to comment
Share on other sites

You can leverage the post-render script to press the button on the next ROP.

node = hou.node("/obj/geo1/cop2net1/tex1")
node.parm('execute').pressButton() 

Place this code in the post render script field of your first ROP. Don't forget to switch the language from hScript to Python or the code won't execute.

Edited by Atom
  • Like 1
Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...