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)

1
vote
1answer
6 views

Get the coordinates of the snapped and clicked point in ArcGIS Engine

I am developing an ArcGIS Engine program. I am using the code below to activate snapping to a layer programmatically. I want to get the coordinates of the snapped point (clicked point). I know I must ...
2
votes
1answer
21 views

Having trouble overwriting raster layers default property sheet

I need to Override the Property Sheet Dialog to display a custom property sheet that has a custom GUI built to analyse raster data based on transformed values. Alternatively, if I can access the ...
0
votes
0answers
14 views

Compare Street File to Annotation [on hold]

I am creating a mapbook using data driven pages. In the mapbook I have a street shapefile with a field for streetnames. I also have an annotation file with the street name labels. I want to make ...
0
votes
0answers
9 views

arcgis VB script to create table [on hold]

I am trying to find a VB script to create a table set up like the following: What is the best way to set up my csv and begin coding this?
2
votes
0answers
32 views

ArcMap Polyline Renders Incorrectly Unless Project Reloaded

I am trying to get a graphic polyline to render over top of an imported shape file. I'm using C# with ArcMap 10.2.2. The issue I'm having is that the first time the polyline is created, it merely ...
2
votes
1answer
26 views

Arcobjects Assign projection transformation to layer file in VB.net

I want to be able to transform a layer from WGS1984 to OSGB1936. I created a tool that extracts layers from several folders on our company network folders, using check boxes that user clicks. One of ...
1
vote
1answer
34 views

The type 'ESRI.ArcGIS.Geodatabase.WorkspaceClass' has no constructors defined

I am using a map application (ArcGIS Engine). I am trying to start an edit session and i want to use IWorkSpace interface in the WorkSpaceClass. but i am getting "The type ...
0
votes
1answer
31 views

arcobjects 10.3.1 c#: Loading Addins programmatically

I am writing addins in C#, and am trying to load an addin. I thought i had the solution, but it seems like the full code is not loaded. The button is added to my toolbar, and code seems to run, too ...
2
votes
1answer
19 views

Spatial relationships that do not match

All, I have 2 layers as shown below What I want to do is go through each feature (in pink) and do a spatial filter against the green layer. My current code is inMemFeatCur = ...
0
votes
1answer
26 views

TopoToRaster Tool Execute problem in ArcGIS

I am trying to execute TopoToRaster tool (ArcToolbox>3D Aanalyst Tool>Raster Interpolation>Topo To Raster) in arcGis 10.0 with .NET. Topo to Raster Input But get exceptions. My code is here : ...
1
vote
1answer
51 views

Area of Interest of focus map in ArcObjects. [closed]

I want to change the extent (area of interest of the view of the focus map) to the bounding box of the selected features. I use the code below ( I wrote lots of classes for my project and i'm using ...
1
vote
1answer
27 views

Remove feature class from group layer in C#

I have a large program that pulls in various group layers and feature classes. What I am trying to do is check each feature class within a specific group layer that is empty. The count part is easy ...
2
votes
0answers
29 views

How can I get representation geometry created by rules (not manually overrided) using arcobjects.net?

I have feature class with representation rules and now need to extract representation geometry from selected features. If representation geometry is manually overrided, I can get it just using ...
8
votes
1answer
132 views

In ArcMap, use python to disable “Scale map elements proportionally to changes in page size”

I am changing sources on MXDs in differents offices using ArcPy and ArcGIS 10.0. As observed here, the printer settings revert to the default printer when the instruction mxd.save() is sent. Losing ...
0
votes
0answers
22 views

Check if feature class has at least 1 shape that overlaps raster

In ArcGIS 10.3.1 ArcObjects, Zonal Statistics As Table throws ERROR 999999: Error executing function. when the input feature class has no features that intersect the input raster (as nearly as I can ...
2
votes
2answers
53 views

ESRI forms using hooks

This has been bugging me for a while. I can easily call a form from a button using ShowDialog() if I use standard vb.net windows form. However when I use the ESRI addin dockable window which uses ...
2
votes
0answers
52 views

“Geometry cannot have Z values” exception in ArcGIS Engine

I'm trying to put a list of point features (selected points) into a new FeatureClass. but when I add them to my FeatureClass I get the "Geometry cannot have Z values." exception on the line ...
2
votes
1answer
45 views

Getting point from known points to specific distance of polyline using ArcObjects?

I want to know the coordinates of a polyline from specific point and distance. I have attached image to clear the specification. say, I have a points B(2,3). I want to know the coordinates of A and C ...
2
votes
1answer
45 views

Putting features (IFeature) into ifeatureclass with ArcGIS Engine?

I am trying to get the selected features from axMapControl and put them in a new feature class. I can get the selected features but when i'm trying to put them in a IFeatureClass and then cast it as ...
0
votes
2answers
34 views

How can I set Changed flag in ArcMap using ArcObjects.NET?

In my task I changes representation geometry in selected features. When I edits something in ArcMap manually, question dialog about saving changes causes: Editor - Start editing Edit geometry Editor ...
3
votes
1answer
47 views

Passing in complex parameters to geoprocessing tool?

I'm currently using the Statistics geoprocessing tool (called Summary Statistics in the UI) from ArcObjects. This tool accepts two "complex" (for lack of a better term) arguments: Case fields ...
4
votes
1answer
46 views

Can I compile an addin developed in ArcGIS 10.3.1 for use with 10.1 and 10.2?

I made an update to one of my addins mainly because users requested new features. I made the changes and compiled the addin in 10.3.1. Although I specified that the addin is compatible with 10.3 and ...
1
vote
1answer
33 views

Exporting a raster with renderer enabled to file

I have a problem when trying to export a layer with renderer to a file. Basically, what I have at start is a correct IRasterDataset. Then I define a stretch renderer in form of IMultiPortColorRamp and ...
2
votes
1answer
50 views

x, y to decimal degrees on mouse click in ArcObjects?

I am converting an old VBA code I used to use in ArcMap 9.2, into VB.NET for ArcMap 10. It should extract x, y coordinates from OSGB and converts to decimal degrees while copying to clipboard. I ...
3
votes
2answers
44 views

Fetching single value without Cursor in ArcObjects?

I used the below function to get the single value using ArcObjects. private string getApproverAlias(string checklistId, bool isDeleted) { string approverAlias = ""; var masterTable = ...
1
vote
1answer
23 views

exporting 10.2 .esriaddin to 10.0

I have successfully exported .esriaddin I created in 10.2 Arcobjects SDK to 10.0. The installation succeeded but the problem I am having is that whenever I use the command me.Close() to close the form ...
4
votes
1answer
80 views

Python and ArcObjects- Stand Alone open MXD

I wrote a Python function using comtypes to access ArcObjects to programmatically change the size of layer symbols in an MXD. The function works great in the Python window of ArcMap. However, I need ...
2
votes
1answer
49 views

How can I access system tables using ArcObjects

I have a case to get the maximum of year value from the table schema in GeoDatabase. More detail: I have a table named SUPPLYMASTER it contains the columns like Supply2000, Supply2001, Supply2002, ...
2
votes
1answer
22 views

How to extract points off a polyline at certain distances using ArcObjects using VB.Net

I am trying to extract longitude and latitude of points from a polyline shapefile at certain intervals(10-50m). Using ArcGIS I was able to do using Densify followed by Feature Vertices to Points in ...
1
vote
1answer
55 views

Arcobjects vb.net forms in Arcmap 10.0

I am trying to create a basic form using ArcObjects (Vb.NET) to view in Arcmap 10.0. I have created the form using the designer but cant view it in Arcmap. I have created a button that will call the ...
2
votes
1answer
25 views

How do you start a Toolbox tool from ArcObjects?

I want to put a couple of toolbox Tools onto an AddIn toolbar. I tried to reference the ProgIDs in the toolbar section of the Config.esriaddinx, but that didn't work (only saw blank spaces where the ...
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 ...
8
votes
1answer
81 views

ArcObjects with Left Join

I'm expecting an ArcObjects code which is equivalent to SQL left join. For example: I have the below SQL code, it's simple join to fetch the records from the both tables based on the ChecklistId ...
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 ...
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, ...
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 ...
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 ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
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
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 ...
1
vote
1answer
30 views

Arcobjects ConstructBuffers produces Error -2147220889?

I use the Esri-function ConstructBuffers in my arcobjects program. The call of this method produces a Error with code -2147220889. Looking up the error constants it says: ...
0
votes
0answers
10 views

Arcobjects java samples AutomationException: 0x80040112

Been trying to run arcgis java samples through eclipse on Win7x64 machine. I am using JRE provided in developer kit. All the samples fail at below code if ...
0
votes
1answer
30 views

Shapefile location change repair. HResult E_FAIL

I'm working on a ArcMap plugin using ArcObjects that will change the location of a shapefile that is broken. However, I'm getting HResult Error E_Fail whenever I try opening the feataure class. This ...