Skip to main content
1-Visitor
August 3, 2022
Question

Exporting the Text and Graphical representation for the Annotation Using c++ toolkit

  • August 3, 2022
  • 1 reply
  • 1318 views

I need to export the annotations and graphical representation in creo using the C++ toolkit.

Is it possible?

Please help me with the data, that have to be exported in order to represent the annotation and graphical representation in another file format.

 

 

1 reply

21-Topaz I
August 3, 2022

Dear @AP_10354419 

 

You need to export annotations content and representation and for that purpose you need to access the annotations of a model with Creo OTK. When you search the knowledge base with the keywords get annotation OTK, you will find this article :  https://www.ptc.com/en/support/article/cs294130

 

Luckily it drops some code to create a button that will get all the annotations of a model in session. 

It is then up to you to dive deeper in the annotation data structure and get the necessary data you need for your export.

The mapping from the Creo Annotation data to your destination file format is then left to your discretion.

1-Visitor
August 5, 2022

Do we need the TOOLKIT-for-3D_Drawings (222 license option) in order to do the above operation in the part environment instead of the drawing environment?

license_2.PNG