Error Attempt to access deleted scene object Maxscript
Hello : I have item in array, and when max cannot find these items in scene it gives me error (error below). I want to create simple script that looks for these items in array and if it find it then delete it and it it doesn't then don't do anything. Or maybe Messaagebox "No items found in ALL_Call"
Global Lit = (Vraylight Name: "Test Light" Global Bx = (box length:462.647 width:412.084 height:414.003 pos:[135.56,686.408,0]) Local ALL_Call = #(Lit, Bx) if ALL_Call.count == 2 do (delete ALL_Call)
Error : Runtime error: Attempt to access deleted scene object
Hope you guys can help.