newbie question here
I am dividing a curve by length 20mm
It is returning a list of parameters into params.
I then want to remove the last parameter in the list.
I have tried several things… pop and del to remove
the last parameter from the list. I get an error.
example below…Can someone explain to me what is wrong with the simple code?
import rhinoscriptsyntax as rs crv = rs.GetObject("Select curve", rs.filter.curve) params = rs.DivideCurveLength(crv,20.0,False,False) i = len(params) print(i) lastone = params.pop()