Hmm -

Ok, I'm not having an issue finding dependencies (this does the job just fine, for example: http://community.thefoundry.co.uk/discussion/post.aspx?f=190&t=103381&p=894390 ), but I discovered that I don't have a way to find my *currently needed* dependencies.

Basically, let's say I have a write node and want to find nodes of a certain class in it's dependencies, let's call the class 'PreRender'

I want to render those prerenders, but only those in the tree that are switched on.

I have a switch for prerender1 and prerender2, because the tree above them branches with some differences specific to the prerender. I need to render two jobs at two separate times, manually switching them, but the output is to the same write node. The pipeline fills in the write path based on 'stuff', so I'm not actually overwriting anything when I re-render - except that, even though prerender2 isn't being seen in the first render because the switch is looking at prerender1, it's still part of the dependencies tree, and consequently, it's getting rendered.

Is there a way for me to walk through the dependencies via python to eliminate the non-rendered part of the dependencies tree?

thanks
JRAB
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to