to work on double pointer (or any pointer type), you need to use 
MScriptUtil class, search web for more reference,
it's some trial and error untill you get it working right.
> Hi all
>
> I am new to python and try to rewrite a C++ script in python.
>
> The code is this:
>
> tStart
> tEnd
> curveFn.getKnotDomain( tStart, tEnd)           #OpenMaya.MFnNurbsCurve
> ()
>
> Error:
> # Error: : line1  in method 'MFnNurbsCurve_getKnotDomain', argument 2
> of type 'double &' #
>
> I also try it  like is:
>
> tStart = float(0.1)
> tEnd = float(0.1)
> curveFn.getKnotDomain( float(tStart), float(tEnd))
> #OpenMaya.MFnNurbsCurve()
>
> ...but same error.
>
> Thanks for your help.
> P.
>
> >
>
>   


-- 
viktoras
www.neglostyti.com


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

Reply via email to