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
votes
0answers
20 views

C++ code and ArcGIS Button

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++ ...
0
votes
1answer
25 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
9 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
22 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 ...
2
votes
0answers
31 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 ...
3
votes
1answer
41 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
0answers
22 views

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

I have a georeferenced IRasterLayer which is displaying data with no alpha channel. I am trying to specify a color which should be treated as transparent. In ArcMap it is possible to set a specific ...
0
votes
1answer
19 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
21 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
34 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
17 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
78 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 ...
0
votes
1answer
24 views

Spatial checking for 2 polygons intersect in ArcObjects

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
15 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?
0
votes
2answers
19 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
51 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
22 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
16 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
20 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
35 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 > Properties > ...
0
votes
1answer
23 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
38 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
20 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 ...
1
vote
0answers
28 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 process ...
0
votes
1answer
37 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
35 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
0answers
9 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.
1
vote
1answer
63 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
52 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 ...
3
votes
0answers
49 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
43 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
22 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
39 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
42 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
0answers
36 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
1answer
34 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
25 views

How to copy 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 ...
1
vote
2answers
47 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
21 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 ...
2
votes
0answers
49 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 ...
0
votes
0answers
14 views

Error Save to FeatureDataset in ArcObject C# [duplicate]

I have a SQL GeoDB in my server. I want to write some data in one of feature dataset and for that i use below method. public string insertdata(string tablename, List<tableRow> fields, string ...
0
votes
0answers
47 views

Referencing ESRI feature class in C#

I would like to reference an existing feature in C# web app. I have a web app written in C# that front-ends a SQL Server database. The app uses non-spatial data in general but some of the objects ...
1
vote
1answer
39 views

Snapping Agent does not work with ArcGIS 10

I'm trying to create snapping agent, I'm using the standard code from ESRI ArcObject Library, this code works perfectly on VB6/ArcGIS 9.3, but not on VB.net (3.5 SDK) and ArcGIS 10. The property ...
1
vote
1answer
56 views

ArcGIS Runtime or ArcObjects - which should I learn to become a GIS Developer? [closed]

I'm a GIS analyst hoping to upgrade to GIS Developer some day. I hope to make this switch for a few reasons: I think I can earn more money as a developer (generally true?). I'm tired of scrubbing ...
1
vote
2answers
45 views

Matching OBJECTID with a value at VBA in Arcmap

I got a building layer. And i got a table that contains 2 fields named SDE_OBJECT_ID and DOOR_NO. This table is not spatial table, it's Oracle table which i can join with my building layer if i want ...
4
votes
1answer
68 views

Get the value/description from a domain or subtype for a given field's value?

I need to get a value from an IObject.Fields.Field using ArcObjects 10.x using the criteria listed below: If the field has a subtype associated with it, I need to get the subtype name/description ...
-1
votes
1answer
52 views

Trying to execute ModelBuilder through C#?

I have a problem when trying to execute a model builder through C# the application throws: an error has occurred error hresult e_fail has been returned from a call to a COM component Note : ...
2
votes
2answers
67 views

Changing the transparency of a raster layer with ArcObjects

I'm trying to do some simple things with the .net framework and ArcObjects, but have little experience with this type of development. I would like to iterate through the layers in a map document and ...
0
votes
0answers
44 views

how to find the polyline direction in SOE

I create routing route between A -> B -> c using SOE(Using C#). From here A - Origin, C - Destination and B - Intermediate terminal It's digitized route direction is A -> B and C -> B. When i ...
0
votes
0answers
9 views

Image in ToolPalette using ArcObjects

I want to set image in ToolPalette of config.esriaddinx. How it can be possible? My code is here : <Tool id="ESRI_SelectionSample_SelectByLineTool" class="SelectByLineTool" caption="Junction" ...