'module' object has no attribute 'RemoveCurveKnot'

I try to use the example from https://developer.rhino3d.com/api/RhinoScriptSyntax/#collapse-RemoveCurveKnot
and get the error (as well as from my own code):
‘module’ object has no attribute ‘RemoveCurveKnot’
Does it have any walkaround (maybe from evaluation of a command in Rhinoceros)?

The sample seems to be working here… Are any of your other rhinoscriptsyntax methods not working?


Are you using Rhino 5? This is only available in Rhino 6. The rhino 5 command removeknot seems to require user interaction to select the knot to be deleted. I cant see any way to script it.