Skip to main content

How do I set a field position (say field coordinate 😵 to a variable using ZOS-API in Python?

I am accessing the Fields information using

Fields = TheSystem.SystemData.Fields

It seems like the methods within the Fields object are slightly different to the MCE or LDE editors, as I can get a single field doing Fields.GetField(2) but I cannot find a method like SetSolveData(solve), which would work in the MCE.

Any idea on how to set a field coordinate to a variable?

Thanks.

As far as I can tell, Solve control for the Field Data Editor (FDE) has not been fully implemented in the API (for ZOS v.23.1).

However, it seems to be working okay in the Multi-Configuration Editor (MCE), and you can control the field variable status using the XFIE and YFIE operands.

 

For the MCE, the SetSolveData() method works properly.  I don’t use Python, but here is a Matlab version, and I assume there is a similar construct for Python:

 

 

Regards,

Jeff


Hi @P_Gallardo and @Jeff.Wilde ! I will submit a feature request on our side. Thank you.


Reply