Skip to main content
Answer

ZOS-API surface sag text info

  • October 3, 2022
  • 1 reply
  • 79 views

redbottle

Hi,

Does anyone know how to pull the point space information under surface sag → text (using Matlab)? I can successfully pull 

SagResults.GetTextFile but couldn’t find the point space info under that, 

I appreciate the help in advance. 

 

Best answer by redbottle

I think I found it. I put it here in case somebody else also needs it: 

SagResults = Sag.GetResults();

SagResults.DataGrids(1).Dx 

SagResults.DataGrids(1).Dy

if your system is symmetric, Dx = Dy

 

 

1 reply

redbottle
  • Author
  • Monochrome
  • Answer
  • October 3, 2022

I think I found it. I put it here in case somebody else also needs it: 

SagResults = Sag.GetResults();

SagResults.DataGrids(1).Dx 

SagResults.DataGrids(1).Dy

if your system is symmetric, Dx = Dy