Description | Example | Return Message | Group

VO TgtExtensionDist

Set a Sensor's targeting distance.

Syntax

VO <SensorObjectPath> TgtExtensionDist {Options}

Description

Use the VO TgtExtensionDist to set distance values to be used for targeting. Each distance value has an associated time and that distance is used when the animation time is equal to or after the time for that distance until another time-distance pair becomes valid. If no time-distance pair is valid (the time would be before the first time-distance pair), the default value (set by the Distance {Option}) is used.

The following table describes the {Options}

{Option} Description
Distance <Value> Enter a default distance value to be used if no valid time-distance pair is found. <Value> is entered in Connect distance units.
UseTimeDist {On | Off} If UseTimeDist is Off, the normal targeting distance is used. If UseTimeDist is On, and time-distance values exist, the targeting distance is based on the current animation time and the time-distance values.
AddTimeDistList "<DateTime>" <DistanceValue> Add a time-distance value pair. "<DateTime>" is entered in Connect date units.
ModifyTimeDistList "<DateTime>" <DistanceValue> Modify a time-distance value pair. "<DateTime>" is entered in Connect date units.
RemoveTimeDistList "<DateTime>" Remove the specified time-distance value pair. "<DateTime>" is entered in Connect date units.
ClearTimeDistList Remove all time-distance value pairs.

Example

Set the default targeting distance to 10000000 meters:

VO */Facility/Facility1/Sensor/Sensor1 TgtExtensionDist Distance 10000000

Set the sensor to use the time-distance values:

VO */Facility/Facility1/Sensor/Sensor1 TgtExtensionDist UseTimeDist On

Add a targeting time-distance value:

VO */Facility/Facility1/Sensor/Sensor1 TgtExtensionDist AddTimeDistList "1 Jul 2006 12:00:00" 5000

ReturnMessage

Group Membership

This command belongs to the following group(s):

Sensors

VO

VO Objects

Version

8.1

STK Programming Interface 11.0.1