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

Recent Posts

See All
Udemy - Houdini VEX Programming for Beginners

In this series of lessons we will learn basics of Python language. We start with installing and setting up Python and Visual Studio Code for programming. Then will cover types of variables in Python t

 
 
 

Comments


bottom of page