cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

create construct circle but result in circle

Highlighted
Newbie

create construct circle but result in circle

i try to create construct circle but result in circle,

and the same code with construct line turn out to be OK.

anyone helps?

  status=ProDtlentitydataAlloc(drawing,&entdata);

  status=ProDtlentitydataViewSet(entdata,view1);

  status=ProCurvedataAlloc(&curvep);

  status=ProArcdataInit(vx,vy,vc,0,8*atan(1.0),cr,curvep); //circle created but not construct circle

  //status=ProLinedataInit(vx,vc,curvep);  //construct line created OK

  status=ProDtlentitydataConstructionSet(entdata,PRO_B_TRUE);

  status=ProDtlentitydataColorSet(entdata,&color);

  status=ProDtlentitydataFontSet(entdata,fontname);

  status=ProDtlentitydataWidthSet(entdata,width);

  status=ProDtlentitydataCurveSet(entdata,curvep);

  created=ProDtlentityCreate(drawing,NULL,entdata,&entity);

  status=ProCurvedataFree(curvep);

  status=ProDtlentitydataFree(entdata);

Announcements
Business Continuity with Creo: Learn more about it here.