Functional Tolerancing & Annotations Automation Objects

Application Object Diagram








Application Object Diagram
















Legend

Collection
Abstract object
Object

right arrow Click arrow to expand chart
Click arrow to return to previous chart


















Functional Annotations and Tolerancing objects are obtained through two root objects:

Both can be obtained:

Set oAnnotationSets1 = oPart1.AnnotationSets
Set oUserSurfaces1 = oPart1.UserSurfaces
Set oAnnotationSets1 = oProductDocument1.Product.GetTechnologicalObject("CATAnnotationSets")
Set oAnnotationSets1 =oProcesstDocument1.GetItem("CATAnnotationSets")  

AnnotationSet object aggregates an Annotations collection and a Captures collection.

A Capture object is a persistent viewpoint of a group of annotations.

An Annotation object always aggregate one of the objects that are listed on the left side of the diagram, that are: Text, FlagNote, RoughnessNoa (Note Object Attribute), DatumSimpleDatumTarget and ReferenceFrame.

Depending on its type, the annotation may also aggregate one of the objects that are listed on the right side of the diagram. To access those aggregated objects, first check for availability using the corresponding IsA/HasA method and then get the object through the dedicated method. For example, to access a ToleranceZone object on an Annotation object, proceed as follow:

 

Dim oAnnotation As Annotation
Set oAnnotation= ...
If (oAnnoation.IsAToleranceZone()) Then
  Dim oToleranceZone As ToleranceZone
  Set oToleranceZone = oAnnotation.ToleranceZone()
End If

DatumTarget object refers to a DatumSimple Annotation object through its Datum property.