Spacecraft.SetCentralBody(Variable) Method

Top 

Description

Sets the central body of the calling Spacecraft to the CelestialObject having coID as its BodyID.

 

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

Spacecraft.SetCentralBody(

Variable coID)

 

 

Arguments

coID


Description:

The CelestialObject.BodyID representing the new central body for the Spacecraft.

Valid Range:

coID ≥ 0

 

 

 

Syntax

mySpacecraft1.SetCentralBody(myVariable1);

 

 

See also

Spacecraft Object

Spacecraft.SetCentralBody

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide