…and exporting the selected objects to an ASS file.
from win32com.client import constants as C filename = XSIUtils.BuildPath( Application.InstallationPath( C.siProjectPath ), 'Arnold_Scenes', '[Scene].[Frame].ass' ) Application.SITOA_ExportScene( 1,1,1,True,True,filename) # Application.SITOA_ExportScene(1, 1, 1, True, True, "C:\\Users\\Steve\\My Project\\Arnold_Scenes\\[Scene].[Frame].ass")