hi there

i've got some problems getting the selected cv's of a curve or a nurbs
with ls(sl=1) in pymel 0.9.

i get this error:
# Error: 'NurbsCurveCV' object has no attribute '__apicls__'
# Traceback (most recent call last):
#   File "<maya console>", line 1, in <module>
#   File "/dev/..../pymel/core/general.py", line 665, in ls
#     return map(PyNode, util.listForNone(cmds.ls(*args, **kwargs)))
#   File "/dev/..../pymel/core/nodetypes.py", line 185, in __init__
#     self.__apiobjects__['MFn'] = self.__apicls__(*newargs )
#   File "/dev/..../core/factories.py", line 3160, in __getattribute__
#     return bases[0].__getattribute__(self, name)
# AttributeError: 'NurbsCurveCV' object has no attribute '__apicls__'
#

it works fine with vertices.

it also works correct with the standart maya.cmds

hope somebody can help me out, don't know if i am missing something
here.

su


--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to