Jump to content
morn66

Python: ROP Context to render multiple cam

Recommended Posts

Hi everyone,

Is there any way to write python code inside ROP context?

I want to write a script that will detect the number of camera in my scene and automatically loop over one redshift output to render every camera. My goal was to create a python node with all the code that will execute, but there is no python node, which is weird.

Thanks

Share this post


Link to post
Share on other sites

You have two main ROP options.

  • Make a subnet and use the Scripts python module.
  • Make a shell rop and use the shell or post script commands to run an external file.

The third for fun option is to do it in TOPs. This is probably better designed for what you want to do and it comes complete with tons of python control. Just not a lot of internet wisdom yet when you get stuck. Plus not direct Redshift control so you need to use the ROP Fetch node, which has not been too painful converting all the old setups too.

 

  • Thanks 1

Share this post


Link to post
Share on other sites

I forgot about TOPS, I'll try to explore that option. Thanks @LaidlawFX!! Great answer.

  • Thanks 1

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

×