why gtol is not visible in the drawing tree?
I create a gtol with ProToolkit, the steps are as follows,
ProGtoldataAlloc(drawing,>d);
ProGtoldataTypeSet(gtd,type,>ds);
ProGtoldataModelSet(gtd,solid,>ds);
ProGtoldataReferenceSet(gtd,rtype,reference,>ds);
ProGtoldataPlacementSet(gtd,ptype,NULL,NULL,location,NULL,>ds);
ProGtoldataPlaneSet(gtd,&plane);
ProGtoldataGtoldatumrefSet(gtd,NULL,NULL,NULL,>ds);
ProGtoldataDiameterSet(gtd,diameter,>ds);
ProGtoldataValueSet(gtd,b_v,d_v,name,>ds);
ProGtoldataMatCondSet(gtd,matcond,>ds);
ProGtolCreate(gtd,>ol);
ProGtoldataFree(>d);
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.

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.
