Description | Example | Return message | Group

VO Attributes (Scenario)

Set the attributes of a 3D Graphics window

Syntax

VO <ScenarioPath> Attributes {AttributeOption} <Parameters> [<WinNumber>]

Description

The VO Attributes command allows you to set basic attributes for the 3D Graphics window.

If you don't specify a <WinNumber>, the window with the lowest scene ID number is used. If you specify a <WinNumber> that doesn't exist, Connect returns a NACK.

{AttributeOptions} and their associated <Parameters> are outlined in the following Table.

{AttributeOption}<Parameters>Description
Clouds{On | Off}Turn on or off the display of cloud overlays on the central body being displayed in the 3D window.
File "<FileName>"Specify a cloud filename.

"<FileName>" can be the path to a file on your local drive or the path to a file on an SDF server. See Specifying Paths for "<SDFFilePath>" syntax information.

URI "<UriPath>"Specify the uri file path to set a cloud file index.
Altitude <Value>Specify the altitude of the cloud layer in Connect distance units. Valid value must be greater than 1.0 meter.
Roundness <Value>Control the roundness of the clouds. Valid value is between 0.5 and 5.0.
AutoAutomatically create .cld index file and download associated image files for the scenario time period. Use the newly created .cld file to display the cloud images. The files are downloaded to <stk user dir>/Downloads/Clouds. If the cloud file exists, it will not be downloaded again.

Examples

To display clouds in the first 3D Graphics window:

VO * Attributes Clouds On 1

To set the altitude of the cloud layer to 3000 meters:

VO * Attributes Clouds Altitude 3000.0

To set the roundness of the clouds 0.75, in the second 3D Graphics window:

VO * Attributes Clouds Roundness 0.75 2

To display clouds from an external image file:

VO * Attributes Clouds URI "file:///C:/Users/STK/Desktop/CloudsURIBak/cloudsTest.cld"

Return message

Group membership

This command belongs to the following group(s):

VO

VO Window

Version

11.6