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 > All Programs > Accessories > 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.

 

If you have any trouble with the above, please find detailed information in our online documentation for Environment Variables.

 


Keywords: Nuke, environment variables
Was this article helpful?

We're sorry to hear that

Please tell us why
0 out of 1 found this helpful