We here at Ideate Software have experienced Revit add-in ownership issues with Revit's main window: For Revit 2018, when a modeless add-in is closed, Revit does not retain its focus. With some experimentation, we found that the application that had focus before Revit is the one that gains focus after the modeless add-in is closed. 

To help users keep Revit focused and on top when working with a modeless form, I documented:

  • The issues
  • Resolutions
  • Code examples

You can find them in The Building Coder blog post, Modeless Form Keep Revit Focus and On Top, by Jeremy Tammik. Jeremy works with the Forge Partner Development team on Autodesk APIs and web services.

For more tips, tricks, and lessons learned, visit the Ideate Software blog.

About the Author

Hank DiVincenzo - Senior Software Engineer
Hank has been a Software Engineer for over 18 years. With a Bachelor's degree in Computer Engineering, he has developed applications for a variety of companies, including Sequent Computers, IBM, Intel, and iMove. The application domains developed range from Computer System Control, Wireless Networks, and Immersive 360° Video, developing in both Linux and Windows environments. Most recently before coming to Ideate, Hank worked on Immersive 360° Video applications used for Situational Awareness within the National Security Agency and Department of Defense. 



Ideate Software is compliant with the General Data Protection Regulation (GDPR). We’ve updated our Privacy Policy and Terms of Use to reflect this. Please read these updated terms and take some time to understand them.

Note: We use cookies to improve your browsing experience and help us improve our website.

By continuing to use our website, you agree to the terms of use and to our use of cookies.