Skip to main content

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

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