cancel
Showing results for 
Search instead for 
Did you mean: 
Security Alert Log4j Security Vulnerability. Click here to know more.
cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting annotation features data via API

ptc-5319043
1-Newbie

Extracting annotation features data via API

Hi all,

I'm using vb API in order to import a Pro E model into my application, I would like to import also

annotation features such as finish surfaces or geometrical tolerances, however when I acces

the annotation features as follows

 

Dim annotations As IpfcFeatures = solid.ListFeaturesByType(True, EpfcFeatureType.EpfcFEATTYPE_ANNOTATION)

For i As Integer = 0 To annotations.Count - 1

Dim note As IpfcFeature = annotations(i)

 

Dim params As IpfcParameters = note.ListParams()

Dim subItemFaces As IpfcModelItems = note.ListSubItems(EpfcModelItemType.EpfcITEM_SURFACE)

Dim dimensions As IpfcModelItems = note.ListSubItems(EpfcModelItemType.EpfcITEM_DIMENSION)

 

Next

 

all of these data are set to nothing.

 

Is it possible to access those info programatically?

 

Any help would be greatly appreciated!

 

Silvia

1 REPLY 1
hsb7
12-Amethyst
(To:ptc-5319043)

Hi Silvia,

Did you find any solution for above query?

I'm trying to read annotation dimensions from a part model.

Thanks

Announcements