cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Translate the entire conversation x

VB API Access to PTC Creo Model/PRT Annotations

BN_14341031
2-Explorer

VB API Access to PTC Creo Model/PRT Annotations

I'd like to access, through code/programmatically a *.prt model's Annotations (e.g. Symbols, Datums, Notes, Dimensions). These would be the objects that are, in PTC Creo 10.x, in the model tree -> Design Items > Anotations. Is this possible through the base license of Creo (i.e. in Visual Basic)? The annotation objects seem like they might be accessible through details (drawings), but I cannot find their equivalents in the Model/PRT file. Could someone point me in the right direction?

2 REPLIES 2

Hi @BN_14341031,

Thank you for your question. 

Your post appears well documented but has not yet received any response. I am replying to raise awareness. Hopefully, another community member will be able to help.

Also, feel free to add any additional information you think might be relevant. It sometimes helps to have screenshots to better understand what you are trying to do. 

 

Regards,

Anurag 

PFC APIs (Creo Foundation Class APIs): These APIs are provided free of charge for Creo Parametric users and support Visual Basic. However, these APIs offer limited functionality, and verification is required, particularly regarding full access to all elements of 3D annotations (MBD). The PFC APIs are primarily used for simple applications and for manipulating core Creo parts, assemblies, and drawings.

Although VB is limited, you can modify the model with dimension values, change parameters, and create models.
If you visit my blog, you can get various VBA sample codes. : https://tool-2020.tistory.com/


Announcements

Top Tags