|
|
Legend
Collection
Click arrow to expand chart |
|
Functional Annotations and Tolerancing objects are obtained through two root objects:
Both can be obtained:
CATPart
document:
Set oAnnotationSets1 = oPart1.AnnotationSets Set oUserSurfaces1 = oPart1.UserSurfaces |
GetTechnologicalObject
method of a Product
object:
Set oAnnotationSets1 = oProductDocument1.Product.GetTechnologicalObject("CATAnnotationSets") |
GetItem
method of a
CATProcess
Document object:
|
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, Roughness, Noa (Note Object Attribute), DatumSimple, DatumTarget 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 |
DatumTarget object refers to a DatumSimple Annotation object through its Datum property.