Delete map annotations from the 2D Graphics window
MapAnnotation <ScenarioPath> Delete {<AnnotNum> | All} [WindowID <WinNumber>]
The MapAnnotation Delete command allows you to delete existing map annotations. You can delete individual annotations from a 2D Graphics window by indicating the <AnnotNum> specified when the annotation was added (using the MapAnnotation Add command) or choose to delete all annotations simultaneously.
You may also need to indicate from which 2D Graphics window you want to delete annotations. If so, include a <WinNumber> or the annotation will be deleted from the first 2D Graphics window (default).
Delete annotation number 6 from 2D Graphics window number 3:
MapAnnotation * Delete 6 WindowID 3
Delete all annotations from the first 2D Graphics window (default):
MapAnnotation * Delete All
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
6.0
STK Programming Interface 11.0.1