Writing notification window changed 18.5 -> 19.0 for macros?

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

Writing notification window changed 18.5 -> 19.0 for macros?

Postby bcole » Thu Jan 31, 2019 8:13 am

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,

Forum Newbie
Forum Newbie
Posts: 16
Posts Rating:0
Joined: Sat Feb 10, 2018 8:03 am

Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 5 guests