I created a PIO using an arc as path, converted to nurbs curve and used an oval for profile shape.
Original arc created in horizontal 2d plane then when converted to nurbs rotated vertical (I want the option to rotate as desired).
Then created an extrude along path object from rotated nurbs curve and oval profile.
Works okay .... until I select object and change properties in attribute dialog then PIO resets so that it changes orientation relative to the current viewing angle.
Can anybody help?
This does not happen with other PIO's say made from sweep objects.
PIO code is as follows;
PROCEDURE Test1;
VAR
objname :STRING;
result :BOOLEAN;
oh,rh,wh :HANDLE;
h1, h2, h3 :HANDLE;
BEGIN
result:= GetCustomObjectInfo(objname,oh,rh,wh);
IF result THEN BEGIN
ArcByCenter(9", 9", 9", 180, 90);
h1:=LNewObj;
h1:=ConvertToNURBS(h1,false);
Set3DRot(h1, 90, 0, 0,0, 0, 0);
Oval(-3 5/16", 3 5/16", 3 5/16", -3 5/16");
h2:=LNewObj;
h3:=CreateExtrudeAlongPath(h1, h2);
END;
END;
RUN(Test1);