Help with (simple?) script
I'm a student that is just stumped by what seems a simple assignment. I simply need to write a script that will parse a given scene and delete anything that is NOT a box. I can accurately determine if something isn't a box with:
for i in $objects do if classOf i!=box then
but as soon as I try to delete those objects by using:
I get a Unknown Exception Error. I have tried the help files and just can't see why this shouldn't work.