How to Check in Which Mode (Batch or Interactive) Softimage is Running

 
 
 

You can use the Interactive property on the Application object to find out whether Softimage is running in interactive mode (returns True) or in batch mode (returns False):

' Using Application.Interactive is the same as Application.Interactive = True
If Application.Interactive Then
	Application.LogMessage "The application is running in interactive mode."
Else
	Application.LogMessage "The application is running in batch mode."
End If

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License