Solved

Macro import of .dat file onto a Grid Phase surface

  • 28 June 2023
  • 2 replies
  • 149 views

Userlevel 1
Badge

I have a macro that converts .tif files to .dat files via the CONVERTIMAGETOGRID keyword and that all works like a charm and it creates wagonloads of .dat files.  

What I’d like to do next is import those files into a prescription with an established Grid Phase surface via the same macro . . . but I don’t see a ZPL way to do that?

Anybody have any ideas?

Thanks!

icon

Best answer by Mark.Nicholson 29 June 2023, 18:11

View original

2 replies

Userlevel 7
Badge +3

Hi again,

Try the IMPORTEXTRADATA keyword. OpticStudio removed the Extra Data Editor from the UI as the editors became flexible enough to not need it, but it lives on in the ZPL structure.

  • Mark
Userlevel 1
Badge

Thanks, Mark.  I’ll try that out.  -Alex

Reply