Hi everyone,
I would like to change the surface properties with Python ZOS-API.
How can I change the follow parameter from “Explicit” to “ Reverse Thhis Surface”?
Thanks for help.
Hi everyone,
I would like to change the surface properties with Python ZOS-API.
How can I change the follow parameter from “Explicit” to “ Reverse Thhis Surface”?
Thanks for help.
Try this:
# Surface number where properties are adjusted
surfaceNumber = 3
# Retrieve surface where properties are adjusted
mySurface = TheSystem.LDE.GetSurfaceAt(surfaceNumber)
# Get Tilt/Decenter properties of the surface
myTiltDecenterData = mySurface.TiltDecenterData
# Set After Surface property to pickup
myTiltDecenterData.SetAfterSurfaceModePickupThis()
These are the other functions and properties of the TiltDecenterData:
Hope this helps and take care,
David
Thank you so much.
It was very helpful for me.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.