Specify the position of an object label offset
VO <ObjectPath> LabelXYZ <XValue> <YValue> <ZValue>
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.
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.VO */Satellite/Satellite1 LabelXYZ 100.0 20.0 0.0
If activated, Connect returns an acknowledgement message.
This command belongs to the following group(s):
5.0.4
STK Programming Interface 11.0.1