bdeGetAnnotationInDiagram

Gets an annotation, annotationName, from a given diagram.

Syntax

annotation = bdeGetAnnotationInDiagram(diagram, annotationName)

Inputs

diagram
The diagram that the annotation is in.
Type: hwscpDiagram
annotationName
The name of the annotation that is within the diagram.
Type: string

Outputs

annotation
The annotation that is returned from the diagram.
Type: hwdcAnnotation

Examples

Get an annotation from a diagram:

          diagram = bdeGetCurrentDiagram();
          annotation = bdeGetAnnotationInDiagram(diagram, 'annotation1')
        

          
            annotation = hwdcAnnotation