thanks for all
I found out a way *from maya import cmds* *getAllRef=cmds.file(q=True,l=True)* *getFileLoc=cmds.file(q=True,loc=True)* *print getFileLoc* *for refs in getAllRef:* * if(getFileLoc!=refs):* * cmds.file(refs,ir=True)* -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
