Hi … In the script below As, Am and Ae are Point lists (start, mid, end) of Arcs. And arcSet is a list of Arcs.
line d1 = Curve.ParameterAtPoint … results in error Objectdoes not mmatch target type… How do I resolve this? What do I need to apply Curve methods to Arcs?
import sys
import clr
from Autodesk.DesignScript.Geometry import *
arcSet = IN[0]
As = IN[1]
Am = IN[2]
Ae = IN[3]
res = []
i = 0
while i < len(arcSet):
d1 = Curve.ParameterAtPoint(arcSet[i],Am[i])
res.append(d1)
i = i + 1
OUT = res
