Hi guys!! 
I'm trying to create a Maya Deformer in C++, I hope you can help me with a 
doubt, maybe its dumb but im a noob and I'm a bit confused about  it 

*My questions is this.*
*If to get inputGeom from a deformer we use MDataBlock& data, something 
like this:*

MArrayDataHandle inputArrayDataHandle = data.outputArrayValue(input, 
&status);
CHECK_MSTATUS_AND_RETURN_IT(status);
status = inputArrayDataHandle.jumpToArrayElement(multiIndex);
MDataHandle inputGeomDataHandle = 
inputArrayDataHandle.outputValue().child(inputGeom);


*Why is it used a MPlug **to get outputGeom and not data like the 
inputGeom? *
*This is how I normally see it.*

MPlug outputGeomPlug(thisNode, outputGeom);
outputGeomPlug.selectAncestorLogicalIndex(multiIndex, outputGeom);

Thanks for your time.

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/76626871-346a-46cf-af1c-c66d0ca9a69a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to