Spacecraft.AddThruster(String) Method

Top 

Description

Creates a new Thruster object and adds it as hardware to the Spacecraft.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

Click here to see the documentation for this object in nanosecond timing precision mode.

 

Method Signature

Spacecraft.AddThruster(

String thrusterName)

 

 

Arguments

thrusterName


Description:

The name that will be applied to the created Thruster.

 

 

 

Return Value

Type:

number

 

 

Returns the new length of the Spacecraft.Thrusters array. The newly created Thruster will be accessible at an index of the return value - 1.

 

Syntax

myVariable1 = mySpacecraft1.AddThruster(myString1);

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide