Description | Example | Return Message | Group

SpatialTool_R

Return information about Spatial components.

Syntax

SpatialTool_R <ScenarioPath> {Option} [<Parameters>]

Related Commands

Description

The SpatialTool_R command can be used to return information about Spatial components.

{Option} <Parameters> Description
Exists [Template] "<ComponentSpec>" Returns a 1 if the specified "<ComponentSpec>" exists, otherwise 0 will be returned. Use the Template keyword if the component is a template.
Details [Template] "<ComponentSpec>" [IncludeDescriptions] Returns information about the component in a single string with newline characters. Use the Template keyword if the component is a template.

With the IncludeDescriptions keyword the component type description and user description, if available, will also be returned.

Use the SpatialTool_RM command to return information in a list of strings.

Status "<ComponentSpec>" Returns one of these strings
  • Computed
  • Computed, can not be cleared
  • Cleared
  • Can not be Computed

The Status option is not valid for a template.

For information on "<ComponentSpec>" formats see Component Specification.

Example

Determine if the specified Spatial Condition exists:

SpatialTool_R * Exists "Satellite/Satellite1 SatCombined Spatial Condition"

ReturnMessage

Returns 1 if the Spatial Condition exists, otherwise returns 0

Example

Determine if the specified template Spatial Condition exists:

SpatialTool_R * Exists Template "Satellite CalcBoundsT Spatial Condition"

ReturnMessage

Returns 1 if the Spatial Condition Template exists, otherwise returns 0

Example

Return information about a default Spherical Volume Grid:

SpatialTool_R * Details "Satellite/ScenTestSat SatGrid1 Volume Grid"

ReturnMessage

Volume Grid Name: SatGrid1
Volume Grid Parent: ScenTestSat
Volume Grid Type: Spherical
Reference System: ScenTestSat Body
Azimuth Type: Fixed Number of Steps
Minimum: 0.000000 deg
Maximum: 360.000000 deg
Number of Steps: 36
Elevation Type: Fixed Number of Steps
Minimum: -90.000000 deg
Maximum: 90.000000 deg
Number of Steps: 18
Range Type: Fixed Number of Steps
Minimum: 1.000000 km
Maximum: 50.000000 km
Number of Steps: 20
Number of grid points: 14364

Group Membership

This command belongs to the following group(s):

Area Targets

Comm

Facilities, Places & Targets

Line Targets

Radar

Sensors

Object Tools

Vehicles

Volumetric

VO

VO Objects

Version

11

STK Programming Interface 11.0.1