Skip to main content

Speos client APIs 2024 R2

SimulationDirect – Creating a direct simulation

Last update: 17.07.2025

The following script sample shows you an example on how to create a Direct Simulation.

directSpeosSimulation = SpeosSim.SpeosSimulationDirect.Create()
directSpeosSimulation.Geometries.SelectAll()
directSpeosSimulation.Sources.SelectAll()
directSpeosSimulation.Sensors.SelectAll()
directSpeosSimulation.NbRays = 10000

directSpeosSimulation.Compute()
directSpeosSimulation.Isolate()
directSpeosSimulation.LinkedExport()

Connect with Ansys