I’m looking for a way to delete a bitmap just by “getClassInstances Bitmaptexture” without having to enter material by material and slot by slot.
I really want to delete the bitmap, not replace it with an empty one.
I’m trying something like:
cBit = getClassInstances Bitmaptexture
for c in cBit do
(if c.filename == undefined or c.filename == “” do
(delete c
–or c = undefined
)
)