make NukeExternalControl work in terminal mode #3

Open
sebastianelsner opened this Issue Jul 8, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@sebastianelsner

starting nuke with -t and doing the standard import and execution of the server does not work in terminal mode. Hangs right after "Trying port xy"

@HughMacdonald

This comment has been minimized.

Show comment Hide comment
@HughMacdonald

HughMacdonald Oct 31, 2011

Owner

Check the new stuff that I recently merged in from the guys at Luma...

You can now do something like this directly from non-Nuke python:

    with NukeCommandManager() as conn:
        nuke = conn.nuke
        b = nuke.createNode('Blur')
        print b.writeKnobs()

This will automatically launch Nuke in terminal mode while you talk to it, and then quit it when you're finished.

Owner

HughMacdonald commented Oct 31, 2011

Check the new stuff that I recently merged in from the guys at Luma...

You can now do something like this directly from non-Nuke python:

    with NukeCommandManager() as conn:
        nuke = conn.nuke
        b = nuke.createNode('Blur')
        print b.writeKnobs()

This will automatically launch Nuke in terminal mode while you talk to it, and then quit it when you're finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment