I'm not sure exactly what that did, but it didn't detach them as separate objects. After I run it, it looks like there's a lot more faces, but for some reason, it put everything in one object still.
Main Topics
Browse All TopicsI have a city scene created in 3ds max that I made as one object using a few modifiers. Currently each building in the city is a separate element in the object, but I need them to be separate objects. I know this is doable by manually selecting each building and detaching it, however there are ~250 buildings, so this would be a very tedious process. I want to know if there is a way to detach each element of an object to a separate object automatically
Thank you.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
My apologies - somehow I neglected to paste the entire script. Since your object was an editable mesh, the above script failed because their is no function for handling editable meshes. The above script only contains a function for handling editable polys. If you converted your object to an editable poly, the above would work.
The script below contains all three functions (edit poly, edit mesh, edit spline). I tested the script on the file you attached and it worked great.
Sorry for the confusion.
Business Accounts
Answer for Membership
by: bham3dmanPosted on 2008-11-22 at 15:46:56ID: 23022820
Greetings,
Maxscript is the only way that I know of to achieve this. You can detach all elements of a selected editable poly, editable mesh, or editable spline by selecting the object and then running the maxscript below (this maxscript was written by Chris Harvey).
To run this maxscript, select your object, then select the MAXScript menu item and choose New Script (this will open a new maxscript window). Next, copy the code below and paste it into the maxscript window. Finally run the script by selecting the Tools menu and then selecting Evaluate All (In Max 9 and earlier, select the File menu and then choose Evaluate All).
After running the script, all of your elements should be detached as separate objects and each of their pivots will be centered. If you do not wish for the pivots to be re-centered, remove the following line from the maxscript: centerpivot NewObj
Good luck.
Select allOpen in new window