How to change the degree of the curve in rhino python

I trying to use. But when I change the degree to 30 or 40. the curve did’t change.
rs.AddCurve( ( Pt1,Pt2,Pt3 ), degree)
Any idea how to change the degree of the curve in Rhino Python

Hi Liu-Xiang- I think the maximum degree that Rhino allows is 11. What is it you are trying to accomplish with setting the degree?

-Pascal

HI Pascal,
If I change degree to 4 or 5. They still don’t change

Hi Liu-Xiang - Keep in mind that the maximum degree of any curve, apart from the degree 11 limit, for a given set of control points is number of points-1.

-Pascal

I c, now I understand why.
Thanks