ArcGIS 10.0 Tool Add-in.ITool has a deactivate method that is called by the system when you click on another tool from the previous tool in use. How can I call that deactivate method? I can't seem to find a class that returns a reference to Tool.
IApplication app = GetMeSomehow(); app.CurrentTool = null; // (or 'Nothing' if VB)
java.lang.ClassCastException: com.esri.arcgis.systemUI.ICommandProxy cannot be cast to com.esri.arcgis.addins.desktop.Tool
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.