Adverti horiz upsell

MayaPython 0.1.0 for Maya (maya plugin)

The Python for Maya PlugIn is an effort to...

License
Button download
1,600 Downloads

Compatibility

  • 7.x, 6.x, 5.x

Operating Systems

  • Windows

History

Created:02/24/2005
Last Modified:11/10/2005
File Size: 51.7 KB

Q/A

How to get list of all .ass file of maya file

Date:08/22/2018
Submitted by: sachinsd03 sachinsd03
I am making a script which list all texture , reference and .ass files .
 
file_ = cmds.file(query=1, list=1,withoutCopyNumber=1)  
This command gives the list of Reference file and textures.
 
assFiles =list(set([cmds.getAttr(n +'.dso')for n in cmds.ls(type='aiStandIn')]))
This command gives me all standins .ass files which are included in .ma file.
 
I want to get list of .ass files which are included in .ass file .I am getting .ass file which are stadins in .ma file but i am not getting .ass files which are in .ass files
 

Post a reply: