Export map annotations to a file
MapAnnotation <ScenarioPath> Export "<FilePath>" [WindowID <WinNumber>]
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).
Export all annotations from 2D Graphics window number 2 to C:\stk\User\stkData\MyImageOverlay:
MapAnnotation * Export "C:\stk\User\stkData\MyImageOverlay" WindowID 2
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
6.0
STK Programming Interface 11.0.1