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 enables 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 Graphics window.
File "<FileName>"Specify a cloud filename.

"<FileName>" is the path to a file on your local drive.

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. A valid value must be greater than 1.0 meter.
Roundness <Value>Control the roundness of the clouds. A valid value is between 0.5 and 5.0.
AutoAutomatically create a .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

12.10