morn66 Posted June 18, 2019 Share Posted June 18, 2019 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 Quote Link to comment Share on other sites More sharing options...
LaidlawFX Posted June 18, 2019 Share Posted June 18, 2019 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. 1 Quote Link to comment Share on other sites More sharing options...
morn66 Posted June 18, 2019 Author Share Posted June 18, 2019 I forgot about TOPS, I'll try to explore that option. Thanks @LaidlawFX!! Great answer. 1 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.