A one-click solution to cleaning up the mess the new DWG importer leaves behind for those not using DWG linking workflows.
Script
DWG Cleanup
By Jon Seagull · 2006-10-21
- Version
- 1
- Version requirement
- 8; 7; 6
- Date updated
- 2006-05-01
- Votes
- 20
- Download
- Download
Description
Additional Info
- Safely removes all block relationships and deletes all Block/Style parent objects
- Condenses the selection to a single layer - preserving wireframe colors
- Changes any white wireframe colors: to the original layer's color - or to orange if the original layer color was white
Installation: Run .mcr file from MAXScript Menu > Run...
Where to find: Customize UI > CAD Cleanup category
Tags: I/O
Comments (10)
New Hierarchy Guardian plugin cleans DWG / DXF / FBX / SKP...
rode3d · 2026-03-10
Hierarchy Guardian plugin solves this and all kinds of problems arising from imported CAD or BIM files safely and reliably.
Learn More: https://www.splinedynamics.com/hierarchy-guardian
Doesn't seem to delete Block/Style Parent objects in Max 2022
Richard7666 · 2022-04-09
as above, seems Autodesk changed something in Max 2022
Taking too long
Carol Rein · 2016-06-19
Is it normal that it takes a lot (A LOT) of time to perform the task?
I´m using max 2014
Very good script
ivailora4kov · 2015-09-29
I just found this script, it will save me a lot of work. I tried it on max 2013, and the only way to work is - to select all objects and run the script, otherwise nothing happened.
3ds Max 2015 process
dodeqaa · 2015-07-10
Hey there.
Thank you for this wonderful script.
I'm using Max 2015 and have found a workaround is needed for the script to work.
You need to select groups of objects and unlink them first, before running the script to delete the style/block objects. Selecting too many (in my experience >300) will lag up the process.
Some objects will be left behind after the process and it will look like the script is not working on them but they're actually geometry objects and can be deleted using the delete button.
Some style/block objects will also be left over, select them and use the script again to delete them.
Recommend setting a hotkey yo execute the script for speed.
Hope it helps someone. Been trying for a few hours trying to get rid of this mess XD
Error in script
inatosema · 2015-04-07
I've tried using this script but i alway get an error. Using Max 2014. Any suggestions?
Great script
Script_Butler · 2014-01-30
Why have i never used this before!!
1rv · 2012-03-25
you are my hero!!!!
!!!!!!!!!!!
polyx · 2011-08-23
You have just saved me from tonsss of wasting hours and hassle!!!! THANK YOU VERY MUCH! This script is brilliant!
marlonebrando · 2010-02-05
It's working on max2009.
And it will make me winning some hours. Thank you very much.