Skip to main content

API_Layout_plot_Python

  • Nov 11, 2023 3:42 AM UTC
  • 27 replies
  • 1753 views

Show first post

27 replies

mocquin
Ultraviolet
  • Ultraviolet
  • Jun 4, 2025 9:20 AM UTC

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
  • Jun 10, 2025 11:21 AM UTC

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