EditPtOn equivalent in scripting

hello,
what will be equivalent for Rhinoceros command EditPtOn in Python (for the selected Object)? I see the possibility to get the points by rs.CurveEditPoints(Object) , but how to turn them on?
Thank you in advance, D.

Have a look at the various Object Grip methods…

For a curve’s edit points, the best you can do is script the EditPtOn command.

– Dale