I am searching for a way to "grab" results from a MEL execute command. For instance:
// I have to use xform let's say
// I have a vertex selected
MGlobal::executeCommand("xform -q -ws -bb");
Now how do I capture the results?
Would I use:
static MStatus executeCommand ( const MString & command, MCommandResult & result, bool displayEnabled = false, bool undoEnabled = false )
thanks for your time!