Description | Example | Return Message | Group

VO WaypointAttributes

Set the 3D Graphics properties for existing waypoints and external ephemeris points.

Syntax

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

Related Commands

Description

This command is used to set the 3D 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 3D display attributes of the individual waypoints.

{WaypointOptions} can be any number of the following:

{WaypointOption} Parameter 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
MarkerType Line Set the marker to be of the line type and specify the Shape (below)
Imagefile Set the marker to be loaded from an external image file (below)
Shape Point Select one of these predefined shapes
Plus
Star
Circle
X
Square
Triangle
Size <SizeValue> The pixel size
Transparent On If On, the lower left hand corner pixel color of the .ppm file is used as the transparent color
Off
ImageFile "<FilePath>" The path and file name of the external image

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

Example

To change the marker type and shape for the waypoint with time "1 Jun 2002 12:00":

VO */Aircraft/Aircraft1 WaypointAttributes Time "1 Jun 2002 12:00" MarkerType Line Shape Circle

To change the marker style to a transparent image file for the first and third waypoint:

VO */Aircraft/Aircraft1 WaypointAttributes Index 1 Index 3 MarkerType Imagefile Imagefile "E:\4.3\STKData\VO\Markers\Aircraft.ppm" Transparent On

To change the marker style for all points to a square:

VO */Aircraft/Aircraft1 WaypointAttributes All MarkerType Line Shape Square

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Vehicles

VO

VO Objects

Version

10

STK Programming Interface 11.0.1