What about using the Maya API instead? import maya.OpenMaya as om
curveFn = om.MFnNurbsCurve() arr = om.MPointArray() arr.append(0,0,0) arr.append(...) obj = curveFn.createWithEditPoints(arr, 3, om.MFnNurbsCurve.kOpen, False, False, True) http://docs.autodesk.com/MAYAUL/2014/ENU/Maya-API-Documentation/index.html?url=cpp_ref/class_m_fn_nurbs_curve.html,topicNumber=cpp_ref_class_m_fn_nurbs_curve_htmld36ff0be-8b6e-4d84-a8ee-328db5b4b895 That has the option you were asking about. On Fri, Dec 4, 2015 at 11:48 AM <s...@weacceptyou.com> wrote: > ok thanks, i will try and solve this eventually > > Sam > > -- > You received this message because you are subscribed to the Google Groups > "Python Programming for Autodesk Maya" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to python_inside_maya+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/python_inside_maya/ca73940d-1da7-4978-b1d4-388294dea634%40googlegroups.com > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA2Zo%2B77gUaeKZxzh9E7drLnocxwcjs9m1snFarik5GkuQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.