LumaPictures / pymel

Python in Maya Done Right
Other
490 stars 131 forks source link

setName() missing from bunch of Dependency Node classes #335

Open pmolodo opened 9 years ago

pmolodo commented 9 years ago

From Count....@gmail.com on May 29, 2013 10:50:10

setName() does not exist on ParentConstraint or Expression (and possibly others).

Maya 2014

Win 7 64-bit

PyMEL 1.0.5

pc = pymel.core.animation.parentConstraint( 'locator1', 'locator2' ) pc.setName('test')

Error: AttributeError: file C:\Program Files\Autodesk\Maya2014\Python\lib\site-packages\pymel\core\nodetypes.py line 1383: nt.ParentConstraint(u'locator2_parentConstraint1') has no attribute or method named 'setName'

Original issue: http://code.google.com/p/pymel/issues/detail?id=302

pmolodo commented 9 years ago

From Count....@gmail.com on May 29, 2013 10:54:08

no .getName() either.