print eachnode',
it doesn't tell me that they're unloaded...??references=[]
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 unLoaded_ref_files=[]
refList = pm.ls(type='reference')
for ref in refList:
try:
if ref.isLoaded():
print ref
else:
refUnloaded="{}".format(ref)
print "{} IS NOT LOADED".format(ref)
unLoaded_ref_files.append(refUnloaded)
except:
print "FAILED with {}".format(ref)--
You received this message because you are subscribed to a topic in the Google Groups "Python Programming for Autodesk Maya" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/python_inside_maya/iNYVImCqRM4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to python_inside_maya+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/e3b8b156-6a61-43f1-980e-4920fb5c9dab%40googlegroups.com.