In Maya C++ API Reference:
C++ API Class: MFnMesh
bool getCheckSamePointTwice (void)
Return true if checking for duplicate points is turned on.
Return false otherwise.
void setCheckSamePointTwice (bool check = true)
This method allows the turning on or off of duplicate point checking when polygons are created or added using this class.
Checking for duplicates, is the default state.
In Maya Python API 2.0 Reference:
Python API Class: MFnMesh
Only:
checkSamePointTwice
OpenMaya.MFnMesh.checkSamePointTwice = property(...)
Controls whether polygons created or added through the functionset
are checked for duplicate points.
How to with Maya Python API 2.0 turning off duplicate point checking when polygons are created(Set CheckSamePointTwice to false) ?
upd:
As a workaround, instead of using the Maya Python 2.0 API (maya.apy.OpenMaya.MFnMesh()
) I am forced to use the old Maya Python API (maya.OpenMaya.MFnMesh()
) to create the meshes. . .
In the old Python API, MFnMesh()
has a setCheckSamePointTwice
method.
The question is still relevant:
Is it possible using Maya Python API 2.0 to disable CheckSamePointTwice?