Hi there

we`ve got some errors with some nodes and pymel-1.0.2

as far the following nodes will raise KeyError: 'MObjectHandle'
[u'angleDimension', u'clusterFlexorShape', u'collisionModel', u'dynHolder', u'oldNormalConstraint', u'oldTangentConstraint']

for example:

import maya.cmds as mc
from pymel.core import PyNode

testNode = mc.createNode('angleDimension')
test = PyNode(testNode)
test.name()

or:
import maya.cmds as mc
from pymel.core import PyNode
failed = []
for node in [u'angleDimension', u'clusterFlexorShape', u'collisionModel', u'dynHolder', u'oldNormalConstraint', u'oldTangentConstraint']:
    testNode = mc.createNode(node)
    try:
        test = PyNode(testNode)
        print test.name()
    except:
        failed.append(node)

    mc.delete(testNode)

print "failed: "
print failed

anybody got the same issues?

and now for something completely different:

anybody having seg faults with mayapy (2011) on linux after
import maya.standalone
maya.standalone.initialize()
....
...
quit()

the famous Signal: 11

cheers,
yukio

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

Reply via email to