Skip to main content

API_Layout_plot_Python

  • November 11, 2023
  • 27 replies
  • 1259 views

Show first post

27 replies

mocquin
Ultraviolet
  • Ultraviolet
  • June 4, 2025

Hi,

I tried the code for sequential layout previously and it was working well. But recently, the software was updated to Ansys Zemax OpticStudio 2024 R1.03 and ran into the following error when calling ‘Layouts’:

 myLayout = TheSystem.Tools.Layouts.OpenCrossSectionExport()
AttributeError: 'SystemTools' object has no attribute 'Layouts'

 

Wondering if anyone has this issue as well?

 

Regards, Ai Ping

 

@Ai Ping.Yow 

I’m getting identical behavior, most likely my version is not compliant ? using 2023R1.02


mocquin
Ultraviolet
  • Ultraviolet
  • June 10, 2025

FWIW using myLayout.Filter = None raises me errors, while using myLayout.Filter = “” seems to be fine