Description | Example | Return Message | Group

VectorTool

Define coordinate systems and elements used in constructing them, including templates.

Syntax

VectorTool <ScenarioPath> {Options}

Related Commands

Description

The VectorTool command enables you to define coordinate systems and elements used in constructing them, i.e. vectors, axes and points, as well as angles between vectors. These user-created structures and elements can then be added to those available for 3D display in the VO and/or Attitude View windows.

Note: The VectorTool command is not valid for Scenario, CommSystem, Chain, or Constellation objects.

Valid {Options} are described here.

{Options} Description
Compute "<ComponentSpec>" Compute the Vector Geometry component. This command will Nack if the component is already computed or cannot be computed.

To get the Compute/Clear status of a Vector Geometry component use the VectorTool_R command with the Status option.

The Compute option is not valid for a template.

Clear "<ComponentSpec>" Clear the Vector Geometry component.This command will Nack if the component is already cleared or cannot be cleared.

To get the Compute/Clear status of a Vector Geometry component use the VectorTool_R command with the Status option.

The Clear option is not valid for a template.

Export "<Filename>" "<ComponentSpec>"... Export the specified components to a file.

"<Filename>" is the file that will be written, it should have the extension .awb. If the file already exists it will be overwritten.

"<ComponentSpec>" is the name of a component to be exported. This parameter can be entered multiple times on the command line.

Note: All components exported to one file must have the same parent.

Import <TruncObjectPath> "<Filename>" Import the components from the specified "<Filename>".

<TruncObjectPath> specifies the parent of the imported components.

Rename "<ComponentSpec>" <NewName> Rename the specified Vector Geometry component to the new name.
RenameTemplate "<TemplateSpec>" <NewName> Rename the specified Vector Geometry template to the new name.
Duplicate "<ComponentSpec>" [<NewName>] Duplicate the specified Vector Geometry component using the <NewName>, if entered. If <NewName> is not entered then STK will create a unique name for the duplicate component.
DuplicateTemplate "<TemplateSpec>" [<NewName>] Duplicate the specified Vector Geometry template using the <NewName>, if entered. If <NewName> is not entered then STK will create a unique name for the duplicate template.
{Create | Modify | Delete}

Follow these links for details to using the VectorTool command to Create, Modify and Delete Vector Geometry components and templates.

VectorTool Angle
VectorTool Axes
VectorTool Plane
VectorTool Point
VectorTool System
VectorTool Vector

For details on the format of "<ComponentSpec>" see Component Specification.

Example

To compute an Axes:

VectorTool * Compute "CentralBody/Earth Inertial Axes"

Example

To create a Quadrant Plane and then modify it so that it is based on the YZ quadrant of the Earth ICRF system:

VectorTool * Satellite/ScenTestSat Create Plane SatPlane2 "Quadrant"

VectorTool * Satellite/ScenTestSat Modify Plane SatPlane2 "Quadrant" YZ "CentralBody/Earth ICRF" "AxisX" "AxisY"

Example

To create an Angle Rate Vector, modify and then delete it:

VectorTool * Facility/ScenTestFac Create Vector FacVector2 "Angle Rate"

VectorTool * Facility/ScenTestFac Modify Vector FacVector2 "Angle Rate" "CentralBody/Earth SunRA" 0.25

VectorTool * Facility/ScenTestFac Delete Vector FacVector2

Example

To create, modify and then delete a Spinning Axes Template:

VectorTool * Satellite Create AxesTemplate SatAxesT2 "Spinning"

VectorTool * Satellite Modify AxesTemplate SatAxesT2 "Spinning" Epoch "1 Oct 1999 04:00:00.00" Rate 0.25 Offset 12.5

VectorTool * Satellite Delete AxesTemplate SatAxesT2

Example

To export Place components to a file and then import them to Satellite2:

VectorTool * Export "C:\Users\stkUser\ExportImport\Export2.awb" "Place/Place1 PVec1 Vector" "Place/Place1 PSystem1 System"

VectorTool * Import Satellite/Satellite2 "C:\Users\stkUser\ExportImport\Export2.awb"

Example

Rename the specified Point component to TestOName and then duplicate it, allowing STK to name the duplicated component:

VectorTool * Rename "Satellite/Satellite2 pointTen Point" TestOName

VectorTool * Duplicate "Satellite/Satellite2 TestOName Point"

Rename the specified Vector template:

VectorTool * RenameTemplate "Facility dirVec Vector" northVec

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Area Targets

Attitude

Comm

Facilities, Places & Targets

Line Targets

Radar

Sensors

Stars & Planets

Object Tools

Vehicles

VO

VO Objects

Version

10.1.1

STK Programming Interface 11.0.1