Notifications
Clear all

[Closed] Delete missing bitmap

Hi i am new to maxscript, i have make a script as below:

(
texture_missing = for t in (getClassInstances BitmapTexture) where not (doesFileExist t.filename) collect t
if queryBox (“Clean ” +texture_missing.count as string + ” textures missing?”) beep:false then texture_missing.filename = “”
macros.run “Asset Tracking System” “AssetTrackingSystemRefresh”
)

it does delete the missing bitmap and update the asset tracking system, but it does not remove the empty bitmap slot in my vray material, hoping someone could help me out, thank you very much.

Regards,
Jackie

1 Reply

anyone can help??