STK ObjectsSend comments on this topic.
IAgSaExportTools Interface

Description

Interface used to define the export to data file options.

Public Methods

Public Method GetAttitudeExportToolReturns an Attitude file for export.
Public Method GetEphemerisCCSDSExportToolReturns an Ephemeris file of the CCSDS ephemeris type for export.
Public Method GetEphemerisCCSDSv2ExportToolReturns an Ephemeris file of the CCSDS v2 ephemeris type for export.
Public Method GetEphemerisCode500ExportToolReturns an Ephemeris file of the Code500Ephem ephemeris type for export; AgAsCode500.dll must be copied to your install data's 'Modules' directory.
Public Method GetEphemerisSpiceExportToolReturns an Ephemeris file of the Spice ephemeris type for export.
Public Method GetEphemerisStkBinaryExportToolReturns an Ephemeris file of the STK Binary ephemeris type for export.
Public Method GetEphemerisStkExportToolReturns an Ephemeris file of the STK ephemeris type for export.
Public Method GetPropDefExportToolReturns a Propagator (Prop Def) file for export.

Example

Export an ephemeris file to scenario folder
[Python - STK API]
# IAgStkObjectRoot root: STK Object Model Root
# IAgSatellite satellite: Satellite object
scenPath = root.ExecuteCommand('GetDirectory / Scenario').Item(0)
satelliteFilePath = '%s\%s.e' % (scenPath, satellite.InstanceName)
satelliteFilePath = satelliteFilePath.replace("\\", "\\\\")
satellite.ExportTools.GetEphemerisStkExportTool().Export(satelliteFilePath)

Export an ephemeris file to scenario folder
[MATLAB]
% IAgStkObjectRoot root: STK Object Model Root
% IAgSatellite satellite: Satellite object
scenPath = root.ExecuteCommand('GetDirectory / Scenario').Item(0);
satelliteFilePath = [scenPath '\' satellite.InstanceName '.e'];
satellite.ExportTools.GetEphemerisStkExportTool.Export(satelliteFilePath);


        
© 2024 Analytical Graphics, Inc. All Rights Reserved.