GetSelectedAnnotationText Function

Returns the text in the selected annotation. Only works for a single selected annotation. If multiple annotations are selected, only the text from one of the annotations will be returned.

Arguments

Number Type Compulsory Default Description
1 real No -1 Schematic ID

Argument 1

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

Annotation text. Returns an empty vector if no schematic is open or the supplied schematic ID is invalid