Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi All,
If we create annotations using annotation features we will get the annotation element and from the annotation element we will get annotation parameters.
In my case, I have created a Standalone annotation. How will I get annotations parameters?
there is conflicting wording in your topic.
In the title, Stand Alone Annotation refers to annotations created from Annotate > Dimensions for example. It creates a node at the top of the model tree that aggregates all Stand Alone annotations.
Whereas in the body of your comment, Annotation Elements created by clicking Annotate > Annotation Feature > Dimensions for example. It creates an Annotation Feature in the model tree just at the Insert Here junction and enables to aggregate Annotation Elements at the users will.
They may look similar but on the binary they are different. A series or articles gives a comprehensive understanding of theses concepts: https://www.ptc.com/en/support/article?n=CS293596
So, given that, which one do you need to access with Creo Toolkit?
Hi,
Thank you for feedback.
I need to access parameters of standalone annotations that are created using Annotate > Dimensions.
Hi
please browse the following article: TOOLKIT API ProParameterVisit() returns PRO_TK_GENERAL_ERROR when trying to visit the parameters in the annotations
Hi,
Thank you for feedback.
We don't get any annotation elements from the annotation.
Is there any other way to get parameters of standalone annotation?
Hi,
I have encountered the same problem as you.
The trick using ProAnnotationElementGet and then ProParameterVisit works for driving dimensions.
For driven (standalone) dimensions it doesn't work.
You can get the parameters you want using different function calls like e.g. ProDimensionValuedisplayGet, ProDimensionTollabelGet, ...