Skip to main content

Speos client APIs 2024 R2

SimulationInteractive – Setting an interactive simulation

Last update: 17.07.2025

The following script sample shows you an example on how to set an Interactive Simulation.

GetInteractiveSimulationSettings returns three Booleans:

  • DrawRays
  • DrawImpacts
  • ReportImpact

SetInteractiveSimulationSettings uses those three Booleans as parameters.

simulationSettings = interactiveSimulation.GetInteractiveSimulationSettings( )
for simulationSetting in simulationSettings:
print simulationSetting
interactiveSimulation.SetInteractiveSimulationSettings(True, True, False)

Connect with Ansys