I like the idea of the nuke.message() but the problem is it shows 1 path at a time and show the next one when you click ok, because it is a loop. I want the path in one message. Is that possible ??

thanks

Michael Havart wrote:
you can use the nuke.message(str(n['file'].value()))


On 19 July 2011 18:19, Olivier Jezequel <[email protected] <mailto:[email protected]>> wrote:

    Can use show me an exemple ? I tried few way of writing that they
    all return an error or a missing argument, the doc is quiet short
    on that.
    that's what i am tring to show up :

    for n in nuke.allNodes ( "Read" ) :
       print n['file'].value()


    cheers
    O


    John Vanderbeck wrote:

        Have you looked at nuke.display() ?

        -----Original Message-----
        From: [email protected]
        <mailto:[email protected]>
        [mailto:[email protected]
        <mailto:[email protected]>] On
        Behalf Of
        Olivier Jezequel
        Sent: Tuesday, July 19, 2011 12:42 PM
        To: Nuke Python discussion
        Subject: [Nuke-python] forcing nuke to show the script editor

        Hiya,
        I am writing a little utility tool to print out the path of
        input files.

        Is there a way to force nuke to open a script editor to show
        the result (for exemple popping as a floating window), if the
        script editor is not in the GUI already ??

        thanks
        Olivier
        _______________________________________________
        Nuke-python mailing list
        [email protected]
        <mailto:[email protected]>,
        http://forums.thefoundry.co.uk/
        http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
        _______________________________________________
        Nuke-python mailing list
        [email protected]
        <mailto:[email protected]>,
        http://forums.thefoundry.co.uk/
        http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

    _______________________________________________
    Nuke-python mailing list
    [email protected]
    <mailto:[email protected]>,
    http://forums.thefoundry.co.uk/
    http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python


------------------------------------------------------------------------

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to