Jump to content

any generalized method for find renderpath for hou.RopNode?


yongbin

Recommended Posts

Hi, I am writing my own render script.  It should be applyed to every hou.RopNode node.

 

But each node, it's parameter name is different. For example,    mantra->'vm_picture',   rop output drive->'sopoutput',    file cache->'file'.

 

I can iterate and find exact one, but it seems not complete. Is there a generalized method for it?

 

Thank you. :)

Link to comment
Share on other sites

I'm not sure whether there's any generalized method to find the renderpath. But What do you mean by not complete when you iterate and find ? What you could do is to add a spare parameter and channel reference this parameter in your render nodes output path. Then in your script you can find all the nodes with this spare parameter and set whatever you wanna set. Not the ideal solution but it should work. Hope this helps :)

Edited by animknight
Link to comment
Share on other sites

I generally put in conditions based on roptype, there's not too many variations and it works well for distinguishing where to look for the output. Indeed it'll take a bit of time to get right but it's worth it when you don't have to look at it again for ages. 

Edited by TxRxFx
Link to comment
Share on other sites

Thank you, animknight and TxRxFx.

 

When I said "not complete", I mean there are many rop nodes and sometimes it will added or changed. so, I felt It isn't complete.

 

But if there isn't a generalized method. O.K. I will use conditions or, spare parameter. As you suggested to me.


Cheers,

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