> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ResultLXP – Analyzing the interactive simulation light expert result

The following script sample shows you an example on how to analyze an Interactive Simulation Light Expert result.

```python theme={null}
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()
```
