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)

3
votes
1answer
120 views

How to remove a domain from a field using ArcObjects

I need to delete a domain in my database. Since the domain is still associated with a field, I first need to delete the association. After reading the documentation for IWorkspaceDomains.DeleteDomain, ...
2
votes
1answer
97 views

Create geometry from a result of intersection [closed]

Split a polygon in half with an extended line public Ipolygon CreatePolyFromIntersection(Ipolgon polygonA, Ipolygon bounradyThatcontainsPolylgonA, IFeature lmark){ ...
2
votes
2answers
269 views

Why am I unable to enable my addin extension?

I am working on an ArcObjects addin for Desktop 10.1. I am using the SelectionExtension as a template for my addin. I was unable to listen for events through a dockable window, so at others' ...
0
votes
0answers
75 views

Starting ArcGIS 9.3.1 Desktop Development using Visual Studio 2008/2010?

I know VB Language. I am using ArcGis 9.3.1. and want to develop an ArcGis Desktop Development but I don't know how to start it. I have Visual Studio 2008 and 2010 available. ArcObject Add-ins are ...
0
votes
0answers
84 views

error while using idw geoprocessing tools of Arcobjects with java

I am trying to use idw geoprocessing tools to generate a raster file, but it doesn't work fine for me. I have got a input point shapefile named "TrafficMap_Count.shp" which has a WGS84 coordinate ...
2
votes
2answers
93 views

Query Features in Certain Direction

I have a polyline that I would like to query features that are on it's left, right, top, bottom. I am not looking for the features surrounding it but for features that are on a certain location from ...
1
vote
1answer
68 views

Comparison between using VB.net or C# in ArcObjects or ArcGIS Server [closed]

Is there any differences between using VB.net or C# in ArcObjects or ArcGIS Server based projects, in functionalities, samples, Q&A community? Is there any comparison which covers these aspects to ...
0
votes
0answers
42 views

Properties of Spatial Reference

I have a layer in ArcMap. I want to get all spatial reference properties of that layer. How the properties can be accessed through ArcObjects? I am using .Net technologies.
3
votes
0answers
102 views

Listening for edit events through dockable window using ArcObjects?

I am creating a dockable window that allows users to select features of a particular featureclass, iterate through records in the featureclass, populate textboxes with certain attributes, and edit ...
1
vote
1answer
49 views

How do I store a reference to a workspace in a feature?

I have a feature class where each feature needs a reference to a raster in another workspace. Is there some way I can get a string that uniquely identifies any workspace (ArcSDE, personal or file)? ...
-1
votes
2answers
106 views

Changing datasource of a .lyr file results in empty layer with empty symbology (ArcObjects VB.NET)

I'm having a hard time adding my grid to the map and changing its symbology with an existing lyr file. I have found a great post by Neil Clemmons that explains this, but it doesn't work for me. I ...
0
votes
1answer
115 views

C++ code and ArcGIS Button [closed]

I have some code in c++ that used gdal and process raster and create an output raster. I want to create a button in ArcGIS Desktop (using ArcObjects SDK 10.2 c#) and pass the raster layer to my c++ ...
2
votes
2answers
110 views

Proper way to check if a Factory Code is Projected or Geographic

I would like to create a SpatialReference with ArcObjects, but I won't know whether it is Projected or Geographic, I'll only have the SRID. Is it fine practice to use ...
0
votes
0answers
52 views

ArcObjects - Interacting with existing ArcGIS Server layer

I have a bunch of users running a 10.2.1 VB.Net extension, which assumes they have a particular MXD loaded. That MXD contains an existing ArcGIS Server layer (ie. not added programmatically by the ...
2
votes
1answer
72 views

Filtering Layers based on types in ArcGIS

I want to loop through all the layers in TOC in ArcGIS and report Raster and Vector Layers. I want to see how many layer are raster and how many are vector. I can access the layers using: IEnumLayer ...
3
votes
0answers
101 views

ITopologicalOperator2 operation Simplify taking very long in ArcGIS 10.3.1

I have a method that does a simplification of geometries. I have used this common code since ArGIS 9.2 without issues and it still works fine in ArGIS 10.2.2. Recently I upgraded a project to 10.3.1 ...
5
votes
2answers
141 views

Polygon points to Polyline

I am trying to create a polyline from the points that I query from a polygon. I have a polygon, and I am getting its edges, casting them to segments, and then use QueryNormal to get the mid point ...
4
votes
2answers
104 views

IRasterLayer background transparency in C++ with ArcObjects 10.x .NET

I have a georeferenced IRasterLayer which is displaying data from a PPM file with no alpha channel. I am trying to specify a color which should be treated as transparent. In ArcMap it is possible to ...
0
votes
1answer
71 views

This operation is not allowed while editing error

When I tried to delete a feature, I got :This operation is not allowed while editing" error when I wanted to refresh version. The related code is: 'Start Editing Operation ...
2
votes
0answers
204 views

How can I get domain values associated with a field using ArcObjects?

I am trying to access the domain of a selected feature. I have seen examples for VB.NET and C#.NET, but I cannot access the domain of a specified field. Dim findName As String = Nothing Dim ...
2
votes
1answer
165 views

Standalone program can see license

I used standart license initialization code in C# standalone program. It was working perfectly on 10.1 and 10.2. But after migrating to 10.3 it says Licenses are not available. Meanwhile ArcMap and ...
2
votes
1answer
34 views

.net arcobjects delete point feature by one of the attribute value

What I want is to delete a feature by objectID, currently I have got the objectID of the related feature, but I have no idea how to delete the feature, can anybody give me some advice? The ...
2
votes
2answers
274 views

How to create installer for ArcObjects applications in VS 2012

After Visual studio 2010, the extremely useful "Setup And Deployment" project have been removed from visual studio. And MS have packed it with a rather lousy InstallShield LE(LIMITED edition). You ...
-1
votes
1answer
86 views

Spatial checking for 2 polygons intersect in ArcObjects? [closed]

I want to check source building intersect with target building (source buildings 150000 & target buildings 150000) this is very heavy data. i have use(Spatial ...
2
votes
0answers
23 views

Catching data frame caption changed event

Is there a way in ArcObjects to catch the event that the data frame's caption has been changed or a layer's caption has been changed?
1
vote
2answers
56 views

Changing Layer Color

I have a map with many feature classes on it. I want to use arcobjects to get to a selected layer (aka one of the feature classes) on the map, and change the fill color of all the polygons within that ...
2
votes
0answers
73 views

How do I persist an ArcObjects workspace?

In a custom layer I have a workspace variable (File GDB or SDE) that I need to persist (save/load). Therefore I need to persist the ConnectionProperties of the workspace. Thankfully ...
1
vote
0answers
102 views

Memory leak updating geometry - ArcGis Runtime .Net

i'm working with ArcGis Runtime SDK for .Net v10.2.5. I have an UDP socket listening and waiting for image data that fires a function executed on a different thread in background. I want to draw ...
0
votes
0answers
39 views

ORG_ Tables After Replication

I am performing a an import on replica data using ArcObjects. Everything seems perfect - I am using one way Parent to Child with archiving enabled and I am using a disconnected approach (import XML ...
0
votes
1answer
30 views

Updating and interacting with map layers through a windows form

Using arcobjects I am attempting to connect a windows form with a checkedlistbox, to the layers that I have on my map in ArcGIS. When I first create my form, the list of checkboxes will automatically ...
2
votes
1answer
347 views

Programmatically get Layer source properties DataType with ArcObjects?

I am trying to access the DataType property of a Layer in the TOC in ArcMap. The layer is added from a web service as an IMapServerRESTLayer. The Data Type property is listed with Layer -> ...
1
vote
1answer
105 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 ...
3
votes
1answer
99 views

How to sort attribute table using ArcObjects/VBA code?

I'm using ArcMap 9.3. Shift the rows order display (ascending/descending) for a given field is as simple as double clicking on the screen. However I'd like to know how to perform this simple ...
0
votes
1answer
47 views

How to use an array for buffer

I want to to use an array to create 3 buffer files with different buffer distances. The code should produce 3 buffer files in one step. Additionally, the code below runs already after using an ArcGIS ...
2
votes
0answers
90 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 ...
0
votes
1answer
121 views

vb.net arcobjects - show fieldname

I try to show the field names (alias names) of a feature class. I found code snippet but I don't succeed to get it to run :( Can somebody tell me please what is wrong in the code? (System: Arcgis ...
0
votes
1answer
52 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: ...
2
votes
1answer
1k 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 ...
4
votes
1answer
124 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 ...
6
votes
0answers
173 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
86 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
56 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
139 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 ...
2
votes
0answers
46 views

Adding Transparent Polygon to Map using ArcObjects? [duplicate]

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
115 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
vote
2answers
83 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 ...
1
vote
0answers
39 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 ...
2
votes
2answers
144 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 ...
0
votes
0answers
41 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 ...
3
votes
0answers
225 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 ...