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)

2
votes
1answer
172 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 ...
1
vote
1answer
631 views

Implementing Custom Selection Tool (Adding to current selection) with ArcObjects?

I am trying to implement a custom selection tool in ArcMap 9.3.1 that is functionally similar to the default ArcMap selection tool with "Adding to current selection" enabled. ie. the user can click to ...
0
votes
0answers
14 views

Arcobjects vb.net stringbuilder

I'm newbie and have question about string builder to show the arcgis layers. (System: ArcGis 10.2, VisualStudio2012) I don't succeed to show the loaded layers in a line of the message box. code: ...
0
votes
1answer
337 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 ...
0
votes
0answers
6 views

How to clear Print Preview using C# window Form and ArcObject? [on hold]

when I setup the second page it override to page 1, how to clear page 1?
1
vote
1answer
331 views

Programmatically creating ArcGIS Image Service and adding it to map using C# / .NET?

How can I programmatically create ArcGIS Image Service and add that service to my MXD file programmatically? I am using C# .Net.
2
votes
1answer
139 views

How to refresh display for newly added labels with ArcObjects

I've added a shapefile to an MXD and Edited the symbolization of it with ArcObjects. Now I'm trying to edit the labeling with ArcObjects. I've successfully been able to edit the default class in the ...
1
vote
1answer
19 views

Unable to load DLL 'ArcGISVersion.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

I recently migrated my desktop from ArcGIS 10.1 to 10.3.1 and visual studio from 2010 to 2013. I am now getting a problem trying to run an Engine application. It builds fine but when I try to debug it ...
0
votes
0answers
17 views

Get clipped polygon area using ArcObject Issue

I try to get clipped Polygon area using ArcObject. Following is my code: var topologicalOperator = routePolyline as ITopologicalOperator; var routeBufferPolygon = ...
0
votes
0answers
6 views

Problem with polygon to multipath creation

Hi i tried convert polygon to multipath in Arcobjects but after converted multipath shape type shown multipath M what is the problem could you please tell me what is the solution for this.
0
votes
3answers
146 views

Arcmap Refresh Button

I am working with ArcMap and C#. In the bottom left hand corner, there is a menu where you can toggle between Data view and Layout View, a Pause button, and a refresh button. I have created an Add-in ...
1
vote
2answers
927 views

Extracting lat/long from screen when using British National Grid projection in ArcGIS Desktop?

Using ArcGIS Desktop 10.0, is it possible to click anywhere on the map (projected to British National Grid), but return the coordinates in WGS84 lat long?
4
votes
1answer
44 views

Zoom to a specific location in ArcMap Viewer window using ArcObjects

I'm trying to find out how to open Viewer window (menu Windows->Viewer in ArcMap) programmatically and zoom it to a specific location. This is how I can open it: IDataWindowFactory dwf = new ...
0
votes
1answer
202 views

Null reference exception was unhandled by user code error from ArcObjects and c#?

I'm new in programming . i'd like to write a simple code that can create offset from a polyline . i wrote the below code but when run the code i encounter to the error " Null reference exception was ...
3
votes
1answer
287 views

How do you determine which dbclient connection property to use for an Oracle SQLWorkspace connection?

I have an Oracle11g database that I connect to via a SQL Workspace; however the actual dbclient string value that works differs depending on machine (and I'm guessing oracle client configuration). On ...
2
votes
0answers
23 views

Setting Field in ArcMap Symbology Properties using ArcObjects?

I am programmatically rendering a feature layer in ArcMap but I can't set the Field property in the Symbology properties form. This results in the layer having the correct render/breaks/legend ...
1
vote
0answers
27 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
1answer
198 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
18 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
18 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
680 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
167 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
321 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
136 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
33 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
22 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
407 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
295 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
150 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
45 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
48 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
550 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
823 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
688 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
11 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
37 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
192 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
886 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
22 views

How to copy new data into shared Geodatabase in ArcGIS for Server using ArcObjects? [on hold]

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 ...