Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
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??
You'd be more likely to get an answer to this if you ask the folks who do programming, in the Customization subgroup. Most of the people here don't do Java coding (I'm guessing Java, anyway).
Before you start a new thread in customization, I have tagged the discussion for the moderator to move it.
Thanks, Dale
Now that it has been moved, you may want to un-mark it as solve so that you get views. People will by-pass it if marked as solved.