Description | Example | Return Message | Group

SetLine

Defines the points of a line target.

Syntax

SetLine <LTObjectPath> [{PointType}] <NumPoints> {PointDefn}...

Related Commands

Description

The SetLine command is used to define the points of a line target.

<NumPoints> indicates the number of points to be defined. {PointType} defines how the points will be entered, valid values are LatLon and UTM. If {PointType} is not entered then LatLon is used.

The following table describes the valid {PointDefn} parameters:

{PointType} {PointDefn} Description
LatLon <Latitude> <Longitude> Enter the latitude and longitude for each point. <Latitude> and <Longitude> are entered in Connect Latitude and Longitude units (default is degrees).
UTM <ZoneStr> <Easting> <Northing> Enter the points using UTM parameters.

Valid values for <ZoneStr> are A, B, Y, Z or ddc, where 00>dd>61 and c is C-X.

<Easting> and <Northing> are entered in Connect distance units.

Example

The following command defines a line target with four points.

SetLine */LineTarget/TestLT LatLon 4 0 0 10 10 0 10 10 20

ReturnMessage

Connect returns an acknowledgment message.

Group Membership

This command belongs to the following group(s):

Line Targets

Version

6.2

STK Programming Interface 11.0.1