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

learn more… | top users | synonyms (3)

0
votes
0answers
14 views

How to set output parameter to a zip file in a custom geoprocessing function tool?

I'm trying to write a custom geoprocessing function tool in ArcObjects that I can then expose as a service on ArcServer. The output parameter will be a zip file that contains a filegeodatabase. I ...
0
votes
0answers
9 views

How to select element on the map with arcobjects?

There is an application written on arcobjects 10, c# In it there is an AxToolbarControl (it is a toolbar). In this toolbar there are items: select item, zoom in, zoom out, pan, full extent, identify, ...
0
votes
1answer
196 views

vb.net arcobjects enable customized context menu item only if a feature is selected

The solution may be very simple, but I haven't made it work. I want to enable a data view context menu item only if a feature (in polyline layer) is selected, all other places the item should in ...
0
votes
0answers
15 views

How to select object on the map in pan mode?

The user moves on the map (pan mode). The he clicks right mouse button. I want to select the element and then display context menu. What is the way to select element on the map in pan mode? I use ...
0
votes
0answers
12 views

Drawing polylines with angle and distance using vba

I am new to arcobjects using VBA. I have a point feature, and i want to draw polyline using point feature as starting point in desired direction and distance. And I have to draw second line basing the ...
1
vote
1answer
676 views

Converting FeatureLayer to graphics using ArcObjects?

I want to convert a Map or FeatureLayer to graphics on Arcobjects 10.1, Any help or code examples Problem Solved this is the working code: private void Convert_to_graphics( IMapDocument doc) ...
1
vote
1answer
98 views

GxFilterWorkspace allows a folder that is not a IWorkspace or IGxDatabase

I am trying to open a ArcGIS file browser. And For this, I used IGxDialog interface's DoModalOpen method. To specify what the user can select using a GxDialog browser is based on the filters ...
0
votes
2answers
1k views

Unselecting Individual Selected Features using ArcObjects?

In my Add-In built using .NET ArcObjects/C# with Arc 10.0 I would like to be able to programmatically unselect a subset of all selected features gathered through a reference to ...
2
votes
1answer
226 views

Error in Symbol Selector Sample for ArcGIS Engine?

I am stuck at running this ArcGIS Engine Sample code, when I get: COM EXCEPTION WAS UNHANDLED BY THE USER I'm looking for any working example of Symbol Selector. I'm working on XP SP3, ArcGIS ...
3
votes
1answer
202 views

Getting Annotation selection using ArcObjects?

I have annotations stored in mxd document, when I select some annotation, I tried to get the selection through graphics selection, so I always get the rectangle of the dataframe (because I'm working ...
0
votes
1answer
133 views

Problem with deploying addin

I have made a Button addin for ArcMap in Visual Studio 2010, but I don't know how to deploy it. I tried debugging it from ArcMap but nothing happens.
4
votes
1answer
166 views

Create layer from ArcGIS REST URL in ArcObjects using C#

I am trying to create a layer and add it into a MapControl from ArcGIS REST URL. For example I use the following URL ...
0
votes
1answer
318 views

How to call a GP service from ArcObjects in .NET using ArcGIS Engine 10.2?

I published and successfully accessed a GP service in ArcMap 10.2, but I couldn't make it work in my .NET program using ArcObjects 10.2: IGeoProcessor gp = new GeoProcessorClass(); ...
2
votes
1answer
133 views

How to output ActiveView to JPEG image using ArcObjects?

I have an ArcGIS Desktop extension and I need to extract images from the map. How can I programmatically output the active view to a jpeg image?
2
votes
0answers
29 views

Adding Transparent Polygon to Map using ArcObjects?

I am creating an ArcGIS Desktop Add-In that allows the user to draw a polygon and then have it added to the map. I am able to capture the polygon and add it to the map, the issue is the transparency. ...
0
votes
1answer
168 views

Is snapping working when changing from NAD83(decimal degree) to NAD83 Zone UTM 11N(meters)?

I've used the following ESRI snippet to Convert the display extents in Pixels (at the current map scale) and then return out the map units. public System.Double ...
1
vote
1answer
16 views

Where are Object class extension GUIDs stored in Oracle?

Where are the GUIDs for object class and workspace extensions stored in SDE for Oracle? I've looked through GDB.ITEMS but can't seem to find it. I think SQL Server stores it in an .xml column but I ...
4
votes
2answers
406 views

Getting Raster exported from ArcMap into Google Earth (.kmz) with transparency preserved?

RasterLayerExportClass will only create a .png with a single value transparency, however there is a bug in Google earth which prevents this from working. The other export options don't support ...
2
votes
1answer
294 views

Can I update the service on ArcGis Server programmatically?

There is Windows Service. This service adds user raster data to the Raster Dataset in sde database. The Raster Dataset registred on the ArcGis Server. This Raster Dataset also was publishing on ...
0
votes
0answers
377 views

Adding a polygon in ArcGlobe via GraphicsContainer.AddElement

I'm trying to add some data to an ArcGlobe; however, it's not showing up and I'm wondering what the issue is. I am doing the following: IGeometry geometry; Ipolygon polygon = myPolygon; ...
1
vote
3answers
137 views

Debugging ArcMap Add-In .Net 4.5 : Unable to start ArcMap.exe

I am developping an ArcMap 10.3 Add-In targeting .NET framework 4.5 on Visual Studio 2013. I used ESRI's wizard to build a simple button add-in and the projects debug properties are configured to ...
4
votes
4answers
1k views

How to compile an ArcGIS Desktop add-in in Visual Studio 2013

I have several projects made in Visual Studio 2010, those projects are ArcGIS Desktop Add-in's. I have been change of computer, and my new one only have Visual Studio 2013 due to some company politics ...
2
votes
0answers
38 views

Simple data vs non simple data in ArcGIS

I want to enter some data in a feature class with ArcObjects. In my code I use EditSession for that, but in storing data an error returned that says I must use editsession. By researching I found that ...
3
votes
1answer
47 views

What is the C# Arcobject I must use in order to set programatically the SQL Query of an LYR file?

I would like to change programatically the SQL Query of a LYR file. I'm developping in C# using ArcObject. Actually I'm able to get an instance of IWorkspaceFactory from an opened layer with this ...
1
vote
1answer
549 views

Custom Layer not drawing using ArcObjects?

I have a Customer layer which inherits BaseCustomLayer. I add it to my MapControl via addLayer but the function public override void Draw(esriDrawPhase drawPhase, IDisplay Display, ITrackCancel ...
0
votes
0answers
23 views

Mouse Double Click Events

I would like to display a Message Box Dialog when the user activates the -esri selection tool- and double clicks anywhere on the map. or when they doubleclick any feature on the map please note that ...
-1
votes
1answer
814 views

How to learn ArcObjects (.NET, C#) for desktop applications but having only Arcmap desktop license? [closed]

How can I learn .NET and C# for desktop applications having only a desktop license? I want to upgrade myself in the development side so I'm trying to learn this stuff and I'm searching all the ...
4
votes
3answers
683 views

arcobjects update geometry Z values of line vertices with a given number

I am trying to develop arcgis 10.0 addin to update Z values of vertices of a selected line. Scenario: The tool scans all features in a given shape file and populates the list of features which has at ...
1
vote
0answers
10 views

Making feature layer selectable in ArcObjects Java without getting AutomationException 0x80004005?

I am currently making a FeatureLayer from a resultset. The feature layer seems to work properly and will display on the map. However when I choose "select all" on my feature layer I get the ...
1
vote
2answers
33 views

How do I find a layer based on source name using ArcObjects?

I am relatively new at creating tools with ArcObjects and I am having trouble finding a layer based on the layer's source name by looping through all layers. I've seen here that it is possible, but I ...
81
votes
5answers
13k views

How do I access ArcObjects from Python?

I would like to be able to script some things that are not exposed via arcgisscripting or ArcPy. How do I access ArcObjects from Python?
6
votes
2answers
2k views

ArcObjects + comtypes at 10.1 and newer

Has anyone played around with using ArcObjects in Python at version 10.1? I am having all sorts of problems, such as TypeErrors when wrapping the ESRI OLB modules and AttributeErrors when attempting ...
2
votes
1answer
191 views

Create FeatureClass in Personal Geodatabase and store data

I have to create a new featureClass in my existing personal GeoDatabase. And save some polylines into this featureClass. How can i do it? I need c# code to do this. Edit: I have a problem during ...
8
votes
2answers
875 views

With arcpy, how do I detect relationship classes in a file GDB (or can't I)?

I would like to be able to detect relationship classes in a file GDB. Because users of my script might have only an ArcView level license, they would not be able to manipulate the schema of a feature ...
1
vote
0answers
16 views

How to copy new data into shared Geodatabase in ArcGIS for Server using ArcObjects?

How do I need to in order to publish a geodatabase into a server or just to copy new data into the server using ArcGis Server 10.1, ModelBuilder and .NET 2010. Note : I have already a geodatabase ...
4
votes
1answer
281 views

Exporting Featureclass to Shapefile with field names changed using ArcObjects?

I have some annotation feature classes stored in a Pgdb.I want to export them to a shape file.Some field name need too be changed in that shape file.I am using vb .net to do this.Any help is ...
0
votes
0answers
17 views

Running ModelBuilder through .NET does not always created expected geodatabase?

This code is the run a ModelBuilder through C# .NET this ModelBuilder works to convert a (.dwg) autocad file to a geodatabase but the problem is sometimes it works perfect but other times it doesn't ...
0
votes
0answers
14 views

Error Save to FeatureDataset in ArcObject C# [duplicate]

I have a SQL GeoDB in my server. I want to write some data in one of feature dataset and for that i use below method. public string insertdata(string tablename, List<tableRow> fields, string ...
0
votes
0answers
38 views

Referencing ESRI feature class in C#

I would like to reference an existing feature in C# web app. I have a web app written in C# that front-ends a SQL Server database. The app uses non-spatial data in general but some of the objects ...
1
vote
1answer
30 views

Snapping Agent does not work with ArcGIS 10

I'm trying to create snapping agent, I'm using the standard code from ESRI ArcObject Library, this code works perfectly on VB6/ArcGIS 9.3, but not on VB.net (3.5 SDK) and ArcGIS 10. The property ...
3
votes
1answer
3k views

Create centreline from a polygon

I am working on a project to create a centerline from a polygon automatically. The user select a polygon and click a button, the centerline will create for him. I have tried the build-in function ...
1
vote
1answer
42 views

ArcGIS Runtime or ArcObjects - which should I learn to become a GIS Developer? [closed]

I'm a GIS analyst hoping to upgrade to GIS Developer some day. I hope to make this switch for a few reasons: I think I can earn more money as a developer (generally true?). I'm tired of scrubbing ...
3
votes
1answer
656 views

ARCGis LayerToKML Skips Feature Layers and Doesn't Process Layers in Group Layers

I am using ARCGis desktop and have written a quick conversion program to convert my layers to kml but I ran into some issues. It seems the only layers it can process correctly are group layers. ...
1
vote
1answer
307 views

Overlapping Polygons in same feature class using Arcobjects

I have a polygon feature classs with millions of records, I need to find list of overlapping or intersecting polygons in the same feature class, and how to do it efficiently? I need a ESRI ...
5
votes
0answers
189 views

Is it possible to add a command to the ArcMap Find dialog context menu?

I think I already know the answer to this... which is "no", but I wrote this up so I'll ask anyways. Is it possible using ArcObjects to extend/customize the ArcMap Find tool/dialog by adding a ...
1
vote
2answers
38 views

Matching OBJECTID with a value at VBA in Arcmap

I got a building layer. And i got a table that contains 2 fields named SDE_OBJECT_ID and DOOR_NO. This table is not spatial table, it's Oracle table which i can join with my building layer if i want ...
2
votes
1answer
171 views

How do I export circles from ArcObjects to WKB?

I have a small circle in SDE which I'm trying to extract through ArcObjects into well-known-binary (for later import into other systems). Using the IWkb interface I can obtain the WKB, but it comes ...
6
votes
3answers
303 views

Filtering features using geometric attributes of polygons in ArcGIS Desktop?

Given a polygon featureclass containing many polygons of different sizes and shapes, which geometric attributes (area, perimeter, etc) could be used to filter the polygons? It's probably best to ask ...
0
votes
1answer
333 views

How to edit feature in sqlserver geodatabase

I am using arcmap 10.2.1 and arcobject 10.2.1,I just want to conncet to a geodatabase and edit,add,delete a feature from a feature class using arcobject,I tried to connect to database and it works ...
3
votes
1answer
38 views

Get the value/description from a domain or subtype for a given field's value?

I need to get a value from an IObject.Fields.Field using ArcObjects 10.x using the criteria listed below: If the field has a subtype associated with it, I need to get the subtype name/description ...