Perfect. Seems to work. Thanks Daniel. Check out some of my work... www.vimeo.com/darrencoombes/reel2015 <http://www.vimeo.com/darrencoombes/reel2015>
Mob: +61 418 631 079 <tel:+61%20418%20631%20079> Instagram: @7secondstoblack Instagram: @durwood0781 Skype: darren.coombes81 Twitter: @durwood81 > On 10 May 2016, at 8:11 am, Daniel Stein <daniel.st...@thefoundry.co.uk> > wrote: > > On Linux/Unix systems in a bash shell or script you can do: > > export JOB=test_job > > or in a csh or tcsh session: > > setenv JOB test_job > > On 9 May 2016 at 14:55, Darren Coombes <darren.coom...@me.com > <mailto:darren.coom...@me.com>> wrote: > Can anyone shed some light on how you would set up a job environment in > terminal? So when you read a nuke script from a certain directory, it sees > what JOB you are in, and what SHOT you are in? > > Say my nuke project was here and my job name is “test_job”, working on shot > “s010_write_test”... > /Users/darren/Desktop/test_job/shots/s010_write_test/nk/s010_write_test_v001_dc.nk > > and i had navigated in terminal to go to the shot folder like so… > $ cd /Users/darren/Desktop/test_job/shots/s010_write_test/nk/ > > I’ve been reading this, but can’t seem to figure out how to set the env > variable for a specific shot each time? > https://www.thefoundry.co.uk/products/nuke/developers/100/pythondevguide/asset.html?highlight=version# > > <https://www.thefoundry.co.uk/products/nuke/developers/100/pythondevguide/asset.html?highlight=version#> > > etc etc.. > <Screen Shot 2016-05-10 at 7.45.22 am.png> > > > > Check out some of my work... > www.vimeo.com/darrencoombes/reel2015 > <http://www.vimeo.com/darrencoombes/reel2015> > > Mob: +61 418 631 079 <tel:+61%20418%20631%20079> > Instagram: @7secondstoblack > Instagram: @durwood0781 > Skype: darren.coombes81 > Twitter: @durwood81 > > > _______________________________________________ > Nuke-users mailing list > Nuke-users@support.thefoundry.co.uk > <mailto:Nuke-users@support.thefoundry.co.uk>, http://forums.thefoundry.co.uk/ > <http://forums.thefoundry.co.uk/> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users > <http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users> > > > > -- > Daniel Stein > Creative Specialist > The Foundry > Skype: dan.stein87 > Direct: 310-463-2368 > Web: www.thefoundry.co.uk <http://www.thefoundry.co.uk/> > Email: daniel.st...@thefoundry.co.uk > <mailto:daniel.st...@thefoundry.co.uk>_______________________________________________ > Nuke-users mailing list > Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
_______________________________________________ Nuke-users mailing list Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users