Description | Example | Return Message | Group

SetLineAnchor

Set the anchor point for a LineTarget

Syntax

SetLineAnchor <LTObjectPath> {AnchorOption}

Related Commands

Description

Set the anchor point for a LineTarget based on the index number, or the latitude and longitude of the point.

{AnchorOption} Description
Index <Index> Set the point indicated by the index number, to be the anchor point. Valid values for <Index> are 1 to number of points in the LineTarget
LatLon <Latitude> <Longitude> Set the point specified by the latitude and longitude as the anchor point. <Latitude> and <Longitude> are entered in Connect Latitude and Longitude units (default is degrees).
UTM <ZoneStr> <Easting> <Northing> Set the point specified by the 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

To set the anchor point to the 3rd line point:

SetLineAnchor */LineTarget/TestLT Index 3

To set the anchor point to the point at 10 deg latitude, 26.5 degs longitude:

SetLineAnchor */LineTarget/TestLT LatLon 10 26.5

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Line Targets

Version

6.2

STK Programming Interface 11.0.1