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'
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