AnsweredAssumed Answered

User Input Data in ArcObject C#.NET

Question asked by shrestha@iastate.edu on Mar 8, 2017
Latest reply on Mar 10, 2017 by cmk

I need to plot automated maps in ArcGIS.

 

The first, and better, method from my perspective is to create a standalone C#.NET application that will interact with the current instance of ArcGIS (//http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Automating_the_ArcGIS_Desktop_applications/0001000001nn000000/). Customization (such as asking user to browse a csv file, etc.) would be easier with this method. But, I am not being able to access anything. It returns error in line
            ESRI.ArcGIS.Framework.IDocument doc = new ESRI.ArcGIS.ArcMapUI.MxDocumentClass();
I am guessing I might have to do something so that the program can access the current instance of the ArcGIS. It would be great if anyone can point me to the right direction.

Second option is to create add-in. However, it seems more troublesome to ask for user inputs.

 

Any help would be appreciated.

Outcomes