Sorry, my question wasn't very clear.
I'm finding that when I bring an element into nuke, the "proxy" path field has
to be set by hand, along with the proxy format for that node. Would love to
have a way to have it automatically set itself with default values and/or a
slight modification (using something like [value root.resFolder] or similar.
Thanks for the code below, although I'm finding that if I change the name of
the proxy format from "myProxy" to "dcProxy" it fails when I try to start nuke.
Switching it back makes it work again. Strange behavior, seems to me...
On Mar 30, 2012, at 12:28 PM, Dan Walker wrote:
> You could put it in your global init.py or menu.py (not on the application
> level). Each time Nuke is executed, what you see below will be autoset.
>
> nuke.root()['proxy'].setValue(1) ###### enables proxy mode
>
> nuke.root()['proxy_type'].setValue(0) ###### sets proxy type 0 = format, 1 =
> scale
>
> myProxy = nuke.addFormat("1920 1080 1.0 myProxy") ###### create a custom
> proxy format spec
>
> nuke.root()['proxy_format'].setValue(myProxy) ######set your custom proxy
> format spec
>
>
>
> -Dan
>
>
> On Fri, Mar 30, 2012 at 10:26 AM, Bill Gilman <[email protected]> wrote:
> Is there a way to set the proxy format globally, instead of having to do it
> node by node?_______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users