Differences between the C++ Maya API and Maya Python API
No MString and MStringArray classes
We have removed the MString and MStringArray classes from the Maya Python API. Python already has a very robust string implementation which makes ours unnecessary.
I am calling the function that was instanced from MFnMesh:
meshFn.createBlindDataType( id0, longNames, shortNames, dataTypes )
Using the type call the following:
id0 = 'int'
longNames, shortNames, and dataTypes are all 'list'
The error is:
# TypeError: in method 'MFnMesh_createBlindDataType', argument 3 of type 'MStringArray' #
The help docs for the MFnMesh class for thefunction createBlindDataType states:
MStatus MFnMesh:: createBlindDataType ( int blindDataId, MStringArray longNames, MStringArray shortNames, MStringArray formatNames)
Maya does not like the list in replace of MStringArray.. suggestions?