Thruster.AddTankToValve(Variable, Tank) Method

Top 

Description

Adds Tanks to an existing Valve of the Thruster.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

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

 

Method Signature

Thruster.AddTankToValve(

Variable valveIndex,


Tank tank)

 

 

Arguments

valveIndex


Description:

The index of the valve which have tanks added to it.

Valid Range:

valveIndex ≥ 0

 

 

tank


Description:

List of tanks to associate with the Valve object

Allowed Types:

Tank, ChemicalTank, InterpolatedTank, SphericalTank, ElectricalTank

Repeatable:

1 to 30 times

 

 

 

Return Value

Type:

number

 

 

Returns the number of Tanks associated with the Valve.

 

Syntax

myVariable1 = myThruster1.AddTankToValve(myVariable2, myTank1);

 

 

See also

Thruster Object

Thrusters Guide