Scenario#
- class ansys.stk.core.stkobjects.Scenario#
Bases:
ISTKObject
,ILifetimeInformation
Class defining the Scenario object.
Overview#
Set the Scenario time period. startTime/stopTime use DateFormat Dimension. |
|
Set the flag indicating the scenario has been modified. |
|
Return an array of existing accesses in the current scenario. The result is a two-dimensional array of triplets where each triplet contains the paths of two objects participating in the access and a flag indicating whether the access is computed. |
|
Return an Access object associated with the two STK objects specified using their paths. The paths can be fully-qualified or truncated. |
Scenario start time. Uses DateFormat Dimension. |
|
Scenario stop time. Uses DateFormat Dimension. |
|
Scenario epoch. Uses DateFormat Dimension. |
|
Scenario animation settings. |
|
Scenario Earth Data settings. |
|
Scenario 2D Graphics settings. |
|
Scenario database settings. |
|
Specify whether to display a warning when a satellite orbit intersects the central body. |
|
Specify whether to display a warning when a missile trajectory does not impact the central body. |
|
Scenario 3D Graphics settings. |
|
Specify when to display the aircraft mission modeler WGS84 warning. |
|
Generate a message that warns the user if the missile achieves orbit (and give the perigee) or impacts the surface (and give the interval after missileโs stop time). |
|
Return a list of central bodies and their terrains. |
|
Get the component directory interface. |
|
Return list of scenario files. |
|
Specify whether scenario needs to be saved. |
|
Whether the scenario Epoch is the same as the scenarioโs StartTime. |
|
Scenario SpaceEnvironment settings. |
|
A scene manager. |
|
Allow the user to configure the scenarioโs analysis time period. |
|
Allow the user to configure the scenarioโs analysis epoch. |
|
Return the global radar clutter map. |
|
Return the global radar cross section. |
|
Return the RF environment. |
|
Return a list of 3D Tilesets used for Analysis. |
|
Return the laser environment. |
Examples#
Set the current scenarioโs time period
# STKObjectRoot root: STK Object Model Root
scenario = root.current_scenario
scenario.set_time_period(start_time="1 Jan 2012 12:00:00.000", stop_time="2 Jan 2012 12:00:00.000")
Import detail#
from ansys.stk.core.stkobjects import Scenario
Property detail#
- property Scenario.animation_settings: ScenarioAnimation#
Scenario animation settings.
- property Scenario.earth_data: ScenarioEarthData#
Scenario Earth Data settings.
- property Scenario.graphics: ScenarioGraphics#
Scenario 2D Graphics settings.
- property Scenario.database_settings: ScenarioDatabaseCollection#
Scenario database settings.
- property Scenario.display_warning_if_orbit_impacts_ground: bool#
Specify whether to display a warning when a satellite orbit intersects the central body.
- property Scenario.show_warning_if_missile_fails_to_impact: bool#
Specify whether to display a warning when a missile trajectory does not impact the central body.
- property Scenario.graphics_3d: ScenarioGraphics3D#
Scenario 3D Graphics settings.
- property Scenario.aircraft_wgs84_warning: AircraftWGS84WarningType#
Specify when to display the aircraft mission modeler WGS84 warning.
- property Scenario.show_warning_whether_missile_achieves_orbit_or_not: bool#
Generate a message that warns the user if the missile achieves orbit (and give the perigee) or impacts the surface (and give the interval after missileโs stop time).
- property Scenario.terrain: CentralBodyTerrainCollection#
Return a list of central bodies and their terrains.
- property Scenario.component_directory: ComponentDirectory#
Get the component directory interface.
- property Scenario.use_analysis_start_time_for_epoch: bool#
Whether the scenario Epoch is the same as the scenarioโs StartTime.
- property Scenario.space_environment: ScenarioSpaceEnvironment#
Scenario SpaceEnvironment settings.
- property Scenario.scene_manager: ISceneManager#
A scene manager.
- property Scenario.analysis_interval: ITimeToolTimeIntervalSmartInterval#
Allow the user to configure the scenarioโs analysis time period.
- property Scenario.analysis_epoch: ITimeToolInstantSmartEpoch#
Allow the user to configure the scenarioโs analysis epoch.
- property Scenario.radar_clutter_map: IRadarClutterMap#
Return the global radar clutter map.
- property Scenario.radar_cross_section: RadarCrossSection#
Return the global radar cross section.
- property Scenario.rf_environment: RFEnvironment#
Return the RF environment.
- property Scenario.tilesets: Tileset3DCollection#
Return a list of 3D Tilesets used for Analysis.
- property Scenario.laser_environment: LaserEnvironment#
Return the laser environment.
Method detail#
- Scenario.set_time_period(self, start_time: Any, stop_time: Any) None #
Set the Scenario time period. startTime/stopTime use DateFormat Dimension.
Examples#
Set the current scenarioโs time period
# STKObjectRoot root: STK Object Model Root scenario = root.current_scenario scenario.set_time_period(start_time="1 Jan 2012 12:00:00.000", stop_time="2 Jan 2012 12:00:00.000")