[Python] custom Render node

[Python] custom Render node

Anonymous
Not applicable
940 Views
2 Replies
Message 1 of 3

[Python] custom Render node

Anonymous
Not applicable

Hi,


I need to create python script to add the Render node to the Batch, where is set Renders Destination to the Schematic Reel 3. In doc i found this value "destination (type 'tuple')" for Render node, but it doesn't works for me (or i don't know how).


Thanks a lot for help

 

MP

0 Likes
Accepted solutions (1)
941 Views
2 Replies
Replies (2)
Message 2 of 3

ManChicken
Collaborator
Collaborator
Accepted solution

If you do

print yourRenderNode.destination

you'll see it returns something like ('Batch Reels','Batch Renders') which correspond to the two menu buttons in the Render node under Renders Destination. So you should be able to do something like:

 

yourRenderNode.destination = ('Batch Reels','Schematic Reel 3')

 

to set the two options to those corresponding entries.

Bob Maple | idolum
0 Likes
Message 3 of 3

Anonymous
Not applicable

Excellent thanks a lot!

0 Likes