Page 1 of 1

Writing notification window changed 18.5 -> 19.0 for macros?

PostPosted: Thu Jan 31, 2019 8:13 am
by bcole
Hello all,

I use the write to notification window extensively when developing / debugging macros. I usually achieve this the following initialization:

this_app = com.nomagic.magicdraw.core.Application.getInstance();

this_gui = this_app.getGUILog();

I then use the log functionality such as

this_gui.log("Hey you should see what your program is doing!");

This works fine in 18.5 but doesn't print anything in 19.0 whether or not I have the notification window already opened.

I've also tried writeLogText but it doesn't seem to do what I want either.

Thanks in advance,

Bjorn