LogicFile

Instead of embedding your logic code inside the SPDL file, you can also specify an external script file that contains your code. To specify the location of that external script file, use the LogicFile setting:

    LogicFile = "<#Raax22856">location>";

location

The path is absolute and you must use either forward slashes or double backslashes:

    LogicFile = "C:/users/kilroy/Softimage/Softimage_7.5/Application/spdl/lib/MyExternalScriptFile.vbs";
    LogicFile = "C:\\users\\kilroy\\Softimage\\Softimage_7.5\\Application\\spdl\\lib\\MyExternalScriptFile.vbs";

You can also use environment variables to provide more flexibility:

    LogicFile = "$XSI_USERHOME/Application/spdl/lib/MyExternalScriptFile.vbs";
    LogicFile = "$XSI_USERHOME\\Application\\spdl\\lib\\MyExternalScriptFile.vbs";

| You can supply a bogus location for the external script file and the preset will generate without errors; however, the page will generate an error once it loads in Softimage.

| As of v6.01, the inline directive works to include logic sections. Logic sections are appended together into a single script, so they all have to use the same scripting language.

Autodesk Softimage v7.5