# Selectively breaking-apart a poly model

**URL:** https://forum.highend3d.com/t/selectively-breaking-apart-a-poly-model/49463
**Category:** Maya
**Tags:** modeling
**Created:** [February 25, 2004, 10:03pm UTC](https://forum.highend3d.com/t/selectively-breaking-apart-a-poly-model/49463 "2004-02-25T22:03:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![bjorke](https://forum.highend3d.com/user_avatar/forum.highend3d.com/bjorke/32/360_2.png) [@bjorke](https://forum.highend3d.com/u/bjorke)
#### Post date: [February 25, 2004, 10:03pm UTC](https://forum.highend3d.com/t/selectively-breaking-apart-a-poly-model/49463/1 "2004-02-25T22:03:37Z")

</div>

I have received a polygonal model with multiple shaders, but all as ONE MESH. I can select the polys assigned to the individual shaders easily enough via Hypershade etc, but what I WANT to do is break those polys out into their own mesh, without losing texture coordinates and so forth.

Applying "polySeparate" busts the model into about 50 bits, which isn't what I want.

What I want to do is something like this:

1. select shader in hypershade (or wherever)
2. "Select objects with this material" which selects those specific polys.
3. Separate JUST THOSE POLYS into a new separate mesh node.

Am I missing something? Because I sure haven't found a straightforward way to accomplish this. Some specific use of "polyShipOff" that I'm too dense to figure out?

Thanks in advance,  
KB

---

<div class="post-metadata">

### Author: ![bjorke](https://forum.highend3d.com/user_avatar/forum.highend3d.com/bjorke/32/360_2.png) [@bjorke](https://forum.highend3d.com/u/bjorke)
#### Post date: [February 26, 2004, 12:10am UTC](https://forum.highend3d.com/t/selectively-breaking-apart-a-poly-model/49463/2 "2004-02-26T00:10:26Z")

</div>

DUPEXtract.mel did what I needed, though I had to edit it for use in Maya 5 and Windows (multi-line string declarations were broken into their own procs).

---

<div class="post-metadata">

### Author: ![mole](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/m/9fc348/32.png) [@mole](https://forum.highend3d.com/u/mole)
#### Post date: [February 26, 2004, 12:29pm UTC](https://forum.highend3d.com/t/selectively-breaking-apart-a-poly-model/49463/3 "2004-02-26T12:29:48Z")

</div>

Hi.  
safeSeparate and detachSeparate also can do that.  
Or. I can't remember the name of the script. But I saw something called separateByMaterial probably in this site.
