ForceModel.UseBodyForce Property

Top 

Description

Flag array indicating whether to use each gravitational body. The UseBodyForce array flags the gravitational bodies in the order of the Planets, the Moon, and then the Sun. If there are custom CelestialObjects also included they will increase the size of your array in and by the order of the added CelestialObjects.

 

The array has a default dimension of 11 with the following elements:

[0] = Mercury

[1] = Venus

[2] = Earth

[3] = Mars

[4] = Jupiter

[5] = Saturn

[6] = Uranus

[7] = Neptune

[8] = Pluto

[9] = Moon

[10] = Sun

 

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.

 

Attributes

Type:

Array of boolean

Access:

read/write

Default Value:

{ false, false, ...true, true }

 

Syntax

myVariable1 = myForceModel1.UseBodyForce[0];

 

myForceModel1.UseBodyForce[0] = myVariable1;

 

See also

ForceModel Object

Setting up a Force Model