Solved

ZOS-API surface sag text info

  • 3 October 2022
  • 1 reply
  • 58 views

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. 

 

icon

Best answer by redbottle 3 October 2022, 20:25

View original

1 reply

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

 

 

Reply