Working with Custom Python Modules in Softimage

You can create your own modules for use in Softimage. To hook into Softimage from inside one of these modules, you can import it and then use the imported module to get a hook to the Softimage Application.

    #---------
    import MyNiftyModule
    MyNiftyModule.Application = Application

    MyNiftyModule.AnyFunctionUsingApplication()
    #---------

Your module must not call anything during initialization that uses Application, which means that you need to only define classes and functions in a module and have only minimal init code.

Autodesk Softimage v7.5