Ean, That seems to be a different issue than what I was having trouble with. However, I did not know about the fromUserText() method. That will come in handy as a shortcut for creating nodes with pre-filled knob values!
Thanks! Rich On Aug 30, 2014, at 6:58 AM, Ean Carr <m...@eancarr.com> wrote: > Hey Rich, > > You might also have a look at the fromUserText method on the Read's file > knob, which is really handy... > > fromUserText(...) > self.fromUserText(s) -> None. > Assign string to knob, parses frame range off the end and opens file to get > set the format. > @param s: String to assign. > @return: None. > > e.g. > > nuke.nodes.Read()['file'].fromUserText("/path/to/image/imageseq.%04d.cin 1-5") > > Cheers > > > On Fri, Aug 29, 2014 at 8:16 PM, Richard Bobo <richb...@mac.com> wrote: > Patrick, > > That did the trick — thanks! > > Rich > > > On Aug 29, 2014, at 2:28 PM, Richard Bobo <richb...@mac.com> wrote: > >> Patrick, >> >> I think that’s gonna work - testing it now… >> >> Rich >> >> >> On Aug 29, 2014, at 1:55 PM, Patrick Heinen <mailingli...@patrickheinen.com> >> wrote: >> >>> Can you use node.width() and node.height() instead? Those should return the >>> actual resolution. >>> cheers, >>> Patrick >>> >>> On 29.08.2014, at 10:44, Richard Bobo <richb...@mac.com> wrote: >>> >>>> Hi, >>>> >>>> This is an interesting problem… (8^\ >>>> >>>> If I copy/paste a path string into a Read node’s file knob, the format >>>> knob does not update to reflect the new image path’s image size. >>>> >>>> The only way that I have found to get the format knob to update is to >>>> actually browse to the image, select it and hit the Open button. Hitting >>>> the reload button or changing any of the other knobs does not seem to >>>> cause Nuke to re-check the image at the new file path location. >>>> >>>> I have a gizmo that depends upon getting the Read node’s image size and >>>> I’ve been using the format knob as a way to get it. Is there any way to >>>> force Nuke to look at the image the newly-pasted file path is referring to >>>> and refresh the format knob? If I could figure out what callback is firing >>>> when manually browsing for the image and hitting the Open button, that >>>> would probably do it… >>>> >>>> Any ideas…? >>>> >>>> Thanks, >>>> Rich >>>> >>>> >>>> Rich Bobo >>>> Senior VFX Compositor >>>> Armstrong White >>>> Email: rich.b...@armstrong-white.com >>>> http://armstrong-white.com/ >>>> >>>> Email: richb...@mac.com >>>> Mobile: (248) 840-2665 >>>> Web: http://richbobo.com/ >>>> >>>> "Man does not live by a turkey in every oven or a color TV set in every >>>> home. Man lives by faith and hope and love, by the star on the horizon, by >>>> the trumpet that will not call retreat." >>>> - E. Merrill Root >>>> >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> 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 > > > _______________________________________________ > 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