Hi Brany, the easiest way of doing this is to iterate over all the frames you care about, and record all the metadata you need. You can set your node up as a render node by inheriting from DD::Image::Executable class. Then if you call "nukescripts.execute_panel([your node])" in python (by a button press for example), the familiar render dialog will pop-up. The "execute()" function will then be called for every frame, you can pull your metadata here.
Hope that helps, Dan. On Mon, Apr 8, 2013 at 12:45 PM, Brany <[email protected]>wrote: > ** > Hi! > > Is there a way to read, from an PixelIop node, a whole input sequence > metadata? > > My node has to handle input sequences that may have not homogeneous > metadata for all frames, and I have to manage any variation of these > metadata if it happens. > > Now, I get the metadata from the current frame when I hit a button of my > node, it works when all frames of the sequence has the same metadata, but > if that metadata is heterogeneous, I have to do some stuff so I have to > access all frames' metadata from any frame in my node. > > Thanks! > > _______________________________________________ > Nuke-dev mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > > -- Dan Ring, Ph.D. Research Engineer The Foundry 6th Floor, The Communications Building, 48 Leicester Square, London, WC2H 7LT, UK Tel: +44 (0)20 7968 6828 - Fax: +44 (0)20 7930 8906 Web: www.thefoundry.co.uk Email: [email protected] The Foundry Visionmongers Ltd. Registered in England and Wales No: 4642027
_______________________________________________ Nuke-dev mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
