Export Selection to ASS from Maya NO UI | Using Python
- Deepak KG
- Jul 17, 2021
- 1 min read
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