Specifically, I would like to get the selected object, similar to the way you do in ArcCatalog through
Is there a way to do this?
So far I can get the Catalog DockableWindow but am stumped from there.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
After some experimenting, I found that the answer is surprisingly simple - from version 10 on, the ArcMap application object (esriArcMap.Application) also implements IGxApplication, besides the expected IMxApplication.
This means you can easily access IGxApplication.SelectedObject and work with the catalog in other ways, just like you would in ArcCatalog as usual.