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
1answer
43 views

Downloading ArcObjects SDK? [duplicate]

I am working in a navigation company, and they have purchased server license for hundreds of computers, but ArcObjects is not installed in any of the system. So I need a loose copy of ArcObjects SDK ...
2
votes
2answers
1k views

How to get all OIDs from a table?

I have table which I need to get all the OID's from it. I tried this code : List<int> OIDList = new List<int>(); IQueryFilter queryFilter = new QueryFilterClass(); queryFilter.SubFields ...
1
vote
1answer
464 views

Join and Calculate vb.net

Im trying to join an excel table to a shapefile and then calculating those fields using vb.net. The code I have written has no errors, but won't work when I try it in ArcGIS 10.1 and I'm out of ideas. ...
4
votes
2answers
2k views

Quickly getting all symbols for feature layer with ArcObjects?

I have a FeatureLayer and I want to enumerate all the symbols used in it. Simple way - it is to call SymbolByFeature for each features. Something approximately likes: Dim l as IFeatureLayer Dim c as ...
2
votes
0answers
64 views

ArcGIS .Net GP tools debug

I'm developing a GP Tool with .Net ArcObjects SDK. I would like to debug my GP tool but I haven't figured how. I have tried to enable background processing in Geoprocessing Options and attach ...
2
votes
2answers
46 views

Feature Geometry/shape changed event in arcObjects

I have a feature class(polyline). there are 5 features in the feature class. I want to get notification when user changed property any of feature of feature class. How it can be achieved ? I am using ...
1
vote
0answers
37 views

Copying new data into shared Geodatabase in ArcGIS for Server using ArcObjects? [closed]

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 ...
5
votes
1answer
249 views

Reading an Existing Join

Confused again. I was finally able to run ArcCatalog and create a join in my map document (I will do the deed programmatically eventually) but I was interested in how a join looked once it was ...
4
votes
5answers
2k 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
1answer
49 views

Arcobjects 10.3 C#: How to re activate the datasource of an ILayer, in memory

I captured (stopped) a Layer (featureclass) from being deleted from the Table of contents of arcmap. When i re-add it back, the datasource is broken. (See question :Using ArcObjects to stop items ...
3
votes
1answer
26 views

Do I need to explicitly release extension licenses?

I'm writing an application using ArcObjects. I initial the license with code similar to this: var extensionCodes = new[] { esriLicenseExtensionCode.esriLicenseExtensionCodeNetwork, ...
0
votes
1answer
27 views

Copy database file (.sdf) to User Folder for Extension?

I am developing an extension for ArcGIS 10.3 using ArcObjects in c# and it uses a database (.sdf). I want to setup the extension in such a way that when extension is installed (it is ArcGIS AddIn), it ...
3
votes
1answer
1k views

How to edit a given version of geodatabase?

I have a versioned geodatabase. Any of that versions are used only by one user. So then user called "XXX" has a version called "XXX". So then now I want to make a changes on given version, but when I ...
4
votes
1answer
411 views

Importing external bookmark (*.dat) file using ArcGIS Engine?

Does anyone know how to use ArcObjects (specifically ArcGIS Engine for me) to import a bookmark (saved as a .dat) that was created and saved externally using ArcMap? I have an ArcGIS Engine ...
2
votes
1answer
52 views

Using ArcObjects to stop items from being deleted from Table of Contents?

I am using ArcObjects in a C# addin with ArcGIS 10.3.1 for Desktop. I'm trying to stop a user from removing certain layers from the Table of contents. I have my listeners setup for ...
0
votes
0answers
31 views

Extend line to specific distance or a line

I want to extend my polyline to a given distance. How can I do this. I have attached image to clear my specification. I am using .net in ArcMap . I am also using python in the image, I want to ...
4
votes
1answer
304 views

Closing MeasureTool Window

I'm activating the built in ArcGIS measure tool using the following code: ControlsMapMeasureTool measureTool = new ControlsMapMeasureToolClass(); measureTool.OnCreate(_axMapControl.Object); // set ...
3
votes
1answer
907 views

Getting z-Value from xy-Values within IPolygon using ArcObjects?

How can I get the z-Value of given xy-Values within an IPolygon? I have an IPolygon, which is zAware. For given xy-Values I want to get the z-Value of the Polygon-Shape. What I want to do is ...
2
votes
2answers
60 views

Arcobjects 10.3.1: TOC listeners

I am writting an addin using ArcObjects C#. I have setup the following listeners, but they are not being hit. My code at the top of the addin.Extension class is: ... private static ...
3
votes
0answers
48 views

LasDatasetToRaster does nothing to the Raster Layer

I have been trying to figure out how to clip and rasterize a LiDAR map file programmatically (Not through arcpy) I use C# but read many languages. So far I have been able to access and assign the LASD ...
4
votes
1answer
881 views

Visual Basic editor command icon is always disabled

I recently installed ArcGIS 9.3 in a PC with Windows 7.0. I opened an existing mxd file within which I developed some toolbars for a project. Each icon of a toolbar has behind it a VBA and ArcObjects ...
5
votes
2answers
416 views

Enabling MapTips in ArcGIS Engine using ArcObjects?

My organization is working on a new version of our software using ArcGIS Engine 10. Previous versions of the software (running on ArcGIS Engine 9.3) displayed MapTips fine as long as they were enabled ...
4
votes
2answers
2k views

Creating report from selected features in ArcMap using AddIn and C#?

I am new to ArcGIS and I am trying to create an Add-In button which can figure out which polygons are selected and query the selected polygons to generate a report on the underlying metadata ...
3
votes
2answers
3k views

Labeling Selected Features Only using ArcGIS Engine?

I've been labeling using the LabelEngine and simple expressions and it is working for every layer. I want to offer the option of labeling only selected features and thought it would be this simple: ...
4
votes
1answer
124 views

IGlobeGraphicsLayer not updating in separate thread?

I'm currently using ArcGlobe to create a Polygon on a globe. Using examples I've found through arcgis.com I can now allow the user to click on the globe and create a polygon on the map. This works ...
4
votes
2answers
2k views

How to update geometry in ArcObjects?

I'm just starting with ArcObjects and I want to update coordinates of geometry vertices. Specifically, I want to swap X, Y coordinates for each vertex of polygons (which can be multipart and have ...
4
votes
1answer
2k views

Running VB scripts in ArcGIS Desktop?

Some questions about VB scripts: Can I read and modify the code of a VB script? If the answer is yes, how can I do it? How can I run a VB script? Can I use it as a VBA code eg.using variables ...
4
votes
2answers
1k views

ArcObjects VB.Net - Editing in Geodatabase

I have a script in VB.Net for grabbing values from one feature and assigning them to another. It works fine on shapefiles, but upon importing the same shapefiles into a file geodatabase, I get an ...
4
votes
3answers
264 views

Getting Country from GeoFeatureLayer using ArcObjects?

I'm currently using ArcGIS and I'm trying to create a basic application where I can click on a country and then get back information such as the shape, size, etc. I've looked at the code snippets and ...
4
votes
2answers
281 views

Determining if feature is editable using ArcObjects?

I am using the FocusMap.FeatureSelection to return all the currently selected features. I want to process only the currently editable features and leave the remainder alone. How can I quickly ...
2
votes
0answers
21 views

TOC layer symbol changed EVENTS in ArcMap

I want to do something when user changes one of TOC layer's symbol. I am using .NET in arcMap 10.0 . How can it possible with arcobjects ? Please , help. Specially I want to know, Is there any events ...
1
vote
0answers
30 views

Arcobjects event on featurelayer symbology change

I am working on an Java AddIn project for ArcMap. I need to find the event when user changes the symbology for a layer added in TOC. So far my best bet is to useIActiveViewEvents class on map, and ...
1
vote
1answer
84 views

Using AddDataDialog in standalone ArcObjects/C# application?

I need some help with showing an "AddDataDialog" in a C# standalone application to select some feature classes from inside a file-geodatabase. Whatever I try, it ends up with an Exception which makes ...
18
votes
10answers
5k views

Getting started with ArcObjects?

What is the best route or place to get started with ArcObjects if one is not a developer and not aiming to become a developer? I've been using gis professionally for a long time, almost two decades, ...
1
vote
1answer
32 views

GUID to open Geoprocessing Enviroment Settings Window through C#?

I am trying to let the user click the enviroment button at the bottom of my custom form and have the Enviroment Window Pop Up. I cannot seem to locate the Enviroment Settings Window GUID anywhere? ...
2
votes
0answers
54 views

Creating Checkout Replica in ArcObjects (from ArcSDE geodatabse to file geodatabase)?

I'm trying to create a checkout replica of some feature classes from an ArcSDE geodatabase to a file geodatabase using ArcObjects. I'm trying to follow this: How to create a replica in a connected ...
2
votes
2answers
2k views

Collapsing layers in ArcMap Table of Contents using ArcObjects?

I'm stuck on how to collapse all layers in my ArcMap projects (9.3). I've tried a few bits of sample code, but they all seem to fail for some reason or other. Some of the layers might be grouped, and ...
5
votes
1answer
1k views

Changing the attribute behind a legend without changing the symbology

I have a geology layer with a very large legend that was painstakingly created based on a geological code. I now have a new attribute which is a friendly description for each code and I would like ...
4
votes
1answer
1k views

Creating adjacency matrix of topology graph of ArcMap for shortest path using ArcObjects? [closed]

I have created a topology graph of a polygon feature and I want to find the individual FIDS of the lines of the polygon. I want to construct an adjacency matrix to create the shortest path. How can I ...
5
votes
1answer
2k views

Reset Object ID After Truncating Table In SQL Server

I am working on a program to export data from a view containing a geometry type in Sql Server 2008, to an ArcSDE table on another server which also stores data using the geometry type. The source ...
1
vote
0answers
52 views

How to rearrange FID numeration programmatically

I've got a feature class Now, I delete the selected features programmatically using pFeature.Delete : Is there any command or function in VBA which rearranges the FID field and makes the ...
5
votes
2answers
290 views

Zoom Commands as Mouse Gestures

Is it possible to use the zoom in, zoom out, and previous extent functions as mouse gestures in ArcMap? For example, say a user held down LShift then left click and dragged diagonally to the lower ...
5
votes
4answers
380 views

Creating universal ArcGIS 'Current tool' property?

I have a base tool class which handles 90% of my custom logic, but some tools need to set themselves as the current tool. The operations between ArcGIS Engine's IToolbarControl and ArcGIS Desktop's ...
0
votes
0answers
36 views

Maplex labeling don't work?

I have a problem with the application of Maplex label, I use arcobjects with VB.net This is code, gives no error but it appears just standard labels. Public Sub Show_MaplexLabel(ByVal ...
1
vote
1answer
41 views

Can't fill the attribute table programmatically

I've got a shp-file, here is it's attribute table: It's easy to fill the attribute table of some pFeature programmatically if I get the feature from cursor: For example, "RECNO" Field(3) has a ...
5
votes
2answers
587 views

IExtension.Startup() not launching when ArcMap starts?

I have an ArcGIS 10 extension that will not launch .Startup() when ArcMap loads. I can get it to hit when I go to Customize->Extensions and un-check/re-check the extension name. Is there a setting ...
5
votes
1answer
236 views

When a class in an ArcGIS extension should be an ArcGIS class

Visual Studio templates provided by the ArcGIS SDK offer a "ArcGIS Class" which is a simple C# class that has the attributes Guid, ClassInterface, and ProgId before the class declaration. While adding ...
2
votes
1answer
28 views

Accessing array of values(height, intensity) associated with raster from ArcObjects without looping?

I am trying to access the array of point values(mainly height and intensity) from a raster through C# without looping through values. I am looking for a direct pointer to the array of values inside of ...
1
vote
1answer
33 views

Get FeatureDataSet of a invalid FeatureClass

I have a project that repairs broken datasources. One goal of the project is to add the datasource of a featuredataset to repair any broken feature classes. However, so far the only way I've seen to ...
0
votes
1answer
32 views

Finding whether point on polygon or not in ArcGIS VB.NET?

I am working on GIS application. I am trying to find whether a point is located within a polygon or not. I have written a piece of code for this using Relational operator but the Contains() method of ...