Something that I use here when coding/testing my python scripts is the python reload() function. It will always import the latest modification saved to your script file.
No need to copy/pasteback and forth and if you want you can even assign this to a keyboard shortcut.
Something like this would work on the script editor:
nuke.pluginAddPath('/path/to/script/folder/') # need to run this just 1 time.
import yourscriptfile #need to run this just 1 time.
reload(yourscriptfile)
yourscriptfile.runthedesiredfunctionhere()
Ah, many thanks!Will look into this.// FredrikOn Fri, Jul 26, 2013 at 6:05 PM, Deke Kincaid <[email protected]> wrote:
Pretty much what Sam said. Here’s the link.-----
Deke Kincaid
Creative Specialist
The Foundry
Mobile: (310) 883 4313
Tel: (310) 399 4555 - Fax: (310) 450 4516
The Foundry Visionmongers Ltd.
Registered in England and Wales No: 4642027On Tue, Jul 23, 2013 at 6:14 AM, Sam Marrocco <[email protected]> wrote:
I've been using a project called nukeExternalControl (GitHub) to inter-app communicate between python and nuke. It isn't fast but seems like it would probably do the job for you provided that Nuke's python interface allows a "paste" into it's editor. It definitely can run python commands internally on Nuke from as external interpreter. Internally it seems to use sockets.
On 7/23/2013 4:40 AM, Fredrik Averpil wrote:
I was wondering, does Nuke have a command port, similar to what Maya has – enabling me to send code from my favourite editor to be executed inside of Nuke (without having to copy-paste the code back and forth)?
sam marrocco | chief technical officer
ringside.cutters.picnic.moonlink
248 548 2500 w
248 910 3344 c
ringsidecreative.com
_______________________________________________
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
--
Magno Borgo
Certified Nuke Trainer
www.boundaryvfx.com
www.borgo.tv
Brasil:Curitiba:GMT= -3
Certified Nuke Trainer
www.boundaryvfx.com
www.borgo.tv
Brasil:Curitiba:GMT= -3
_______________________________________________ Nuke-users mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
