Alternative to detach by MatID

I'm looking for a script that will detach an object into separate objects based on material ID. However I usually work with weighted normals and a standard select and detach will break them. So it would be useful to have a script that first duplicates the object then selects the faces of the material ID, inverts the selection and then deletes. After that it repeats itself for each remaining material ID of the object. Any help would be much appreciated.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
1rv's picture

some tweak needed please

Barigazi, the current version keeps multi-sub\object material assignment to detached objects. Is it possible to get a version of your "bga_detach_by_mid" that would SPLIT initial multi-sub\object material into basic ones?
Thank you in advance.

barigazy's picture

...

I added a few more options ;)
http://www.scriptspot.com/3ds-max/scripts/detachplus

bga

harumscarum's picture

EditableMesh support

Would it be possible to add EditableMesh support?
No UI required - just a simple shortcut to detach by MaterialID with no options
Thank you in advance

barigazy's picture

...

The scrip is updated to version 1.2
Now support meshes

bga

barigazy's picture

...

Looking for this?

;)

AttachmentSize
bga_detach_by_mid_v1.0.ms 2.89 KB

bga

EricRLA's picture

Yes! That does exactly what I

Yes! That does exactly what I needed. Thank you!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.