Skip to main content
1-Visitor
January 30, 2020
Question

(Datum Feature symbol) Set datum tag, Gets Created at wrong Location in Creo 5.0.1.0

  • January 30, 2020
  • 2 replies
  • 1368 views

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??

2 replies

KenFarley
21-Topaz II
January 30, 2020

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).

Dale_Rosema
23-Emerald III
23-Emerald III
January 30, 2020

Before you start a new thread in customization, I have tagged the discussion for the moderator to move it.

Thanks, Dale

Dale_Rosema
23-Emerald III
23-Emerald III
January 30, 2020

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.