Description | Example | Return Message | Group

MapAnnotation Export

Export map annotations to a file

Syntax

MapAnnotation <ScenarioPath> Export "<FilePath>" [WindowID <WinNumber>]

Description

The MapAnnotation Export command allows you to save all annotations from a 2D Graphics window to a file by specifying the "<FilePath>". The file created is an STK Overlay file which can be loaded by selecting GIS Import from the Insert menu.

You may also need to indicate from which 2D Graphics window you want to export and save annotations. If so, include the WindowID <WinNumber> keyword combination or the annotations will be exported and saved from the first 2D Graphics window (default).

Example

Export all annotations from 2D Graphics window number 2 to C:\stk\User\stkData\MyImageOverlay:

MapAnnotation * Export "C:\stk\User\stkData\MyImageOverlay" WindowID 2

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

2D Graphics Window

Version

6.0

STK Programming Interface 11.0.1