Can't write to closed iLogic log window anymore

Can't write to closed iLogic log window anymore

nannerdw
Advocate Advocate
248 Views
1 Reply
Message 1 of 2

Can't write to closed iLogic log window anymore

nannerdw
Advocate
Advocate

To reproduce this bug:

Hide the iLogic log window, and restart Inventor.
This ensures that the window will be closed by default when Inventor starts.

Create this rule, and run it:
Logger.Info("test")

Show the iLogic log window for the first time. It will still be empty.

Close the log window.

Run the rule again.

Open the log window again. It worked this time, because the log window had previously been shown at least once during the current Inventor session.

This bug was not present in Inventor 2020.  I am currently using 2023.

My temporary workaround is to do this at the beginning of every rule:

 

Dim logWindow As DockableWindow = ThisApplication.UserInterfaceManager.DockableWindows("ilogic.logwindow")

If Not logWindow.Visible Then
    logWindow.Visible = True
    logWindow.Visible = False
End If

 

0 Likes
249 Views
1 Reply
Reply (1)
Message 2 of 2

JelteDeJong
Mentor
Mentor

I recognise the problem in Inventor 2023. But I don't see a question here so I assume this is feedback for Autodesk. There is a special forum for this kind of feedback. If you report it there, you get more feedback if there is progress on the issue. Have a look at:

https://feedback.autodesk.com/welcome/

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes