You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating PyNodes for motion path points throws an exception:
# Traceback (most recent call last):
# File "<maya console>", line 4, in <module>
# File "C:\Program Files\Autodesk\Maya2020\Python\lib\site-packages\pymel\core\general.py", line 1255, in ls
# return map(PyNode, res)
# File "C:\Program Files\Autodesk\Maya2020\Python\lib\site-packages\pymel\core\general.py", line 2456, in __new__
# pymelType, obj = _getPymelType(argObj, name)
# File "C:\Program Files\Autodesk\Maya2020\Python\lib\site-packages\pymel\core\general.py", line 134, in _getPymelType
# pymelType = _getPymelTypeFromObject(obj, name)
# File "C:\Program Files\Autodesk\Maya2020\Python\lib\site-packages\pymel\core\general.py", line 75, in _getPymelTypeFromObject
# raise RuntimeError('Could not determine pymel type for object of type %s' % obj.apiTypeStr())
# RuntimeError: Could not determine pymel type for object of type #
I'm not trying to do anything specific to these nodes, but this causes errors in generic code. For example, if I save the selection to reselect it later:
sel = pm.ls(sl=True)
try:
...
finally:
pm.select(sel, ne=True)
it throws an exception if the user has a motion path point selected.
To reproduce, just put a couple keyframes on a transform, create a motion trail, and select one of the motion trail points in the viewport (or "select motionTrail1Handle.point[0]"), then run pm.ls(sl=True).
The text was updated successfully, but these errors were encountered:
Creating PyNodes for motion path points throws an exception:
I'm not trying to do anything specific to these nodes, but this causes errors in generic code. For example, if I save the selection to reselect it later:
it throws an exception if the user has a motion path point selected.
To reproduce, just put a couple keyframes on a transform, create a motion trail, and select one of the motion trail points in the viewport (or "select motionTrail1Handle.point[0]"), then run pm.ls(sl=True).
The text was updated successfully, but these errors were encountered: