I don’t think there’s a particularly simple solution to this, since multiple inputs can be "active" at once (for dissolves).
With the caveat that I haven’t officially tried this, you should be able to calculate the active input by taking the 'firstFrame' value and adding the frame counts of the inputs together in order until you hit your "target" frame. Things will be trickier (but not impossible) if you’re using dissolves. Hope this helps somewhat. -Nathan From: Luca Fiorentini Sent: Friday, February 15, 2013 8:55 AM To: Nuke Python discussion Subject: [Nuke-python] AppendClip active input Hi, Is it possible to get the active input of an AppendClip? What I mean is, if I have have an AppendClip with 10 inputs with variable frame lenght, can I know which input is being displayed at the current frame? I have been trying to figure out this for a while but without any luck. Thanks! -- Luca Fiorentini - 3D Lighting Artist My Showreel - My blog - My Flickr -------------------------------------------------------------------------------- _______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python