Hi,
Is there a way to read the GCode line when running a macro from the MDI. I am writing a macro that would have a line that looks something like M1090(I5 PI14 PO1). I can use the exec.Getcurrgcodelinetext() to read the line when executed from a file but this does not work if executed from the MDI. I've tried to read the MDI field but it returns blank. Can you offer any suggestions on how I can do this?