Skip to main content

API_Layout_plot_Python


Did this topic help you find an answer to your question?
Show first post

27 replies

mocquin
Ultraviolet
  • Ultraviolet
  • 27 replies
  • June 4, 2025
Ai Ping.Yow wrote:

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
  • 27 replies
  • June 10, 2025

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings