In Maxscript! I’ll just leave it here as a reminder and hopefully it will be useful for you too!~
( assembly = dotnet.loadAssembly "Autodesk.Max" g = (dotnetClass "Autodesk.Max.GlobalInterface").Instance inface = g.CoreInterface activeview = inface.ActiveViewExp print activeview.Hwnd )
Leave a Reply