When trying to subclass a PyNode it returns the ValueError: apicls special attribute not allowed. This is a built-in attribute of the nodetypes.Transform that I am trying to inherit from. I did not have this attribute on my Win7 machine so I don't know if it is a different version of Maya or OSX implementation. Anyway, this was easily fixed by adding apicls to the list of validSpecialAttrs. i.e. -
From Count....@gmail.com on March 20, 2013 22:03:17
[Describe the problem.]
When trying to subclass a PyNode it returns the ValueError: apicls special attribute not allowed. This is a built-in attribute of the nodetypes.Transform that I am trying to inherit from. I did not have this attribute on my Win7 machine so I don't know if it is a different version of Maya or OSX implementation. Anyway, this was easily fixed by adding apicls to the list of validSpecialAttrs. i.e. -
factories.py, ~line 2999: validSpecialAttrs = set(['module','readonly','slots','melnode','doc','apicls'])
[What Version of Maya are you using?]
Maya 2013x64
[On what operating system? (be as specific as possible and include service packs, 64bit vs 32bit, etc)]
OSX 64bit
[What Version of PyMEL are you using?]
1.0.4
Original issue: http://code.google.com/p/pymel/issues/detail?id=295