CelestialObject.BodyID Property

Top 

Description

Numerical representation of a celestial body. Allows for the tracking of the celestial body in question by using numbers rather than strings.

 

The following body ID's are assigned to the default Solar System objects: Mercury = 1; Venus = 2; Earth = 3; Mars = 4; Jupiter = 5; Saturn = 6; Uranus = 7; Neptune = 8; Pluto = 9; Moon = 10; Sun = 11. Custom CelestialObjects will have body ID's that change with each run of a Mission Plan.

 

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:

integer

Access:

read

 

Syntax

myVariable1 = myCelestialObject1.BodyID;

 

See also

CelestialObject Object

CelestialObjects Guide