[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 reported on code.google.com by Count....@gmail.com on 21 Mar 2013 at 5:03
Original issue reported on code.google.com by
Count....@gmail.com
on 21 Mar 2013 at 5:03