import maya.OpenMaya as openMaya
array = openMaya.MStringArray()

throws an error.

# Error: 'module' object has no attribute 'MStringArray'
# Traceback (most recent call last):
#   File "<maya console>", line 1, in <module>
# AttributeError: 'module' object has no attribute 'MStringArray' #

from what I understand I should be able to declare this just as any
other class. MDagPathArray() MDoubleArray(). Is there a particular
reason it tells me that, first off, that the MStringArray() is an
attribute rather than a class, or second, that it doesn't exist when
it does. thanks!

Brandon L. Harris
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to