<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic User Input Data in ArcObject C#.NET in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/user-input-data-in-arcobject-c-net/m-p/65981#M1762</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to plot automated maps in ArcGIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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 (//&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fresources.arcgis.com%2Fen%2Fhelp%2Farcobjects-net%2Fconceptualhelp%2F%23%2FAutomating_the_ArcGIS_Desktop_applications%2F0001000001nn000000%2F" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Automating_the_ArcGIS_Desktop_applications/0001000001nn000000/&lt;/A&gt;&lt;SPAN&gt;). 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&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.Framework.IDocument doc = new ESRI.ArcGIS.ArcMapUI.MxDocumentClass();&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Second option is to create add-in. However, it seems more troublesome to ask for user inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Mar 2017 06:41:22 GMT</pubDate>
    <dc:creator>JoeSh</dc:creator>
    <dc:date>2017-03-09T06:41:22Z</dc:date>
    <item>
      <title>User Input Data in ArcObject C#.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/user-input-data-in-arcobject-c-net/m-p/65981#M1762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to plot automated maps in ArcGIS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;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 (//&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fresources.arcgis.com%2Fen%2Fhelp%2Farcobjects-net%2Fconceptualhelp%2F%23%2FAutomating_the_ArcGIS_Desktop_applications%2F0001000001nn000000%2F" rel="nofollow" target="_blank"&gt;http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/#/Automating_the_ArcGIS_Desktop_applications/0001000001nn000000/&lt;/A&gt;&lt;SPAN&gt;). 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&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.Framework.IDocument doc = new ESRI.ArcGIS.ArcMapUI.MxDocumentClass();&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Second option is to create add-in. However, it seems more troublesome to ask for user inputs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Mar 2017 06:41:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/user-input-data-in-arcobject-c-net/m-p/65981#M1762</guid>
      <dc:creator>JoeSh</dc:creator>
      <dc:date>2017-03-09T06:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: User Input Data in ArcObject C#.NET</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/user-input-data-in-arcobject-c-net/m-p/65982#M1763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1)&amp;nbsp; Your app isn't "interacting with the &lt;EM&gt;current&lt;/EM&gt; instance of ArcGIS".&amp;nbsp; Creating a new MxDocumentClass instance triggers the creation of a &lt;EM&gt;new&lt;/EM&gt; ArcMap application instance, it doesn't cause it to link to an already running instance.&amp;nbsp; Perhaps this is what you meant, just wanted to clarify.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2)&amp;nbsp; In theory you'd expect that starting an instance of ArcMap should trigger ArcMap to check out the appropriate license; however, you may need to check out the appropriate license in your app before you can use the API.&amp;nbsp; Worth trying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) If all you want to do is do automated plotting using one of the Export*Classes you may want to use the ArcEngine controls instead i.e. create a C# Form that hosts an &lt;SPAN&gt;ESRI&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-family: Fixedsys Excelsior 3.01;"&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;ArcGIS&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-family: Fixedsys Excelsior 3.01;"&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;Controls&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-family: Fixedsys Excelsior 3.01;"&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;AxPageLayoutControl.&amp;nbsp; You can create the form hidden and then use the page layout control to generate the export files.&amp;nbsp; Much lighter weight solution than starting and trying to automate ArcMap.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Mar 2017 20:40:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/user-input-data-in-arcobject-c-net/m-p/65982#M1763</guid>
      <dc:creator>ChrisKushnir</dc:creator>
      <dc:date>2017-03-10T20:40:03Z</dc:date>
    </item>
  </channel>
</rss>

