1

I'm researching building a couple of custom tools. I downloaded and installed ArcObjects SDK 10.4 to integrate it into Visual Studio 2013 and 2015, but I'm having trouble finding any good examples on creating the tools. Our client wants one tool that will search for a value from a specific field("Loc_Num") within a specific set of layers and then highlight the feature it finds. They also want another one to do an address lookup, but apparently the built-in tool is not what they are wanting.

Can anyone could point me to a good reference on building these within VS 2013 or 2015?

1

What you are looking for is in the ArcObjects Help for .Net Developer, more specifically Building Add-ins for ArcGIS Desktop

  • Good links here. Just to add, it doesnt sound like you need a full gp (geoprocessing tool). Dont get confused trying to build a "gp tool". An addin as suggested should do what you need. – KHibma May 18 '16 at 15:36
  • I tried following a tutorial I found here: help.arcgis.com/en/sdk/10.0/arcobjects_net/conceptualhelp/… It uses Visual Studio 2008 so it doesn't follow along exactly. Also when I insert the code snippet using VS2015 I get errors that Geometry, Carto or Display aren't under ESRI.ArcGIS. I installed ArcObjects SDK for the Microsoft .NET Framework. Do I need to install something else. The tutorial isn't necessarily related to what I need a tool to do, I'm just trying to see if I can first create one, build and deploy for use in a custom toolbar. – bdk0172 May 18 '16 at 15:42
  • You can also build a gp tool and call / execute / set parameters within the add-in but the path to the tool needs to be hard coded in the addin or you need place the gp tool in a known location. In any case, the tool needs to exist and the addin needs to be able to reference it in that location. Such addins should be distributed along with the gp tools and installation instructions. – Jakub Sisak GeoGraphics May 18 '16 at 15:42
  • @bdk0172 - that's the starting point. When i was migrating my tools from VBA to VB.Net and the SDK that's the tutorial i used. – Jakub Sisak GeoGraphics May 18 '16 at 15:46
  • @bdk0172 - this may be a .Net debugging question. Do all the neccessady libraries appear in your project references? ESRI.ArcGIS.Carto is installed in by default "C:\Program Files (x86)\ArcGIS\DeveloperKit10.3\DotNet\ESRI.ArcGIS.Carto.dll" for example – Jakub Sisak GeoGraphics May 18 '16 at 15:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.