Annot is the built in Child object used to access "Annotation" methods in the 3D CAD Environment.
The object does not need to be created, assigned to or stored directly.
It is used only as an organizational unit for all the methods in the main CAD object.
See the Sub Topics for Help specific to the members of the Assembly object
None. This is an object.
It provides complete methods, properties and possibly other objects.
The object is of Type "CP.Client.AnnotActionObject" but the type is exposed directly in script as a "AnnotActionObject" type.
This object can only be retreived by using the CAD parent object followed by a "."
Eg. CAD.Annot.Method(parameter) ' not a real method call, just a structure example.
Annotations behave slightly differently then features. Even when features appear to have annotations under them (or is an annotation feature) the actual annotation "note" is actually stored under the model itself.
Access a method in the "Annot" object layer
Dim text as string = CAD.Annot.Text("Model1","Note_0")
' This method reads the Note Text with the label "Note_0"
Store a reference to the Annotation object (just to demonstraite the object type and assignment format)
Dim A as CompAnnotObject = CAD.Annot
' at this point "A" can be used instead of "CAD.Annot" and will do the exact same thing.
Dim text as string = A.Text("Model1","Note_0")