PlanetCommonTasks#

class ansys.stk.core.stkobjects.PlanetCommonTasks#

Class defining the Planet Common class.

Overview#

set_position_source_file

Specify a planet ephemeris file, with a .pe extension.

set_position_source_central_body

Specify the planet using a central body and a desired ephemeris source.

Import detail#

from ansys.stk.core.stkobjects import PlanetCommonTasks

Method detail#

PlanetCommonTasks.set_position_source_file(self, file: str) PlanetPositionFile#

Specify a planet ephemeris file, with a .pe extension.

Parameters:

file : str

Returns:

PlanetPositionFile

PlanetCommonTasks.set_position_source_central_body(self, central_body: str, ephem_source: EphemSourceType) PlanetPositionCentralBody#

Specify the planet using a central body and a desired ephemeris source.

Parameters:

central_body : str

ephem_source : EphemSourceType

Returns:

PlanetPositionCentralBody