Detach by Material ID

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.
backflipbedlem's picture

Random bitmap name

Great script dude,
But when tick the use bitmap name option, it saves it with a random bitmap name, not one that corresponds to the object!

Any ideas how to fix????

asymptote's picture

This is great, but freaks out

This is great, but freaks out and throws up an error when one of the selected objects has only a single id and cannot be detached.
Can this be easily fixed ?

mmaitland's picture

Very Cool, wish it had one thing though

Very Nice!! I wish it had an option to group the objects after it blows them apart, or at least have all of the objects selected that it tweaked. Thank you for the script!

crystal3d's picture

i think it errors when

one of the selected objects had no multiple materials applied so have to choose the objects carefully!:)

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

Comment viewing options

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