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

Extracting annotation features data via API

Highlighted
Level 1

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