Detach by Material ID

36 votes
Version: 
2
Date Updated: 
12/09/2008

Detach Polygons based on its Material ID

Additional Info: 

Features

  • works on a selection of objects
  • options to automatically name detached objects
  • material propagation
    • this will assign a corresponding material by id to the detached object

Usage

  1. select any number of objects
  2. set the desired paramteters
  3. optional: if you know the maximun number of ids the object has, set the Max IDs to help speed up detachment.
  4. press detach

Internal Operations
Procedure:

  • object[s] is/are copied
  • then collapsed to an editable poly
  • faces are finally detached by material ID

Naming:

  • Numbered
    • will creae numbered names
    • e.g. 0,1,2,3
    • preferable to use with the Prefix option checked
  • Bitmap Name
    • if not diffuse bitmap found, it will use the material name
    • if no material applied, it will use the object's name
  • Material Name
    • if no material applied, it will use the object's name
  • Object Name
    • will create a unique name based on the object's name
Version Requirement: 
3ds Max 9
Video URL: 
AttachmentSize
detachbyID.ms5.08 KB

Comments

Comment viewing options

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

thanks for this script but...

it gave this error when trying it on a bunch of vray materialed objects...

jsrocha's picture

doesn´t work for me

Hey man, the script doesn´t work for me. I´m using max2009, and when i click the detach button, nothing happens....
is a pity, because it´s a very useful script.
Thanks,

Jsrocha

chalid's picture

thanks bro.. this script is

thanks bro.. this script is very useful..

Jeff Lim's picture

Thanks! I might need to test

Thanks! I might need to test this again.. but I think that's what the "Propagate Materials" is for. :)

Spacelord's picture

Great work !! Plus 1 to

Great work !!

Plus 1 to Titanes request :)
it would be handy to make each object end up with its separate material and not the multisub.

one808's picture

O O O O verygood ,thanks.^_^

O O O O
verygood ,thanks.^_^

summer

subburb's picture

Woaw ! simple and

Woaw ! simple and efficient... 5 ***** for this perfect script !

jerome Prévost (Subburb)

jerome Prévost (Subburb)

titane357's picture

:-)

:-)

Jeff Lim's picture

ok! somehow, i couldnt get

ok! somehow, i couldnt get myself to not update this script. merry christmas.

titane357's picture

happy to see you're here

happy to see you're here !!!! :-)
Thanks again !
I will abuse : could it be possible to have each resulting separate object with right material applied ? (and not the multi subobject material ?)
For chrismas ? New year ? :-))

Comment viewing options

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