Description | Example | Return Message | Group

Graphics ExportSmoothContours

Export the smooth contour graphics of a figure of merit to a texture file.

Syntax

Graphics <FOMObjectPath> ExportSmoothContours {Option} <Parameters> [{Option} <Parameters>...]

Related Commands

Description

The Graphics ExportSmoothContours Connect command allows you to render the smooth contours of a figure of merit to a texture and export that texture as a jp2 or pdttx file.

Before exporting smooth contours the FOM Contours must already be configured, Show must be On, and the FOMContours Type must be set to Fill. See the Graphics FOMContours command.

The following table describes the valid {Option} <Parameters>.

{Option} <Parameters> Description
Directory "<DirectoryPath>" The location to save the texture file.

Note: The Directory and Filename options are required.

Filename "<Filename>" The name of the output texture file.

Note: The Directory and Filename options are required.

ContourType {Static | Animation} Specify the type of contour to be exported.

The default is Animation

OutputFileType {JP2 | pdttx} Specify the format of the output file.

The default is JP2

Example

To export the static contour graphics for the FigureOfMerit2 as a jp2 texture:

Graphics */CoverageDefinition/CoverageDefinition1/FigureOfMerit/FigureOfMerit2 ExportSmoothContours Directory "C:\Users\Desktop" Filename "CoverageTest" ContourType Static OutputFiletype jp2

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Coverage

2D Object Graphics

Version

10.1

STK Programming Interface 11.0.1