Description | Example | Return message | Group

VO LabelXYZ

Specify the position of an object label offset

Syntax

VO <ObjectPath> LabelXYZ <XValue> <YValue> <ZValue>

Description

The VO LabelXYZ command allows you to set the offset values for the label of an object. The offset values can be specified in pixels or in cartesian coordinates in meters. X, Y, and Z values must be input. If cartesian coordinates are used, +x offsets the label in the direction to the right of the object by the specified distance in cartesian space, -x offsets the label to the left of the object, +y offsets the label up from the object, -y offsets the label down from the object, positive z offsets the label in the direction out of the screen from the object, and -z offsets the label into the screen from the object. All cartesian offsets take scaling factors into account. If pixel offsets are used, X and Y are in the same direction specified previously but Z is ignored. Pixel offsets ignore scale factors and represent true pixel distances on the screen.

To enable label offsets, use the VO UseLabelOffset command. To specify that the label offset will be specified in pixel coordinates, use the VO LabelOffsetInPixels command in conjunction with this command. Otherwise, label offsets are specified in cartesian coordinates.

Examples

To set the label offset so it is 100 pixels to the right of and 20 pixels above Satellite1 in pixel space:

Send the VO UseLabelOffset command.Send the VO LabelOffsetInPixels command.
VO */Satellite/Satellite1 LabelXYZ 100.0 20.0 0.0

Return message

Group membership

This command belongs to the following group(s):

Facilities, Places & Targets

Vehicles

VO

VO Objects

Version

5.0.4