VFXTalk.com Register | Blogs | Wiki | Facilities | RSS  
Home Forums The Pad News Gallery Reels Jobs Talent Members List Social Groups Search Today's Posts Mark Forums Read

Get your copy of Taskwise Today!
Use the form below to log on to your account. Dont have a account? Sign Up Now! its free and easy and you will be a part of the largest VFX Commnity on the Planet!


Go Back   VFXTalk.com > Visual Effects Packages > NUKE from The Foundry
Reload this Page Execute a Pythong script in Terminal OSX

Reply
 
Thread Tools Display Modes
Execute a Pythong script in Terminal OSX
Old
  (#1)
drdemo is Offline
Registered User
 
Posts: 1
Join Date: May 2009
   
Execute a Pythong script in Terminal OSX - May 30th, 2009, 03:18 AM

Hey Guys,

I'm trying to do a pipeline thing with nuke. I wanna execute a python script in the terminal in order to open up a script and change the write nodes ... however it seems that nuke try to execute the python script as a render ...

my command looks like this :
nuke -x nuke_fileout.py

and I get this error
Copyright (C) 2008 The Foundry Visionmongers Ltd. All Rights Reserved.
There are no Write operators in this script

and my python script look like this :

import nuke
nuke.scriptOpen ("/Users/jonasdrehn/Desktop/PipelineTest/database/default.nk" )
a = nuke.toNode('WriteMain')
b = nuke.toNode('PlaypackProxy')
a['file'].setValue("testfile.jpg")
b['file'].setValue("testfile_pbproxy.jpg")
  
Reply With Quote
VFXTalk Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bus Error - Rendering Nuke script from Mac terminal blackened NUKE from The Foundry 2 March 6th, 2009 08:01 PM
Nuke 5.1 v1 Released shot_grable NUKE from The Foundry 35 February 24th, 2009 01:51 PM
Execute Python in Nuke terminal SYmek NUKE from The Foundry 2 August 28th, 2008 02:42 PM
python script problem donat2 NUKE from The Foundry 3 August 6th, 2008 02:40 PM


Get yo
ur copy Today!

Copyright © VFXTalk.com, 2009