Shortcuts for Python

 
 
 

The Softimage situtils module contains utility functions and other goodies such as the following shortcuts that facilitate Python scripting.

C

Softimage constants

log

LogMessage

disp

Dispatch function from win32com.client

In the script editor, when the language is set to Python, the Syntax Help submenu allows you to insert the shortcuts found in the Softimage siutils module for use in the script editor.

from siutils import log                # LogMessage
from siutils import disp               # win32com.client.Dispatch
from siutils import C                  # win32com.client.constants
import siutils
# Add this plug-in path to python path
siutils.add_to_syspath(__sipath__)
import siutils