Q100215: Checking if Nuke is running in batch mode via C++

Follow

SUMMARY

This article shows how you can check if Nuke is running in batch mode via C++.

MORE INFORMATION

If you are looking to identify whether Nuke is running in batch mode or UI mode, there is a C++ method for querying the API to determine the mode in use. 
 
This method to use is: 
 
Application::gui

Additional information regarding NDK development can be found here:
https://www.thefoundry.co.uk/products/nuke/developers/100/ndkdevguide/

It is also recommended to review the header files shipped with the NDK, as there is often useful notation contained within them that can offer hints to api functions to use for different purposes. 


Was this article helpful?
0 out of 0 found this helpful