Gotcha, I misread your original post. Thanks! /Christian
On Wed, Nov 17, 2010 at 8:07 AM, Viktoras <[email protected]> wrote: > On 2010.11.17 18:04, Christian Akesson wrote: > > Viktoras: > I want to remove the intermediate shape nodes, but only if the mesh is not > being deformed by any deformer in which case those are needed > (meshNameShapeOrig, sometimes meshNameShapeDeformed when referenced). > These intermediate shapes are sometimes retained on the mesh when > duplicating or delete history to get rid of deformers. They cause some > issues in our pipeline.... > > > that's exactly what i said. if you list outgoing connections from a shape, > which is marked as intermediate, and it does not connect anywhere (usually > garbage shapes won't at all) - you can delete it. > > -- > http://groups.google.com/group/python_inside_maya > -- http://groups.google.com/group/python_inside_maya
