Description | Example | Return Message | Group

Graphics ExportBlockContours

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

Syntax

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

Related Commands

Description

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

Before exporting block contours the FOM Contours must already be configured, and Show must be On. See the Graphics FOMContours command.

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

{Option} <Parameters> Description
Filename "<Filename>" The full directory and name of the output file.

Note: The Filename option is required.

Width <Value> Specify the pixel width of output texture file. <Value> is an integer greater or equal to 64.

The default is 1024.

Height <Value> Specify the pixel height of output texture file. <Value> is an integer greater or equal to 64.

The default is 512.

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 block contour graphics for the FOM_Contour_Red:

Graphics */CoverageDefinition/CD_Contour/FigureOfMerit/FOM_Contour_Red ExportBlockContours Filename "D:\temp\block_red.jp2" ContourType Static OutputFiletype jp2 Width 1024 Height 512

To export the animation block contour graphics for the FigureOfMerit1 as a pdttx texture:

Graphics */CoverageDefinition/CoverageDefinition1/FigureOfMerit/FigureOfMerit1 ExportBlockContours Filename "D:\temp\block_global.pdttx" ContourType Animation OutputFiletype pdttx

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