I'm importing 300-400 images via Images as planes add-on, stacking them at world origin and below each other (0.001 offset). Render engine is Blender Internal. Then I want to disable interpolation for all textures with this small code:
import bpy for x in bpy.data.textures: x.use_interpolation = False
Sometimes it works, especially for amounts of images less than 10-20, but usually it throws error:
AttributeError: 'Texture' object has no attribute 'use_interpolation'