top of page

Export Selection to ASS from Maya NO UI | Using Python

A small python snippet to export ASS from Maya....


Code :


import maya.cmds as cmds

listItem = cmds.ls(selection = True)

saveFilePath = "J:/ROOT/Project/SC001/SH001/FX/UserName/ASS_Export/"


## If folders need to be created then they can be specified in the "f = " code.

## sf = Start Frame

## ef = End Frame

for obj in listItem:

cmds.arnoldExportAss(f = saveFilePath + obj + "/" + obj + ".ass", s = True, sf = 101, ef = 200)

print obj


### End of Code


## Thanks

Comments


bottom of page