Skip to main content

Speos client APIs 2026 R1 SP01

SimulationDirect – Creating a direct simulation

Last update: 22.04.2026

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