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.
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.
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
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.