Skip to main content
Solved

How to get the index of the last/image surface in ZPL?

  • Jun 13, 2022 3:08 PM UTC
  • 1 reply
  • 250 views

Monte

A simple question but I am unsure.  Currently I’m using a macro that I have to edit in manually the last surface index every time.  Something like index = -1 but this didn’t work.  Thanks!

Best answer by MichaelH

Use NSUR() to get the last surface in the Lens Data Editor.

View original

1 reply

MichaelH
Luminary
Forum|alt.badge.img+2
  • Luminary
  • Answer
  • Jun 13, 2022 3:18 PM UTC

Use NSUR() to get the last surface in the Lens Data Editor.