SimulationInteractive – Creating and using an interactive simulation
The following script sample shows you an example on how to create and use an Interactive Simulation.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
interactiveSimulation = SpeosSim.SimulationInteractive.Create()
interactiveSimulation.Geometries.SelectAll()
interactiveSimulation.Sources.Set(interactiveSource.Subject)
interactiveSimulation.Compute()
interactiveSimulation.ExportRaysAsGeometry()
interactiveSimulation.FlagLXPActivation = True
interactiveSimulation.Compute()
lxpResult = SpeosSim.ResultLXP.Find(interactiveSimulation.Name + ".lpf")
lxpResult.RequiredFaces.Set(lxpRequiredFace)
lxpResult.RejectedFaces.Set(lxpRejectedFace)
lxpResult.Compute()
lxpResult.ExportRaysAsGeometry()
Was this page helpful?