ForceModel.AddForce(CustomForce) Method

Top 

Description

Adds the force due to a user-created CelestialObject or a CustomForce object to the ForceModel.

 

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

ForceModel.AddForce(

CustomForce customForce)

 

 

Arguments

customForce


Description:

The CustomForce you wish to add to your ForceModel.

Allowed Types:

CustomForce, CustomEstimableProperty, CustomForceOnlyV1, CustomForceOnlyV2, CustomForceWEstimableProperty

 

 

 

Syntax

myForceModel1.AddForce(myCustomForce1);

 

 

See also

ForceModel Object

ForceModel.AddForce

Setting up a Force Model