GetAnnotationText Function

Returns the text of the requested annotation. This work for text annotations and shape annotations with text applied to them.

Arguments

Number Type Compulsory Default Description
1 string No 'Ref' Handle of the annotation
2 real No -1 Schematic ID

Argument 1

Argument 2

Schematic ID as returned by OpenSchematic . This makes it possible to apply this function to any schematic and not just the one that is currently displayed. See OpenSchematic for more details.

Returns

Return type: string array

The text of the requested annotation. Returns an empty vector if there are no schematics open or the schematic ID supplied is not valid.