ianwaters
I've seen it mentioned in passing (twice!) on the internet that you can merge two MFnMesh meshes by using copyInPlace, this doesn't seem possible to me.

I've always merged meshes the horrifyingly long way (you know, get all the component mesh data, append it all, and reconstruct it).

Is there a shortcut that I've missed!?
Cheers,
Ian
pshipkov
I also do it the hard way.
Never tried this method.

MObject oA = dataBlock.inputValue(inMeshA).data();
MObject oB = dataBlock.inputValue(inMeshB).data();
MFnMesh fnMesh(oA);
fnMesh.copyInPlace(oB);

Will check soon if my assumption is correct.
Reply 0 0
ianwaters
Cheers Peter, it doesn't work for me, but it might be my process...

Ian
Reply 0 0
Reply