Skip to main content

Speos client APIs 2026 R1 SP01

EyeboxConfiguration – Defining a HUD optical analysis with multi-eyebox configuration

Last update: 22.04.2026

This page presents you an example on how to define a Head-Up Display Optical Analysis with a multi-eyebox configuration using the TiltAngle method.

multiEyeBoxMirrors = hoaSimulation.Mirrors.GetMultiEyeBoxMirrorPossibleValues() 
            
for multiEyeBoxMirror in multiEyeBoxMirrors:
    if multiEyeBoxMirror.Contains(GetRootPart().Bodies[1].GetName()):
       hoaSimulation.Mirrors.MultiEyeBoxMirror = multiEyeBoxMirror                    
       break
            
hoaSimulation.Mirrors.TiltRotationAxis.Set(GetRootPart().Curves[1])                               
            
ebConfigurations = hoaSimulation.Mirrors.EBMirrorConfigurations  
            
for ebConfig in ebConfigurations:
    if ebConfig.EBConfigName.Contains("Lower"):
       ebConfig.TiltAngle = -2
    elif ebConfig.EBConfigName.Contains("Upper"):
       ebConfig.TiltAngle = 2

Connect with Ansys