not sure if the help is wrong or rs.AddLeader isn’t working properly but:
points- Required. A list of 3-D points. The array must contain at least two points.
then the example:
import rhinoscriptsyntax as rs points = rs.GetPoints(True, False, "Select leader points") if points: rs.AddLeader( points )
this only works (for me) if i click more than two points.
(for now, i’m just adding the end point to the array twice… seems ok i guess)