Create a ticket
Follow

Q100016: How to check if a Nuke environment variable exists

SUMMARY

The following article discusses how to check to see if a Nuke environment variable exists.

MORE INFORMATION 

On Windows:
1) Select Start and search for Command Prompt.

2) In the command window that opens, enter echo %VARIABLE%. Replace VARIABLE with the name of the environment variable.
  • For example, to check if NUKE_DISK_CACHE is set, enter echo %NUKE_DISK_CACHE%. If the variable is set, its value is displayed in the command window.

On Mac or Linux:
1) Launch Terminal or a shell.
2) Enter echo $VARIABLE. Replace VARIABLE with the name of the environment variable.

  • For example, to check if NUKE_DISK_CACHE is set, enter echo $NUKE_DISK_CACHE. If the variable is set, its value is displayed in the Terminal or shell window.

 

More information about environment variables can also be found in the following section of Nuke's documentation: Environment Variables

A list of all the environment variables that Nuke recognises can also be found in the documentation here: Nuke Environment Variables 

Was this article helpful?

We're sorry to hear that

Please tell us why
0 out of 0 found this helpful