Hey everyone!

I'm trying to improve the workflow here in my studio, and I'm fighting 
against blendShape nodes.
I want to access the target data after the mesh objects are deleted from 
the scene, but apparently Maya APIs don't allow me to do that.
It seems strange that such an important node doesn't have a good API 
support, but as stated in this 
<http://nccastaff.bournemouth.ac.uk/jmacey/RobTheBloke/www/research/maya/mfnblendshape.htm>
 article 
there's a bug (since at least ten years...)

I noticed that as long as the mesh object is connected to the blendShape 
node, the node is holding position data (thus, moving all the vertices to 
fit the exact shape of the target). But when targets are deleted, the BS 
node holds only the deltas (ie the difference between the target mesh and 
the original mesh at the moment of deletion).

So basically, when I use the MFnBlendShapeDeformer.getTargets() method, 
Maya either gives me the target object (when it is connected, from which I 
can retrieve vertices position using MFnMesh.getPoints()) or returns Null 
(when there's no object connected)

I mean.. we're talking about freaking blendShapes! There must be a way to 
just query the data I'm looking for without flipping out!

Do you have any advice on how to work this problem around? 

Thanks a lot

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/9d2c5cde-d915-47cf-92ec-61962d44410c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to