LumaPictures / pymel

Python in Maya Done Right
Other
479 stars 130 forks source link

Error trying to create AngleBetween node using nodetype class instance #416

Closed fernoonoo closed 5 years ago

fernoonoo commented 5 years ago

When creating the angleBetween node using nt.AngleBetween() I get the following error:

Error: No object matches name: 1.0

Traceback (most recent call last):

File "", line 1, in

File "/milk/apps/autodesk/maya/2018.3/lib/python2.7/site-packages/pymel/core/general.py", line 2341, in new

typ = cmds.nodeType(x)

File "/milk/apps/autodesk/maya/2018.3/lib/python2.7/site-packages/pymel/internal/pmcmds.py", line 134, in nodeType_wrapped

res = new_cmd(*new_args, **new_kwargs)

RuntimeError: No object matches name: 1.0

pmolodo commented 5 years ago

This should be fixed here: e4c67ea53a0b477622209608081f0abda9cdf095

Thanks for the bug report!