Description | Example | Return message | Group

MapAnnotation Delete

Delete map annotations from the 2D Graphics window

Syntax

MapAnnotation <ScenarioPath> Delete {<AnnotNum> | All} [WindowID <WinNumber>]

Description

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).

Examples

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

Return message

Group membership

This command belongs to the following group(s):

2D Graphics Window

Version

6.0