Skip to main content

FLDX obsolete


Christoph.Bodendorf
Ultraviolet
Forum|alt.badge.img

I am using FLDX,FLDY to get the current field angle.

Now, I find in the Help: These commands are obsolete. See “SETSYSTEMPROPERTY, SYSP”.

But SETSYSTEMPROPERTY is to *set* properties of the system, not to *read* them. So how do I access the current field angle now?


  Best,

     Christof.

Did this topic help you find an answer to your question?

2 replies

Hui Chen
Zemax Staff
Forum|alt.badge.img+1
  • Zemax Staff
  • 144 replies
  • January 26, 2021

Hi Christof,


Thank you for your post!


To 'read' the field value from current field data editor, you should use Numeric Function instead. There are two numeric functions, FLDX() and FLDY() that will return the field values from the Field Data Editor. You can find this described in the Help File at The Programming Tab > About the ZPL > Numeric Functions



Let me know if you have any questions.


Best regards,


Hui


Christoph.Bodendorf
Ultraviolet
Forum|alt.badge.img

Hi Hui,


Yes FLDX() and FLDY() are exactly the numeric functions I am using. I found them in an old script of mine. When I wanted to remind myself on the use of these functions, I found in the help that they are obsolete. So I guess there once was a keyword FLDX without () which is obsolete, while the function FLDX() is not obsolete.


Thank you and best regards,

Christof.


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