Quick Debug Needed ($1 paypal prize) :)

30 views
Skip to first unread message

Stephen Candell

unread,
May 18, 2016, 2:12:55 PM5/18/16
to Python Programming for Autodesk Maya
Hey guys, i've been trying to get through this error all morning.

I'm simply trying to construct an internal nurbsCurve through some inputed joints.  I thought I would add a quick output attribute for this curve, so I can see it...if needed.

Pretty straightforward I thought.  I can't seem to output the kNurbsCurveData properly.

Any Help would be appreciated! $1 paypal deposit to the winner. :)

Here is the code:

http://pastebin.com/V5ykSRRd

// Error: (kInvalidParameter): Unexpected Internal Failure
# Traceback (most recent call last):
#   File "C:/Users/Stephen Candell/Documents/maya/plug-ins/scStickyLips.py", line 70, in compute
#     OpenMaya.MFnNurbsCurve().copy(curve,outputCurveAData)
#   File "S:\Maya_2016_DI\build\Release\runTime\Python\Lib\site-packages\maya\OpenMaya.py", line 6400, in copy
# RuntimeError: (kInvalidParameter): Unexpected Internal Failure /

-Stephen

Stephen Candell

unread,
May 18, 2016, 6:16:05 PM5/18/16
to Python Programming for Autodesk Maya
In hopes to sum up my intention a little better:

I want to Create an internal NurbsCurve from inputed joints.within an MPXNode and output this curve.  I think maybe I shouldn't be putting my MFNnurbsCurve.create call within the compute method...but I can't be sure...
Reply all
Reply to author
Forward
0 new messages