yongbin Posted January 16, 2014 Share Posted January 16, 2014 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. Quote Link to comment Share on other sites More sharing options...
animknight Posted January 17, 2014 Share Posted January 17, 2014 (edited) 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 January 17, 2014 by animknight Quote Link to comment Share on other sites More sharing options...
TxRxFx Posted January 17, 2014 Share Posted January 17, 2014 (edited) 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 January 17, 2014 by TxRxFx Quote Link to comment Share on other sites More sharing options...
yongbin Posted January 18, 2014 Author Share Posted January 18, 2014 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, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.