I cannot get the Tilt About X or Y to insert new tilt angle. And I would like to read from a .txt to do the same but cannot get the write method to initially set or change the Tilt About X - here is some of my code.
TheLDE = TheSystem.LDE;
%TheLDE.InsertNewSurfaceAt(2);
%TheLDE.InsertNewSurfaceAt(12);
%TheLDE.InsertNewSurfaceAt(5);
Surface_12 = TheLDE.GetSurfaceAt(12);
%Surface_5 = TheLDE.GetSurfaceAt(5);
TheLDE.GetSurfaceAt(12).TiltDecenterData.BeforeSurfaceOrder = ZOSAPI.Editors.LDE.TiltDecenterOrderType.Decenter_Tilt;
TheLDE.GetSurfaceAt(12).TiltDecenterData.BeforeSurfaceTiltX = 5;
TheLDE.GetSurfaceAt(12).TiltDecenterData.AfterSurfaceTiltX = -5;