Re: [Maya-Python] Get original mesh before any deformer

2015-03-02 Thread Miguel González Viñé
Hi, thanks for the reply. After more testing, it was working the way I did, but my debug messages with MGlobal::displayInfo didn't display anything... I'm testing with the bulgeMesh deformer of Chad Vernon from CGCircuit, and if I try to display the name of the inputGeom like this: MGlobal::displ

Re: [Maya-Python] Get original mesh before any deformer

2015-03-02 Thread f.michal
W dniu 2015-03-02 o 13:18, Miguel González Viñé pisze: Hi all, I'm doing a c++ deformer node and a MPxCommand to create some info inside the deformer. I'm trying to get the MFnMesh of the object before any deformations through a MPlug because as I'm in the MPxCommand class I don't know how

[Maya-Python] Get original mesh before any deformer

2015-03-02 Thread Miguel González Viñé
Hi all, I'm doing a c++ deformer node and a MPxCommand to create some info inside the deformer. I'm trying to get the MFnMesh of the object before any deformations through a MPlug because as I'm in the MPxCommand class I don't know how to get the datablock. The problem is that when I get the con