(Datum Feature symbol) Set datum tag, Gets Created at wrong Location in Creo 5.0.1.0
Hello All,
I am trying to create a Datum Feature symbol (Set datum tag) in Creo, using toolkit API's.
using the following Code:
ProView proView;
ProViewRetrieve(curMdl,L"Front", &proView);
ProAnnotationPlane annotation_plane;
ProAnnotationplaneFromViewCreate((ProSolid)curMdl, proView, &annotation_plane);
wchar_t *label = L"AA";
ProSetDatumTag r_dfs;
ProMdlSetdatumtagCreate(curMdl, proSelection, &annotation_plane, label, &r_dfs);
I have Set the Attachement Point in my Attachment Object (proSelection)
as: ProSelectionPoint3dSet(attachPoint3, &proSelection);
But Still, The SetDatumTag gets Created at Different location from the point I have Specified.
Can anyone tell me what is wrong here & how to create SetDatumTag at specified location??

