Jump to content

Recommended Posts

I've done it before but can't find my old script. How do I script adding instances/AOVs/imageplanes on a ROP?

image.png.1285608f722f920266085846555a4439.png

  • Like 1

Share this post


Link to post
Share on other sites

Use the insertMultiParmInstance() function on the AOVs parameter

Share this post


Link to post
Share on other sites

I recently did something like this but for a redshift ROP.
What I did is that I just use the parm().set() function on that parameter, it acts just as a normal number parameter so you don't have to go the way of dealing with the whole getting a list of all the parms, adding an instance of a parm and then reapplying the new list of parms to the node.

If you'd be interested you can have a poke at the shelf tool I made (assuming you are doing this with python):
https://github.com/Underscoreus/Rs_AOV_Transfer

Hope it can help :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×