cancel
Showing results for 
Search instead for 
Did you mean: 
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

xd
1-Newbie
1-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);


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
0 REPLIES 0
Announcements