Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
I have an annotation with type PRO_SET_DATUM_TAG.
ProAnnnotation Annotation
Annotation.type == PRO_SET_DATUM_TAG
How can I retrieve the data of this annotation, like name, ...?
I'm using Toolkit wit PTC Creo Parametric 6.0.4.0
Any advice is much appreciated.
Solved! Go to Solution.
After debugging and looking at the structure of the data type I have tried something different.
I have now applied ProSetdatumtagLabelGet(). This seems to do what I want.
Thank you very much for pointing me into the right direction.
Thank you for your response. I haven't tried this one yet.
I'm scanning annotations with ProCombstateAnnotationsGet.
When the type of an annotation in the returned annotation array is PRO_SET_DATUM_TAG I would like to retrieve the name.
What I will try now is to use the calls ProSolidSetdatumtagVisit and ProSetdatumtagReferencesGet(). I fear however this is about the tags of real datum planes which is not necessarily the case when using 3D annotations.
After debugging and looking at the structure of the data type I have tried something different.
I have now applied ProSetdatumtagLabelGet(). This seems to do what I want.
Thank you very much for pointing me into the right direction.