what's the filename variable in afterRender Write Python script?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  10 October 2013
what's the filename variable in afterRender Write Python script?

I'm trying to embed ICC profiles in OS X via nuke afterRender commands and successfully got it working with this command:

os.system("sips -e /Library/Application\ Support/Adobe/Color/Profiles/Recommended/sRGB\ Color\ Space\ Profile.icm /Volumes/lackey/WORK/home_phoner5.0001.tif")

but I want to turn the filename and/or path into a variable with the current frame. I'm wondering what the syntax is for that. thx
 
  10 October 2013
got a response on Twitter. here's the file name as variable at the end:

os.system("sips -e rRGB.icm " + nuke.thisNode()['file'].value())
 
  10 October 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 08:16 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.