_Dir command in rhino Script

i need to change the orientation of a curve for each loop in a script. is there a fonction in rhino script who can do that?

That would be Rhino.ReverseCurve(curveID)…

ok… thank you.