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.
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 ? :-))

Jeff Lim's picture

thanks, I'll try to look

thanks, I'll try to look into the code again and see if i can make feasible adjustments. I can't promise an update anytime soon coz of busy schedules, my apologies.. :)

titane357's picture

Great script, thanks

Great script, thanks !!!!
Last update 2005 is somebody strong enough to optimize it ? (a bit slow)

Comment viewing options

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