Notifications
Clear all

WPF interacts with maxscript, how to prevent the window from being opened repeatedly, how to get it

 

global Form1 = dotnetObject "maxsq.MainWindow"
        (dotnetobject "System.Windows.Interop.WindowInteropHelper" Form1).Owner = dotnetobject "IntPtr" (windows.GetMAXHWND())
        Form1.Show()
Reply