Jump to content

From within Houdini, save 2 files and launch hbatch for those


Akabane

Recommended Posts

Hey guys, I'm in need of advice!

Basically I'm splitting an isoOffset calculation in two parts, and something I'd like to do is automate the process of rendering those with hBatch.

So my question is: let's say I have two branches in the same scene, each one leading for example to two geometry rops called:

ROP_pt1

ROP_pt2

Now I'd like a button (on an asset) that will do the following:

Save TWO files, each with:

currentFileName_ROP_pt1.hipnc

currentFileName_ROP_pt2.hipnc

And then start 2 hbatch calls, each one to the relative file, rendering the relative ROP.

Unfortunately I'm not that comfortable with houdini scripting yet, that's why I'm asking help! :D

The same thing in Maya would be really easy for me, but since I want to put there into a button from an HDA I don't know where to start T_T (where to put the code, how to fetch the names etc...)

Any help appreciated, I hope I've been clear :D

Akabane

Link to comment
Share on other sites

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...