Setting up two Nuke Path environment variables based on versions

Hey all,

I’m just starting to get my head around scripting with nuke. I recently set up an environment.plist script to designate a new location for Nuke’s plugins. Now I have Nuke 6.1v1 and the 64-bit beta Nuke 6.1v2b1 versions on my Mac. I think because some of the gizmos and tools in the beta 64-bit are a bit different I get an error when trying to open the the 64-bit version using the plugins from the older version and visa-versa with using the plugins from the 64-bit version.
So, I was wondering if there is a simple script to implement into my environment.plist file that would clarify a separate path for separate versions of Nuke?

Currently this is what my environment.plist file looks like (except I replaced the path string for confidentiality):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//
EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NUKE_PATH</key>
<string>/Place/where/plugins/are</string>
</dict>
</plist>

Thanks!

No Responses to “Setting up two Nuke Path environment variables based on versions”

Post a Comment