Questions tagged [arcobjects]

ArcObjects is a development environment for ArcGIS applications by ESRI.

Overview

ArcObjects is a set of COM-based APIs from ESRI Inc. that are used in several of their products, ArcGIS Desktop, ArcGIS Engine and ArcGIS Server.

The APIs can be used several developer platforms including .Net (VB.Net/C#...), Java, C++.

Tag usage

For non-development questions, see GIS Stack Exchange

196 questions
0
votes
3 answers

Unable to debug ArcGIS 10.2 add-in on ArcMap with “No GUI components found in this Add-In”

I am working on an ArcGIS add-in (a very simple toolbar with a few buttons) with VB.Net and ArcObjects SDK in Visual Studio 2010. The solution was built successfully and the debug settings were configured. When I hit Debug, ArcMap application was…
alextc
  • 3,206
  • 10
  • 63
  • 107
0
votes
1 answer

GeodatabaseUI.ICalculatorUI2 no longer works in ArcMap 10.1 (Why no Views?)

I have an addin that has been ported from ArcMap 9.3 to 10.1 and this code worked perfectly in 9.3 but for some reason won't work at all in 10.1: ICalculatorUI calc = new CalculatorUI(); calc.Table = MyTable; calc.Field =…
CptRobby
  • 1,441
  • 15
  • 19
0
votes
1 answer

How to manipulate the menuitem using arcobjects?

In arcobjects, there is an option to create customized BaseMenu. Similarly is there any option to modify the existing [customized]BaseMenu? Kindly clarify.
user2408848
  • 151
  • 7
0
votes
1 answer

Reading record from table in arcobjects c#

I wrote this code (in C# .net using Arcobjcts) to read record from my table: ITable table =featureWorkspace1.OpenTable(featureClass1.AliasName); List list2 = new List(); ITableSelection tableSelection = table as ITableSelection; …
user3644700
  • 1
  • 1
  • 1
0
votes
1 answer

How to display selected features in ArcGIS Identify Dialog using Visual Studio 2010/ArcObjects?

I'm brand new to ArcObjects SDKs and am struggling. I have a Python Add-in performing a query to select records (works great)and now trying to call the identify dialog via an .NET addin button that displays the identify dialog box to show attributes…
0
votes
2 answers

Displaying a text box

I've searched the questions for an answer but couldn't quite find a clear cut example. I am trying to display a simple text box in C#. I am working with C#, ArcMap and ArcObjects. I have created a toolbar that has a button in it. Upon clicking the…
user1898629
  • 329
  • 1
  • 4
  • 22
0
votes
1 answer

How to align Line to Point (points from multiple layer) in arcobject using C#?

I have 5 different point layers and one line layer. Need to connect points (from different layers) with LINE. I have code for only one point layer. I don't know how to get all points from different layers at a time - can anyone help me? Note: LINE…
Nirosha K
  • 1
  • 1
0
votes
2 answers

Issue writing new data from a form to mdb

I am having issues writing new data from my form to my access (mdb). I have a form with a few fields that work fine, I can read the data in the table. However, I can't edit in the form and write back new info into the database? See code below and if…
Bob C
  • 55
  • 1
  • 1
  • 10
0
votes
1 answer

Select a feature in arcengine c# project by clicking on it and change the attribute of it programmatically

I want to click on a feature of shapefile in arc engine c# project and change the selected feature's attributes by code.
Roozi
  • 683
  • 6
  • 12
0
votes
2 answers

Create a random point within a polygon using arcobjects in C#?

Im trying to create a function in C# that would return a random IPoint feature that whould be within a selected polygon, but I'm complete buffed on how to proceed. Ideally the definiotion of the function would like bellow: public IPoint…
user528025
  • 732
  • 2
  • 10
  • 24
0
votes
1 answer

ArcObjects spatial query failing on SDE featureclass (vb.net)

So I have some code that performs a spatial selection on a featurelayer using a spatial filter. This works fine for normal featureclass layers, but fails when run on an SDE featureclass. I'm wondering if anyone could shed some light onto what the…
pvdev
  • 230
  • 3
  • 13
0
votes
1 answer

How to create a multi path polyline in ArcObjects & VB.NET?

I have problem that should be easy to resolve, but it's giving me a headache not being able to figure it out. I have a bunch of polylines, and I want to merge these polylines together into a single polyline object. These polylines are not…
pvdev
  • 230
  • 3
  • 13
0
votes
1 answer

How to build java desktop application with arcobject ( Arcgis 10 )?

i try to build java standalone appplication with Arcgis i already instal Arcgis Desktop 10 and ArcObject SDK for java platform i just try to getting started .. so i use this tutorial then i include libraries arcobjects.jar from my arcgis…
Jason Amavisca
  • 187
  • 3
  • 5
  • 13
0
votes
1 answer

What are these .s and .x files alongside my executable?

We have some applications built against .NET 3.5 and referencing ESRI ArcObjects .NET DLLs (which in turn reference COM DLLs). We're running them on Windows 2008. Sometimes I will look in the applications' installation directories and alongside the…
Gnat
  • 2,861
  • 1
  • 21
  • 30
0
votes
1 answer

Developing ArcGIS 9 extension - what do I need to get started?

I got the 'honor' to port an existing ArcGis 3.x Avenue script to ArcGIS 9.x ArcObjects. What do I need to get started? (So far I don't even have a copy of ArcGIS) From ESRI's developer website it seems I need to buy an EDN annual subscription for…
Sam
  • 28,421
  • 49
  • 167
  • 247