how get MString value in python !!!???

how get MString value in python !!!???

Anonymous
Not applicable
1,622 Views
0 Replies
Message 1 of 1

how get MString value in python !!!???

Anonymous
Not applicable

autodesk : 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.

 

If this is true!?

Why still MString is used as (param)!?

in OpenMayaMPx.MPxImageFile

def open( self, pathname, info )

pathname return a type 'MString *'

pathname is a <Swig Object of type 'MString *' at 0x0000000026950C90> (type 'MString *')

 

https://github.com/autodesk-adn/Maya-devkit/blob/master/win/devkit/plug-ins/scripted/simpleImageFile...

0 Likes
1,623 Views
0 Replies
Replies (0)