code-google-com / pymel

Automatically exported from code.google.com/p/pymel
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 reported on code.google.com by Count....@gmail.com on 29 May 2013 at 5:50

GoogleCodeExporter commented 9 years ago
no .getName() either.

Original comment by Count....@gmail.com on 29 May 2013 at 5:54