To expand on that: first_frame and last_frame are attributes that are available for each node, and they're not the same as the "first" and "last" knobs of a Read node.
They refer to the first and last frames of the framerange that's passed along in the tree, so they would already carry any time offsets you may have set, either in your Read node, or later on in a TimeOffset, etc. Hope that clarifies it a bit. On Wed, Apr 6, 2011 at 5:05 PM, Ivan Busquets <[email protected]>wrote: > Try the first_frame and last_frame inline attributes as I mentioned above. > > Using Frank's suggestion to use inrange(): > > !inrange(frame, Read1.first_frame, Read1.last_frame) > > > On Wed, Apr 6, 2011 at 5:00 PM, David Schnee <[email protected]> wrote: > >> Thank you (and Frank) this is great, but I also want to swap out having >> to manual input the '50' and '117', instead grab the input's start and end >> frame? >> >> >> On 04/06/2011 04:25 PM, Tim BOWMAN wrote: >> >> Not sure what sort of offsets you're dealing with, but if you need a simple >> "on in this range" tingy, try this in the disable knob: inrange(frame, 50, >> 117) >> >> -t >> >> On Apr 6, 2011, at 7:10 PM, David Schnee wrote: >> >> >> >> How can I do this? If I have a range of frames say from 17-84, and I >> 'start at' 50, need to animate another node to turn ON on frame 50, and then >> OFF on frame 118. Is there an expression I can use to automate this? (If >> it's uses first and last frame, it would need include any time offsets or >> start at frame inputs along with it) >> >> Cheers, >> -Schnee >> -- >> >> \/ davids / comp \/ 177 >> /\ tippettstudio /\ imo >> >> _______________________________________________ >> Nuke-users mailing >> [email protected]http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users >> >> __ >> >> Tim BOWMAN917.232.5830 | http://[email protected] >> >> _______________________________________________ >> Nuke-users mailing >> [email protected]http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users >> >> >> >> -- >> >> \/ davids / comp \/ 177 >> /\ tippettstudio /\ hp7 >> >> >> _______________________________________________ >> Nuke-users mailing list >> [email protected] >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users >> >> >
_______________________________________________ Nuke-users mailing list [email protected] http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
