About Extrude face:
First of all I want to mention, I do understand the polymodifier plug-in and I know I must have to mannage myself the history issue from bottom, while dealing with polymodification. Now my question is :
if I want to Extrude the face with local scale manipulation then how to write this in c++ API. For better understanding I have attached an image.
By manual oparation in Maya, If I just scale a face inward , it does not create new faces arround it. But when i use polyExtrude and local scale manitpulator, the result looks like the attached image.. I want to automate this procedure in c++ API.
I am quite capable to manage the history issue with polymodifier in maya. Just i do not know how to do this local scale during polyExtrude. I do understand how tweak works. But tweak only scale the face or move vertex from one place to another. Tweak does not create new faces arround the given face. Please have a look at the attached image.
Many thanks
**I do not need any advice on history issue.. My queation is very basic, just about addressing local scale within polyExtrude command. How can I get same result in maya API.. The process can be different. Please help
MStatus status;
MFnMesh meshFn(fMesh);
MVector F_Normal(0, 0, 0);
meshFn.getPolygonNormal(fComponentIDs[0],F_Normal);
int divisionCount = 2;
MFloatVector translation;
translation = F_Normal;
bool extrudeTogether =false;
status = meshFn.extrudeFaces(fComponentIDs, divisionCount,&translation, extrudeTogether);
return status;
