Hi,
I am trying to update some code I used on Autocad 2012 and, in Autocad 2014, I don't know how to get the MainWindow location.
In Autocad 2012 I used Autocad.ApplicationServices.Application.MainWindow.Location. How can I get this location using Autocad 2014?
Thank you very much,
e.g.
Solved! Go to Solution.
Solved by Keith.Brown. Go to Solution.
I could be wrong but for 2014 i believe you need to reference accoremgd and then access the main window using the following two methods:
Autodesk.AutoCAD.ApplicationServices.Core.Application.MainWindow.SetLocation() Autodesk.AutoCAD.ApplicationServices.Core.Application.MainWindow.GetLocation()