Skip to main content
Question

TOLR about GetOperandValue

  • July 22, 2024
  • 1 reply
  • 62 views

Seyoung Kim

Hello,

How can I get the operand values?

I want to obtain the TOLR value.

Additionally, the commands for Show/Hide of MCE, TDE, and MFE are not working correctly. I would appreciate any advice. I am currently using MATLAB.

 

1 reply

David.Nguyen
Luminary
Forum|alt.badge.img+2

@Seyoung Kim 

 

In Python (probably also in MATLAB), to get an operand value, you could use:

TheSystem.MFE.GetOperandAt(10).Value

Regarding HideMFE(), I also don’t get it to work in Interactive Extension. I checked that TheApplication.Mode was Plugin, as specified in the description of this method:

Closes this editor in the UI. Note that this only has an effect if the IOpticalSystem.Mode is ZOSAPI_Mode.Plugin.

It could be a bug. You may want to check with Zemax directly.

Take care,

 

David


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