Hey guys, I am working on a mesh extrusion node, so I am duplicating the faces using MFnMesh.duplicateFaces() and moving them with face normals vector using a distance attribute, now the problem I am having is that when I duplicate the faces the new face Ids have no pattern and their faceIds are really weird and I cant get the faceIds corresponding to its original face.
Is there a way I can get the faceId from it because is just returns a Status and nothing else. Also I have another question is that in duplicate faces it says: MStatus <http://docs.autodesk.com/MAYAUL/2014/ENU/Maya-API-Documentation/cpp_ref/class_m_status.html> duplicateFaces(MIntArray <http://docs.autodesk.com/MAYAUL/2014/ENU/Maya-API-Documentation/cpp_ref/class_m_int_array.html> & faceList,MFloatVector <http://docs.autodesk.com/MAYAUL/2014/ENU/Maya-API-Documentation/cpp_ref/class_m_float_vector.html> * translation ) Now it allows me to enter a list of faces but in translation it only accepts 1 vector, thats not possible if i duplicate more than 1 face and move them with just 1 vector. If anyone knows how i can use separate vectors for each face in a list would be awesome. Thanks in advance. D. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/23da7f06-4aa6-4220-9b96-c82e0ccb01b1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
