Hi Vincent,

You're aware that the getClipname() dialog has a checkbox on the bottom for
sequences? this alters what gets returned
e.g.
"V:/path/to/frames/filename.####.exr 1-85"
vs.
"V:/path/to/frames/filename.0021.exr"

Either scenario works for me? I can't quite replicate your problem.

Personally I would probably write it out in python instead, using a regular
expression or string methods to extract the " 1-85" and set the frame
ranges manually. Let me know if you want an example of that.

cheers,
Jordan


On Fri, Oct 18, 2013 at 2:16 AM, Vincent Langer <
vincent.lan...@filmakademie.de> wrote:

> Hi there,
>
> I did a little script for updating renderpasses.
>
> using
>
> nuke.getClipname()
>
> and then using:
>
> nuke.createNode("Read", "file {"+f+"}", inpanel = False)
>
> this works great for sequences but when I want to add single frames it
> does not work - is there a trick?
>
> thanks,
> vincent
>
> ------------------------------**------------------------------**----
> This message was sent using IMP, the Internet Messaging Program.
>
> ______________________________**_________________
> Nuke-python mailing list
> Nuke-python@support.**thefoundry.co.uk<Nuke-python@support.thefoundry.co.uk>,
> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/>
> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<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

Reply via email to