Dear Community -
I try to retrieve tilt infromation from (in coodinate break surfaces) using the ZOP API and Python.
(Ansys Opticstudio 2024R2, Python 3.8 etc.)
Using the boilerplate files, getting thicknesses etc. works well.
thissurf=TheLDE.GetSurfaceAt(i)
print('\n',i)
print('Type: ',thissurf.Type)
print(thissurf.Material)
print(thissurf.Radius)
print(thissurf.Thickness)
print(thissurf.TiltDecenterData.BeforeSurfaceTiltX)
print(thissurf.TiltDecenterData.AfterSurfaceTiltX)
The attempt to get tilt and decenter data gives 0.0 in the coordinate brake surfaces, where tilts
where deliberately set.
Any idea what I might have misunderstood?
Best regards, Stefan