Isn't the rs.CurveDomain() supposed to return a list?
At the moment it is returning a tuple instead.
I'm asking because the rs.TrimCurve() example doesn't work with the tuples.
import rhinoscriptsyntax as rscurve = rs.GetObject("Select a curve to trim", rs.filter.curve)if rs.IsCurve(curve):domain = rs.CurveDomain(curve)domain /= 2.0rs.TrimCurve( curve, domain )
As tuples are immutable it throws:
Message: 'tuple' object does not support item assignment
line 9, in <module>, "C:\Users\Win7Pisa\AppData\Local\Temp\TempScript.p y"