Description | Example | Return Message | Group

Graphics SetLabel

Set the label for an instance to the input text string (Deprecated Command)

Syntax

Graphics <ObjectPath> SetLabel "<Label Text>"

ATTENTION: THIS COMMAND IS DEPRECATED and has been replaced by:

Graphics Label

Description

Note: This command was deprecated in STK 9, it should no longer be used. This command has been replaced by the Graphics Label command.

The Graphics SetLabel command sets the label for an instance to the input text string. Using this command does not change the instance name. The label text is used only for display.

Note: The label name must be surrounded by quotes if it contains spaces.

Note: Valid for facilities, targets, area targets and vehicles.

Example

To set the label for the facility Fac1 to "New Label":

Graphics */Facility/Fac1 SetLabel "New Label"

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Area Targets

Facilities, Places & Targets

2D Object Graphics

Line Targets

Vehicles

Deprecated Commands

Version

9.0

STK Programming Interface 11.0.1