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
Old 10 October 2013   #1
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
 
Old 10 October 2013   #2
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())
 
Old 10 October 2013   #3
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.
 
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 12:58 AM.


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