Issues in Batch Scripting

Scripts can be run in batch mode from a shell or command prompt window, without invoking the interface. This is also known as command line scripting. You can specify the procedure to run, as well as supply any necessary arguments. Before running a script in batch mode, you may need to prepare it first.

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

Autodesk Softimage v7.5