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

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

why gtol is not visible in the drawing tree?

xd
12-Amethyst
12-Amethyst

why gtol is not visible in the drawing tree?

I create a gtol with ProToolkit, the steps are as follows,

ProGtoldataAlloc(drawing,&gtd);

ProGtoldataTypeSet(gtd,type,&gtds);

ProGtoldataModelSet(gtd,solid,&gtds);

ProGtoldataReferenceSet(gtd,rtype,reference,&gtds);

ProGtoldataPlacementSet(gtd,ptype,NULL,NULL,location,NULL,&gtds);

ProGtoldataPlaneSet(gtd,&plane);

ProGtoldataGtoldatumrefSet(gtd,NULL,NULL,NULL,&gtds);

ProGtoldataDiameterSet(gtd,diameter,&gtds);

ProGtoldataValueSet(gtd,b_v,d_v,name,&gtds);

ProGtoldataMatCondSet(gtd,matcond,&gtds);

ProGtolCreate(gtd,&gtol);

ProGtoldataFree(&gtd);

ProDrawingtreeRefresh(drawing,PRO_VALUE_UNUSED);

the result is NO error, and the gtol is displayed on the drawing,

However, the gtol is not displayed in the drawing tree.

if i set the placement of the gtol (created by the protoolkit) as freenote once more in the drawing,(without any other change)

the gtol is visible in the drawing tree then.

Do i missed some statements, or set something wrong?

Look forward to your helps.

Snap1.png


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


Top Tags