|07 July 2017|
[python] how to find all unloaded (unchecked) referenced files in maya ?
Did someone know why this little script isn't print all the unloaded referenced files founded in my .ma file?
i've got somes nested ones who are unchecked in the referenced editor,
and even if it print them in : 'print eachnode',
it doesn't tell me that they're unloaded...?
thanks a lot for any help
for ref_node in cmds.ls(type='reference'):
* * references.append(ref_node)
for eachnode in references:
* * print eachnode
* * unLoaded_ref_files = cmds.referenceQuery(eachnode, filename=True, isLoaded=False)
print unLoaded_ref_files *
|reply share thread|