I am getting an error when retrieving shading Groups:

tfc = polyListComponentConversion("pCube1|pCubeShape1", tf=1)
SGs = listSets(object=tfc, type=1)

error:
# Error: Maya Attribute does not exist: [u'pCube1.f[*]']
# Traceback (most recent call last):
#   File "<maya console>", line 1, in <module>
#   File "D:\maya2008\Python\lib\site-packages\pymel\core\general.py",
line 1164, in __new__
#     raise MayaAttributeError( argObj )
# MayaAttributeError: Maya Attribute does not exist: [u'pCube1.f[*]']
#

Any help?

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

Reply via email to