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
1
vote
2 answers

How do I get the DropDown selection from a Command Button in ArcObjects?

I have a dropdown and a Icommand button in the same toolbar in ArcMap. I can't seem to get access to the dropdowns selection when I am using the command button. How can I find the dropdown so I can find out what the user just selected? …
SpoiledTechie.com
  • 10,515
  • 23
  • 77
  • 100
1
vote
0 answers

How to find co-ordinates of two intersecting features (circular arc and polyline) using arcobjects in vb.net?

I am new to arcobjects and i want to find the co-ordinates of the intersection points of a circular arc and a polyline. The problem is the my code is showing no points of intersection even though i know there is a point of intersection. The code…
1
vote
2 answers

How to Convert ILayer to IPolygon In ArcObjects

Having trouble converting an Ilayer to an IPolygon. I am developing a toolbar for ArcMap and I grab a layer via code from the side table of contents. The Layer is a Polygon, but the code won't convert it to a IPolygon. Can anyone help me out? This…
SpoiledTechie.com
  • 10,515
  • 23
  • 77
  • 100
1
vote
1 answer

Serialize a FeatureClass to XML in ESRI ArcGIS

How can I serialize an IFeatureClass object to XML? There are some resources for using IXMLSerializer on other ArcObjects, but that won't work for IFeatureClass because it doesn't implement ISerializable.
Keith G
  • 4,580
  • 5
  • 38
  • 48
1
vote
0 answers

ArcObjects Add-in closes ArcMap when JFrame is closed

My Add-in opens a new frame for user input. When this frame is closed, ArcMap also closes. I have the DefaultCloseOperation set to DISPOSE_ON_CLOSE. My code inside the add-in button creates an instance of my GUI class. public void onClick() throws…
Vok250
  • 11
  • 4
1
vote
1 answer

create ad enterprise geodatabase with ArcObjects

I am new to ArcObjects programming and i want to create an enterprise Geodatabase. In ArcMap , simply use tools to create a database. how can I do this with ArcObjects? any help is appreciated
kamran ghiasvand
  • 836
  • 2
  • 11
  • 19
1
vote
1 answer

Application causing exception during scheduled time

I am getting below mentioned exception only when I am scheduling my application to run on particular time. "The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))" This does not happen when i run the application…
1
vote
2 answers

What does the exception "Exception from HRESULT: 0x80040653" when calling IFeatureClass.Search in ArcObjects mean?

I'm supporting an application built on ESRI ArcObjects where the original developers are long since gone. The application after having worked fine for a couple of years has started failing with this exception. The application runs on a daily…
John Mills
  • 10,020
  • 12
  • 74
  • 121
1
vote
1 answer

To implement IbufferconstructionProperties arcobjects

How to implement Arcobjects IbufferconstructionProperties interface to create partial Buffer one side[left/right]? Please provide a code snippet.
user2408848
  • 151
  • 7
1
vote
2 answers

Representing planar graphs / GIS topology: ArcObjects vs. CGAL arrangements

I need to represent a planar graph structure, i.e., a division of part of the plane into polygons so that I can easily find a polygon's neighbors etc (like on a map). What is the best library to use? ArcObjects? CGAL (2D arrangements)? Anything…
Lev
  • 6,487
  • 6
  • 28
  • 29
1
vote
2 answers

How to set the view extent when selecting multiple features

I am trying to figure out what is the best way to set the active view extent to be able to view all the selected features on the Arc Map. 1.The Map has only one layer. 2.The features are filtered with attributes. Below is the code where I…
sss111
  • 349
  • 1
  • 7
  • 27
1
vote
2 answers

How to Select feature and highlight in ArcGIS using C#

Hi I have the following code below for zooming into an arcGIS object based on the attribute now all I need is to be able to highlight that area with a select feature (The feature where you right-click on the area on the map and do select feature).…
sss111
  • 349
  • 1
  • 7
  • 27
1
vote
1 answer

How can I programmatically access the ArcGIS 3D Analyst Toolbar's "Features to 3D" command?

I need to take a 2D shape file in the ".shp" format that ArcGIS accepts, and add 3D information supplied by a raster DEM. I'm looking for how to do this with the ArcObjects API. I'd like to do it in C#, but examples in any .NET language would be…
A. Levy
  • 29,056
  • 6
  • 39
  • 56
1
vote
1 answer

Creating .net application with specific arcgis functionalities

I am new to arcgis. I have given the task to create .net desktop application that can perform specific arcgis functions like digitization, interpolation etc. So my questions are Can i develop application in .net to perform specific functionalities…
Zain
  • 1,226
  • 1
  • 16
  • 26
1
vote
3 answers

Alter map layer symbology dynamically (ArcGIS Server)

What is the preferred method of altering a layer's symbology dynamically? My web app consumes a map service via the REST API, but I don't mind using the SOAP API or ArcObjects (.NET).
nw.
  • 2,206
  • 5
  • 30
  • 40