if (classof $.material.materialList[each].diffuseMap == Bitmaptexture ) and (getFiles $.material.materialList[each].diffuseMap.filename).count >0 then \
if (classof $.material.materialList[each].diffuseMap == Bitmaptexture ) and (getFiles $.material.materialList[each].diffuseMap.filename).count >0 then \