10-15-2025, 01:44 PM
(This post was last modified: 10-15-2025, 02:04 PM by maxscripter.)
(10-15-2025, 01:00 PM)tyFlow Wrote: You can access Max's CORE interface from the Script operator, which you can then use to execute global commands that would normally be accessible from MAXScript, or even MAXScript commands themselves.
Ex:
Code:GlobalInterface.Instance.ExecuteMAXScriptScript("clearListener()", Autodesk.Max.MAXScript.ScriptSource.NonEmbedded, false, null, false);
Thank you for your answer.
Yes, I already tried that... Unfortunately -- Error CS0234: The type or namespace "Maxscript" does not exist in the namespace "Autodesk.Max". Is it possible that the error happens because I use quite old Max (2020) and tyFlow (1.1011-1.1026)? Unfortunately, I can't use the newer versions at the moment because I use a lot of my own scripts some of which is quite version dependent. Or should I use some c# additional assemblies in Script operator? Sadly, I don't have enough experience in C# programming...
UPD: I did it!

For my soft and tyflow version - just
Code:
GlobalInterface.Instance.ExecuteMAXScriptScript("clearListener()", false, null, false );Thank you a lot!
