multicaduser
Industrial
- Jan 29, 2013
- 261
In writing a journal I would like to write some lines to the listing window, display if for a number of seconds, then close the window. This is the code I'm using which I found on NXJournaling.com (an awesome web site).
Threading.Thread.Sleep(2000)
lw.CloseWindow()
The lines writing to the listing window are just above this code, however, instead of the writing the lines to the listing window then sleeping it sleeps first then writes the lines and closes the listing window.
Am I using this code wrong or is there something else being overlooked.
NX 12.0.1.7 Windows 10
Threading.Thread.Sleep(2000)
lw.CloseWindow()
The lines writing to the listing window are just above this code, however, instead of the writing the lines to the listing window then sleeping it sleeps first then writes the lines and closes the listing window.
Am I using this code wrong or is there something else being overlooked.
NX 12.0.1.7 Windows 10