Description | Example | Return Message | Group

Graphics WaypointAttributes

Set the 2D graphics properties for existing waypoints and external ephemeris points.

Syntax

Graphics <VehObjectPath> WaypointAttributes {WaypointOptions} ({GfxOption} <Parameter>)...

Related Commands

Description

This command is used to set the 2D graphics properties for existing waypoints and external ephemeris points.

Note: This command is valid for Aircraft, Ship and GroundVehicle only.

Use the Graphics Waypoints command to turn on or off the display of waypoints. Then use this command to set the display attributes of the individual waypoints.

{WaypointOptions} can be any number of the following:

{WaypointOption} Description
All Apply settings to all waypoints for the vehicle
Time {TimeValue} Apply settings to the waypoint for the specified time.

For valid {TimeValue} values see Time Options.

Index <WaypointIndexNum> The number of the waypoint to which the settings are to be applied. An index number of 0 will effect the last waypoint.

({GfxOption} <Parameter>) can be any number of the following:

{GfxOption} <Parameter> Description
Show {On | Off} Show or hide the waypoints in the 2D Graphics window
Color {Color} For valid {Color} options see Common Options.
VehicleColor Set the color to be the same as that set for the Great Arc vehicle to which the waypoints are assigned
Marker {Parameters} Set the Marker for the waypoint. Visit Connect help for the Graphics Marker command for a description of parameters.
Label "<LabelText>" A user defined label to display at the waypoint.
ShowLabel {On | Off} Show or hide the user defined label.

Note: Any of the above options can be used together.

Example

To change the Show flag for the waypoint at the time 1 Jun 2002 12:00:

Graphics */Aircraft/Aircraft1 WaypointAttributes Time "1 Jun 2002 12:00:00.00" Show Off

To change the color for the first and third points so that they match the vehicle's color:

Graphics */Aircraft/Aircraft1 WaypointAttributes Index 1 Index 3 Color VehicleColor

For all waypoints change the marker style to a square:

Graphics */Aircraft/Aircraft1 WaypointAttributes All Marker Square

Set a label value and color for the second waypoint:

Graphics */Aircraft/Aircraft1 WaypointAttributes Index 2 Color red ShowLabel On Label "Second Point"

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

2D Object Graphics

Vehicles

Version

10

STK Programming Interface 11.0.1