That is brilliant, thank you. On 16 November 2012 17:16, Nathan Rusch <nathan_ru...@hotmail.com> wrote:
> Use n['file'].fromUserText(p) instead. > > -Nathan > > > *From:* Gerard Keating <gera...@gmail.com> > *Sent:* Friday, November 16, 2012 3:57 AM > *To:* Nuke Python discussion <nuke-python@support.thefoundry.co.uk> > *Subject:* [Nuke-python] How do I get the frame range of a r3d file in > nuke inpython? > > Hi, > I need to convert lots of r3d files to exrs but I am running into a > problem with getting the frame range from the r3d files in python. > So if I run code like this: > > > > p='//shotServer/LATEST_OPUS.RDC/LATEST_OPUS_001.R3D' > > n=nuke.createNode("Read") > > n['file'].setValue(p) > > > > The new read node will have the start and end as 1 and 1, if I do it in > the gui it gets the frame range. I looked in the metadata and it is not > there either. > > Any ideas? > > Thanks, > > Gerard Keating. > > ------------------------------ > _______________________________________________ > 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 > >
_______________________________________________ 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