Skip to main content
Question

Coordinate return in ZOS-API

  • October 20, 2023
  • 1 reply
  • 68 views

Daniel P. Calero

Hi,

I am trying to make a script in ZOS-API where I introduce some tilts and displacements. At one moment I want to make an automatic return to a given surface. 

Is there a way to use the coordinate return of the coordinate breaks in the ZOS-API?

Thanks,

Daniel

1 reply

Daniel P. Calero

I reply to myself:

The code to generate coordinate returns in Matlab is:

CB = TheLDE.GetSurfaceAt(XX);
CB.TiltDecenterData.CoordinateReturn = ZOSAPI.Editors.LDE.CoordinateReturnType.OrientationXYZ;
CB.TiltDecenterData.CoordinateReturnToSurface= YY;

With XX the surface where we want to introduce the return and YY the surface we want to return to


Reply


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