Hi,
In a code block i have :
polyCurve1 = PolyCurve.ByPoints(t1, false);
num1 = Autodesk.Curve.Length(polyCurve1);
t1 is a list of points
[
[
Point(X = 11.889, Y = 5.391, Z = 0.000),
Point(X = 11.889, Y = 5.391, Z = 2.750),
Point(X = 11.889, Y = 7.496, Z = 2.750),
Point(X = 9.633, Y = 7.496, Z = 2.750),
Point(X = 9.633, Y = 8.026, Z = 2.750),
Point(X = 9.103, Y = 8.026, Z = 2.750),
Point(X = 9.103, Y = 8.026, Z = 2.750),
Point(X = 9.103, Y = 8.766, Z = 2.750),
Point(X = 9.103, Y = 9.296, Z = 2.750),
Point(X = 8.573, Y = 9.296, Z = 2.750),
Point(X = 3.785, Y = 9.296, Z = 2.750),
Point(X = 3.785, Y = 6.873, Z = 2.750),
Point(X = 3.785, Y = 6.873, Z = 0.333)
]
]
How can i translate this in Python ?
Daniel OLIVES