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
40 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
66 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
116 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 ...
3
votes
0answers
31 views

ArcGIS Server Object Extensions: how do I deploy extra .dll's?

I am developing an ArcGIS Server Object Extensions in C# that makes calls into a C++ .dll. How do I add this .dll to deployment? By that I mean that I want it included in the .soe.
2
votes
2answers
67 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
52 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
80 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
71 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 ...
-1
votes
1answer
52 views

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

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
74 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
24 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
55 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
54 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
44 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
97 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
42 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
42 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
35 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
40 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
46 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
43 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 ...
1
vote
0answers
32 views

Using SET methods when feature classes setup in GDB using python, comtypes, ArcObjects?

from snippetarcgis102 import CreateMXD,CType,NewObj import snippetarcgis102 import os snippetarcgis102.GetStandaloneModules() snippetarcgis102.InitStandalone() import comtypes.gen.esriCarto as ...
0
votes
0answers
26 views

Geometry Location In Respect To Another Geometry

I am trying to figure out where a geometry is residing in respect to another geometry. My Image explains things better, I have Square nodes A, and B. and I have circle Child nodes X, and Y. I have all ...
1
vote
0answers
43 views

Save Edit destroys the Sketch Tool

I have edit tool(s) in ArcObjects (ArcGIS10.3). The first tool is "Create a new Polygon' and following is the code: Note: mpEditor is class member and Project is in Edit Mode private void ...
0
votes
0answers
32 views

Set alias for subfields when performing query

As mentioned within the ESRI-docs we can set an Alias for the subfields of an SQL-query performed onto a file-geodatabase as follows: IQueryDef2 filter = (IQueryDef2) ...
1
vote
0answers
87 views

Releasing all schema locks in ArcGIS GDB

We use ArcGIS 10.3 products (Server, Desktop) with Oracle database. Our problem is we can not make any schema changes because of shared schema locks unless we stop all services and kill all database ...
0
votes
0answers
40 views

Get geographic coordinate system for its projected coordinate system in ArcObjects.NET

I have geometry in PCS, that must be convert to GCS, while PCS is projection of GCS. How can I get ISpatialReference for PCS's parent using ArcObjects.NET?
2
votes
1answer
123 views

How to find a point with highest elevation in area using ArcObjects

Is there a way to find a point with highest elevation in specified area by using ArcObjects? Let's say that I have a raster with DEM and I would like to establish some areas of interest in this ...
1
vote
0answers
15 views

IRasterLayerExport3 doesn't save raster until ArcMap closes [closed]

I'm trying to export raster using IRasterLayerExport3, but it saves raster file only after closing ArcMap. It seams that IRasterLayerExport3 creates placeholders for raster (empty file - 3kb), and it ...
0
votes
2answers
77 views

Any extention Open File Dialog

GetOpenFilename doesn't work in arcobjects VBA, so I have to use pGxDialog. Standard pGxDialog doesn't let to open any file I want, a few extentions are available only (shp, dxf, xls...). Maybe, I ...
0
votes
0answers
37 views

Problem with Viewshed analysis in ArcObjects

I want to execute the Visibility Analysis Tool using ArcObjects 10.3. I tested the tool in ArcMap and it works great with the test data I provided, hence it should work as well in ArcObjects code. The ...
1
vote
1answer
32 views

IfeatureLayer.search() second time return error

I have the following method in my code and have a button that when clicked run this code. In the first click all of code runs without error. but in second run I receive an error on line: ...
1
vote
2answers
49 views

How to get the Features of FeatureCursor?

I am unsure how to correctly use IFeatureCursor.NextFeature method. I've selected a few features: I need to assigne the selected features into few pFeature variables (pFeature1, pFeature2, ...
4
votes
1answer
85 views

Cannot correctly iterate IFeatureCursor (calling ArcObjects from Python)

I have started recently using some of the ArcObjects inside my Python modules. Having all the useful posts and insights shared by @matt wilkie et al, I was able to get started pretty quickly ...
0
votes
0answers
17 views

How to add image to Globe using ArcObjects

I'm using ArcObjects 10.3 .NET. I need to programmatically add .jpg image to Globe. Image is not georeferenced, but I have four points for bounding polygon (not rectangle). What I need to do is ...
1
vote
2answers
50 views

How to get the geometry type FIELD value of attribute table?

The problem is: I need to copy every cell's value of attribute table of some feature to string array. I do it by assigning cell's value to string variable StrBuf one by one. To check the result the ...
1
vote
0answers
50 views

Scale Selection Symbols with Reference Scale using ArcGIS Engine?

With an ArcGIS Engine application, I am trying to figure out how to have the Selected Symbols scale with reference scale when selected using ArcObjects. They are currently not scaling correctly in ...
0
votes
0answers
17 views

How to Install ArcObjects? [duplicate]

I'm looking to install ArcObjects so I can write an ArcMap add-in in .Net. Where can I find a download for ArcObjects?
1
vote
1answer
18 views

How to Use IWorkspaceFactoryLockControl in Java

I have tried to convert the interface but failed. IWorkspaceFactory2 pWorkspaceFactory; pWorkspaceFactory = new CadWorkspaceFactory(); ipWsFactoryLock = ...
2
votes
0answers
103 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 ...
1
vote
2answers
117 views

Spatial Query between polyline features and point features within specified Buffer

I'm new to GIS (so I'm lost on this) and looking for a C# code sample to help me do 2 types of spatial queries. I have 2 Layers only. First layer is pipelines, which are polyline shapes so I can ...
0
votes
1answer
108 views

Add Layers to Arcmap 10 Crashes

Would anyone know the reason why this happens? and possibly a way to fix it. I am stumped In the following code. The first addlayer works, but crashes on the second addlayer with a 'vshost32.exe has ...
0
votes
2answers
158 views

Merging features into single programmatically

I have a shapefile with polygons. I can merge them manually by going into edit session and, selecting a some features to be merged, and then using merge button under Editor. How to do this ...
1
vote
0answers
68 views

How to Get ArcFM Session name

I need some information about session name getting. i am working on ArcMAP VBA with ArcFM database i have create some validation tools on this data. i provide error report with validation name but ...
4
votes
2answers
72 views

Is there a LINQ-provider for GeoDatabase

I want to query my ArcSDE geodatabase using LINQ but I don´t know if there is an ESRI-provider that may also read geometries and which is able to handle archiving as well. Thus I´d like to read data ...
0
votes
0answers
53 views

How to find NetworkAnalysis extension with ArcObjects?

I'm using ArcGIS 10.0 My code: IAoInitialize init = new AoInitializeClass(); var a= ...
0
votes
0answers
38 views

Finding nearest point on polygon if layer has more than one polygon using ArcMap AddIn?

I am developing an application using ArcGIS .net add-in. An application generates some maps based on point and polygon datasets. In that, I am able to find the polygons within the search distance. ...
0
votes
1answer
49 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 ...
0
votes
1answer
53 views

Capturing an event On Sketch Finish in ArcObjects

I am using IEditEvents_Event and IEditor. I invoked the GarciaUI_CreateNewFeatureTask and used: pID.Value = "esriEditor.SketchTool"; pCommandItem = pCommandBars.Find(pID); if (pCommandItem != null) { ...
1
vote
2answers
99 views

Unable to open IWorkspace using IWorkspaceFactory with operating system authentication

I'm trying to open a workspace from the IWorkspaceFactory interface. Here's what I'm trying at the moment: ESRI.ArcGIS.Carto.IFeatureLayer featureLayer = (ESRI.ArcGIS.Carto.IFeatureLayer)pLayer; ...