Skip to main content
Solved

How can I use "Test Plate Fitting via ZOS-API and Python

  • Feb 15, 2024 1:07 PM UTC
  • 3 replies
  • 192 views

Ascho

Hi,

 

Is it possible to use “Testplatefitting via ZOS-API and python?

 

Thanks, Anja

 

Best answer by David.Nguyen

@Ascho 

 

I don’t think it is possible. The only mention of “plate” in the ZOS-API Syntax Help File is about the Test Plate List, which you could open with:

TheSystem.Analyses.New_Analysis(ZOSAPI.Analysis.AnalysisIDM.TestPlateList)

Since you’d have the values to test against. You could create the algorithm in Python, but it might be more work than you want.

Alternatively, ZPL seem to have a keyword TESTPLATEFIT that calls the test plate fitting routine.

Take care,

 

David

View original

3 replies

David.Nguyen
Luminary
Forum|alt.badge.img+3
  • Luminary
  • Answer
  • May 8, 2024 7:18 AM UTC

@Ascho 

 

I don’t think it is possible. The only mention of “plate” in the ZOS-API Syntax Help File is about the Test Plate List, which you could open with:

TheSystem.Analyses.New_Analysis(ZOSAPI.Analysis.AnalysisIDM.TestPlateList)

Since you’d have the values to test against. You could create the algorithm in Python, but it might be more work than you want.

Alternatively, ZPL seem to have a keyword TESTPLATEFIT that calls the test plate fitting routine.

Take care,

 

David


Ascho
  • Author
  • Monochrome
  • May 8, 2024 7:45 AM UTC

Hi David,

 

thanks for your answer. As you recommended, I solved my problem by using an own algorithm in Python.

My algorithm takes more time, but it was more helpful for my specific problem.

Best regards

Anja


David.Nguyen
Luminary
Forum|alt.badge.img+3

@Ascho 

 

Great to hear. If you'd be willing to share your implementation with others you could consider contributing it to ZOSPy. I think@jwbeenakker can give more details if you are interested :)

 

Take care,

 

David