I believe this should do it: 

nukescripts.setRenderDialogDefaultOption('multi_view','main') 

----- Original Message -----

| From: "Jason Huang" <[email protected]>
| To: "nuke-user mail list" <[email protected]>
| Sent: Monday, April 24, 2017 9:57:01 PM
| Subject: [Nuke-users] set Views to "main" when write node prompts for
| render

| Hi,

| The script I am working on has about 12 views. It's a bit annoying
| that whenever I need to write out images the first time after
| opening the script, I have to manually untick all the views, except
| the "main", before execute the render. (in default, all the views
| are ticked)

| Is there a way through python to quickly set the Views in the render
| prompt to only render the "main" view?

| Thanks,
| Jason
| _______________________________________________
| Nuke-users mailing list
| [email protected],
| 
https://urldefense.proofpoint.com/v2/url?u=http-3A__forums.thefoundry.co.uk_&d=DwICAg&c=hHkK43hKb5uKUGaYMJ-p252cFdfVBHtyegDvswk59fU&r=hdh6ldFziktt1N0wAi7bK3Mjov-6LjULd6ZgRd44U6s&m=0kUOjCE7ImcmaE7TUObgd89-lme7i8lPBXqrojUfs_w&s=xt_75L-1ePBzErpuxCoDJlrJV-Jtd3OvXlCbxDzjW0E&e=
| 
https://urldefense.proofpoint.com/v2/url?u=http-3A__support.thefoundry.co.uk_cgi-2Dbin_mailman_listinfo_nuke-2Dusers&d=DwICAg&c=hHkK43hKb5uKUGaYMJ-p252cFdfVBHtyegDvswk59fU&r=hdh6ldFziktt1N0wAi7bK3Mjov-6LjULd6ZgRd44U6s&m=0kUOjCE7ImcmaE7TUObgd89-lme7i8lPBXqrojUfs_w&s=oaCfKz3ZvWRpEhjdnjnzAevk-FJIo8wk02R7g7ZOIUk&e=
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to