Hi,
I create the profile by myself (really simple, a triangle) :
CurveArrArray CA2 = new CurveArrArray();
CurveArray CAA2 = new CurveArray();
XYZ point1 = new XYZ(0, 0, 0);
XYZ point2 = new XYZ(0, Mpied(4), 0);
XYZ point3 = new XYZ(Mpied(2), Mpied(4), 0);
Line line1 = Line.CreateBound(point1, point2);
Line Line2 = Line.CreateBound(point2, point3);
Line Line3 = Line.CreateBound(point3, point1);
CAA2.Append(line1);
CAA2.Append(Line2);
CAA2.Append(Line3);
CA2.Append(CAA2);
SweepProfile SP = creapp.NewCurveLoopsProfile(CA2);
Mpied is a function that transforms meter to foot.
The result is shown in the attached image.
For me, the profile should be on the opposit direction (because "2" is a positive number). Did you ever see this kind of problem ?
It's weird because sometimes, with the same code but with another sweep path, the profile is well positionned.
Thank you in advance.