Is there a way to catch Maxscript listener error messages in an external IDE such as VSCode?

Is there a way to catch Maxscript listener error messages in an external IDE such as VSCode?

dongseokkim
Observer Observer
112 Views
1 Reply
Message 1 of 2

Is there a way to catch Maxscript listener error messages in an external IDE such as VSCode?

dongseokkim
Observer
Observer

Hello, community.

 

I'm using MXSPyCom to execute scripts from VSCode, and it works fine. However, I always have to check the Maxscript listener if I want to see the results or error messages.


Is there any way to capture the Maxscript listener's output directly in VSCode?

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

miauuuu
Collaborator
Collaborator

If I recall correctly, there is a way - I saw a video or blog post describing how to do it, but I can't find it now. As a workaround, you can use the openLog MaxScript command in your code to redirect output from the MaxScript Listener to a .txt file. This way, you can monitor the file—for example, if you have it open in Notepad++, it will prompt you to reload the file whenever it’s updated.

https://miauu-maxscript.com/
0 Likes