ScriptSpot

Forum topic · Scripts Wanted

Script for deleting interior objects

By chanjl · 2011-08-02

Description

Hi everyone,

I have a bunch of building models (~1000) and I am looking for a quick way to delete the interior objects in them so as to reduce the size of the models. Is this feasible to script or should I just do it manually?

P.S. Just hoping for a gauge of the amount of work needed to do the script - not asking to be spoon-fed.

Thanks!

Comments (3)

br0t · 2011-08-04

Well maybe you can go by name, by wirecolor, by layer, by size or what not. If you manage to write a small script for it, you can use this:
http://paulneale.com/scripts/batchItMax/batchItMax.htm
by Paul Neale to batch process your 1000 max files. You just give it a folder with your max files and choose what scripts to execute and how/where to save the file, veeery handy.
Cheers

br0t · 2011-08-02

As you might imagine, a script would have to identify which objects in your scene are buildings, and which are interior objects. Do you have some kind of naming convention that could be a starting point? Maybe size would be an option, if your buildings are largely bigger than anything else in the scene.
Is everything inside one scene or do you have 1000 .max files?

chanjl · 2011-08-03

1000 .max files. Yes I guess I'd need to think of a way to differentiate interior and exterior parts of the building.