Focus active model before SU 2021.1

Does anyone know how to perform the equivalent of Sketchup.focus (which focuses the active model window) without using that call? It’s only available in the API since version 2021.1, and I’m looking for a way to do the same thing—focus a model window—for an extension that supports some earlier versions. Thanks!

This has been discussed numerous times here. Please search the developer categories.

Thanks—I swear I did! Will look again.

Well the major thread where we discussed all the hacks was this …

Other forum topics are listed for both this forum and SketchUcation in the now closed issue:


There are also both open and closed bug issues re: “focus” in the API Issue Tracker …

1 Like

Thanks! This is better than what I was starting to find.