Description | Example | Return message | Group

VO 3DTiles

Add or remove a 3DTiles tileset for display in the 3D Graphics window.

Syntax

VO <ScenarioPath> 3DTiles {AddTileset | RemoveTileset} {Options}

Description

The VO 3DTiles command allows you to add or remove a 3DTiles tileset for display in the 3D Graphics window.

When removing a tileset, the path/URL to the tileset, ReferenceSystem, and Central Body must match the settings used when the tileset was added.

The following table describes the {Options} for this command.

{Option}Description
File "<TilesetFilePath>"The file path to a 3DTiles tileset. The file path can be an absolute path to the tileset or a path relative to the scenario directory.
GCS "<Tileset URL>" "<GCS URL>"URL of the 3DTiles tileset, and the URL of the AGI Geospatial Content Server (GCS) that the tileset is hosted on.
ReferenceSystem <TruncObjPath> <SystemName> Specify the reference system that the tileset will use. By default an Earth-centered Fixed (ECF) frame will be used.
CentralBody <CBName>Specify the central body that STK will use if the tileset contains information that is defined by latitude/longitude/altitude. If CentralBody is not defined STK will use Earth by default.
WindowID <WinNumber>Specify the 3D Graphics window that the tileset is displayed in. If this option is not specified, the tileset is displayed in all 3D Graphics windows. The WindowID option can be used multiple time in the same command to display the tileset in more than 1 window.
ION <api_endpoint_url>Specify the Cesium ion API Endpoint URL.
ASSETID <id>The Cesium ion Asset identifier.
ACCESSTOKEN <access_token>The Cesium ion Access token.

Either the File option or GCS option must be used.

Examples

To display a tileset from the file system in all 3D Graphics windows:

VO * 3DTiles AddTileset File "C:\tilesets\test tileset\tileset.json"

To display a tileset using a specific reference system in all 3D Graphics windows:

VO * 3DTiles AddTileset File "C:\tilesets\test tileset\tileset.json" ReferenceSystem Satellite/Satellite1 Body

To display a tileset that uses the Moon as the central body in all 3D Graphics windows:

VO * 3DTiles AddTileset File "C:\tilesets\test tileset\tileset.json" CentralBody Moon

To display a tileset from the GCS server:

VO * 3DTiles AddTileset GCS "https://gcs.agi.com/assets/3/4/tileset.json" "https://gcs.agi.com"

To display a tileset from the file system in 3D windows 2 and 3:

VO * 3DTiles AddTileset File "C:\tilesets\test tileset\tileset.json" WindowID 2 WindowID 3

To add a Cesium ion Tileset:

VO * 3DTiles AddTileset ION "http://api.cesium.com" ASSETID 9 ACCESSTOKEN eyJhbGci0iJIUzI1 ...

To remove a tileset from all 3D windows:

VO * 3DTiles RemoveTileset File "C:\tilesets\test tileset\tileset.json"

To remove a tileset that is using a specific reference system:

VO * 3DTiles RemoveTileset File "C:\tilesets\test tileset\tileset.json" ReferenceSystem Satellite/Satellite1 Body

To remove a tileset from window 2 only:

VO * 3DTiles RemoveTileset File "C:\tilesets\test tileset\tileset.json" WindowID 2

To remove a Cesium ion Tileset:

VO * 3DTiles RemoveTileset ION "http://api.cesium.com" ASSETID 9 ACCESSTOKEN <access_token>

Return message

Group membership

This command belongs to the following group(s):

Object Tools

VO

VO Objects

Version

11.7