Is it possible to select all poly(s) in editable Mesh/Poly that belongs to certains IDs?

So the title maybe too short to actually make sense. So what I mean is:

- Problem: there's a high polygon object (attached from different small ones with different materials). I want to enter poly sub-mode (hotkey 4) select some poly(s) and having a script that select the rest of poly(s) that share the same ID(s) with selected ones I just picked. Multiple at once.

Example:

Given object has 40 Material IDs: I enter poly submode, select face/poly belongs to ID 21, 22, 23, 27, 29, 33 (each ID I only pick one face/poly contain it). Is there anyway to then select all other poly in the given object that share the same group of ID (which is 21, 22, 23, 27, 29, 33). And I don't know beforehand which ID(s) need to select and remove, but to choose it by click into those parts of object in poly submode, visually.

I know there's several script that allow you select just one face/poly in object submode, and then it will select the rest of them (just like building function in 3ds Max).

The practical problem for this task, is when file came for other source, that has different type of object attached together, there's no quick way to select and detach/delete those unwanted attached parts (knowing they have different IDs than the remaining parts). Like, the max file with the house object attached to all vegetable and tree/plan into one big object, the task to select plan/vegetable is quite tedious because each time we can only pick one poly, one ID and move on manually).

Comments

Comment viewing options

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

you can use (detach by

you can use (detach by material ID) script , its better than detaching manually .

there is good one made by Barigazy called DetachPlus you can use it .

nnq2603's picture

Thanks, the DetachPlus looks promising.

Thanks Obaida. I did used detach by material ID in the past but I don't quite remember why I no longer use it. Have to check again. And Detach Plus looks amazing because all tasks are automatical with options. Nice day.

Comment viewing options

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