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
2answers
73 views

Debugging ArcMap Add-In .Net 4.5 : Unable to start ArcMap.exe

I am developping an ArcMap 10.3 Add-In targeting .NET framework 4.5 on Visual Studio 2013. I used ESRI's wizard to build a simple button add-in and the projects debug properties are configured to ...
0
votes
0answers
22 views

Drawing line between two selected points in ArcMap using C#? [on hold]

I'm a beginner developer, and I'm trying to draw line between two selected points in ArcMap using c# code. How can I do this?
5
votes
0answers
186 views

Is it possible to add a command to the ArcMap Find dialog context menu?

I think I already know the answer to this... which is "no", but I wrote this up so I'll ask anyways. Is it possible using ArcObjects to extend/customize the ArcMap Find tool/dialog by adding a ...
1
vote
2answers
37 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 ...
2
votes
1answer
170 views

How do I export circles from ArcObjects to WKB?

I have a small circle in SDE which I'm trying to extract through ArcObjects into well-known-binary (for later import into other systems). Using the IWkb interface I can obtain the WKB, but it comes ...
6
votes
3answers
302 views

Filtering features using geometric attributes of polygons in ArcGIS Desktop?

Given a polygon featureclass containing many polygons of different sizes and shapes, which geometric attributes (area, perimeter, etc) could be used to filter the polygons? It's probably best to ask ...
3
votes
3answers
1k 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 ...
0
votes
1answer
321 views

How to edit feature in sqlserver geodatabase

I am using arcmap 10.2.1 and arcobject 10.2.1,I just want to conncet to a geodatabase and edit,add,delete a feature from a feature class using arcobject,I tried to connect to database and it works ...
3
votes
1answer
24 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
36 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
32 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 ...
1
vote
2answers
72 views

Releasing features from a recycling feature cursor

I have a recycling feature cursor that is used to fetch a single row. Is it my responsibility to release that returned feature, or will it be cleaned up by the cursor as it would be if I consumed the ...
0
votes
0answers
29 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
1answer
21 views

Creating Button Menu in ArcMap AddIn using ArcObjects?

What is the code to use in config.esriaddinx in order to make a Button-Menu (like that illustrated below) when using ArcObjects?
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" ...
0
votes
1answer
12 views

how to use IMapTimeDisplay.TimeValue to get current time setting from timeslider in ArcMap

Has anyone out there used the IMapTimeDisplay.TimeValue to get the current time from the timeslider control? I cannot figure out how to properly use it. I am writing some code in VB .net that creates ...
1
vote
4answers
3k views

Zoom to selected features with ArcObjects

I am trying to figure out what is the best way to set the active view extent to be able to view all the selected features on the Arc Map. 1.The Map has only one layer. 2.The features are filtered ...
1
vote
1answer
33 views

Show Image in Menu on ArcMap

I want to show an image in a menu in an ArcMap AddIn toolbar. Here is my code in the config.esriaddinx: <Menus> <Menu id="GridViewMenu" caption="Grid View" ...
3
votes
1answer
273 views

How do you determine which dbclient connection property to use for an Oracle SQLWorkspace connection?

I have an Oracle11g database that I connect to via a SQL Workspace; however the actual dbclient string value that works differs depending on machine (and I'm guessing oracle client configuration). On ...
1
vote
2answers
201 views

ArcGIS standalone application deployment

I'm trying to build a deployment for a ArcGIS standalone application. I'm using ArcGIS 10 Engine controls in a WPF application with desktop and spatial analysis license. I'm using classes that only ...
2
votes
2answers
35 views

ArcObjects interface to construct circles with segments instead of arcs

I am trying to see if it is feasible, using ArcObjects (VB.NET), to create a tool to construct circles comprised of line segments instead of arcs. I've looked over the available interfaces here but ...
2
votes
2answers
37 views

Can an ArcGIS Desktop Add-In Tool have two or more input events?

I'm trying to create an add-in for ArcMap in Visual Studio that adds points on mouse clicks and then executes some geoprocessing on those points when the enter key is pressed. So far sifting through ...
-2
votes
0answers
36 views
1
vote
0answers
28 views

polygon Self intersection find in arcobjects

how to get self intersection polygons in arcobjects could you please tell me how to get already i got self intersection for polyline features as per below code but it is not working on polygon ...
0
votes
0answers
30 views

Get IFields without opening ITable

We are using ArcObjects 10.0 to retrieve IFields through opening ITable, which is time-consuming. Is it possible to retrieve just IFields directly from database without opening ITable? EDIT I'm ...
5
votes
2answers
1k views

How to let the user select a spatial reference using ArcObjects?

I need to build a tool where the user selects a coordinate system for a given CAD file. What is the easiest way to do this with ArcObjects? Obviously, I could populate a list with the hundreds of ...
5
votes
2answers
579 views

What does it mean to QI and how is it done?

I'm new to Esri's Arc* interfaces, and trying to figure out how to register an existing table using the ArcObjects API. The following question answers this to some extent: Is there any way to write a ...
1
vote
1answer
32 views

Error when export to CAD file

I'm using ArcGis 10.0. While output is faulty cad file public static void *convertGdb2Cad*(IFeatureClass fromFile, string toFile) { Geoprocessor GP = new Geoprocessor(); ...
0
votes
1answer
190 views

vb.net arcobjects enable customized context menu item only if a feature is selected

The solution may be very simple, but I haven't made it work. I want to enable a data view context menu item only if a feature (in polyline layer) is selected, all other places the item should in ...
1
vote
1answer
32 views

View Image instead of label in Menu on arcmap addin toolbar

I want to set image on menu in arcamap addin toolbar. is there any way to set image ? I have tried but this is not working.. My code is here in config.esriaddinx: --Menus> Menu ...
1
vote
0answers
15 views

Converting Map Files to KML Overlay

Had a quick look around and didn't quite see what I've been looking for. I've got a .Net Web Application that is going to accept different map files and I want to convert everything over to KML so ...
0
votes
2answers
196 views

Geoprocessor: using arc toolbox in vb.net

i am doing the following in order to use the predefined tool points to line in arctool box Dim ptoline As ESRI.ArcGIS.DataManagementTools.PointsToLine = New ...
8
votes
0answers
241 views

ArcObjects running in Addin slower?

I have created a class library which does some geoprocessing. The addin calls a class that is an async process. I have ensured the thread is STA and the arcobjects are thread safe (ie. not passed from ...
0
votes
0answers
19 views

IDockableWindow ability to auto size?

I have a ArcObjects 10.2 vb.net Custom Add-in that is a dockable window. The dockable window displayes a windows form that has listboxes, textboxes, panels, tab panels, etc. that the user interacts ...
1
vote
1answer
27 views

.net arcobjects retrieve user value from layer data source

I have a need to get the user value from a layer properties. The value is from: Layer Properties -> Source -> user in Data Source (sorry not enough score to attach the picture). I tried to check ...
5
votes
2answers
1k views

How to split a Polyline Geometry at a certain point in ArcObjects?

I have a polyline geometry and wish to split it into two different geometries, based on a given point on that line, in ArcObjects. I have tried to find out how to do this, but to no avail. I found ...
0
votes
1answer
303 views

How to call a GP service from ArcObjects in .NET using ArcGIS Engine 10.2?

I published and successfully accessed a GP service in ArcMap 10.2, but I couldn't make it work in my .NET program using ArcObjects 10.2: IGeoProcessor gp = new GeoProcessorClass(); ...
0
votes
1answer
32 views

How to change field length with ArcObject?

I want to change some string field in sdegeodatabse with bellow code. The code are running without any problem. but after running, filed length return to default length. What am i missing? static ...
1
vote
0answers
16 views

Substract 2 rasters with Raster Calculator in ArcObjects (VB.NET)

I'm having a hard time substracting 2 raster with ArcObjects sdk 10.1. I keep getting a nullreference exception at the gp.execute() method, but I can't figure out where the problem is, I recall ...
2
votes
2answers
386 views

How do I reach a layer inside a GroupLayer?

I am having problems in ArcObjects. I am struggling to get to the individual (feature-)layers inside a GroupLayer. Does anyone know how to do that ?
1
vote
0answers
15 views

Is there a way to keep a a custom tool active while using the edit tools using ArcObjects?

I'm developing a tool that, when the user creates a feature in a certain feature class, prompts the user with a form to populate one of the fields in its attribute table. I'd like to have the user use ...
4
votes
1answer
209 views

How to render features with different symbols depending on in memory data?

We are developing a complex ArcMap extension software which contains class extensions, a workspace extension and some ArcMap extensions. The purpose of the software is to link our existing management ...
-1
votes
0answers
28 views

How to execute a ModelBuilder through C# (ArcObjects) [duplicate]

How to execute ModelBuilder(By parameters) (Arcgis 10.1) through C# (VS2010) Could you please help me in details I'm still beginner in doing this kind of liaisons.
3
votes
1answer
40 views

What is the C# Arcobject I must use in order to set programatically the SQL Query of an LYR file?

I would like to change programatically the SQL Query of a LYR file. I'm developping in C# using ArcObject. Actually I'm able to get an instance of IWorkspaceFactory from a opened layer with this code ...
0
votes
1answer
165 views

Is snapping working when changing from NAD83(decimal degree) to NAD83 Zone UTM 11N(meters)?

I've used the following ESRI snippet to Convert the display extents in Pixels (at the current map scale) and then return out the map units. public System.Double ...
1
vote
2answers
2k views

Merging separate features into single feature in shapefile programmatically?

I have a shapefile in which some features shares same values for all the attributes. I can merge them manually by going into edit session and, selecting features to be merged, and then using merge ...
0
votes
0answers
24 views

How to get metadata about Esri Geodatabase Replica synchronization

I'm using ArcObjects for .NET to create an one-way replica from my geodata-service (master) to an ArcSDE geodatabase (slave). During synchronization I do need metadata about the incoming changes to ...
2
votes
1answer
70 views

Using thread lock when implementing Enabled void in ArcGIS Command?

I've noticed that that ArcGis Commands are activated asynchronously. So I supposed that there is a chance to corrupt memory without using thread locks when overriding Enabled void of custom ArcGIS ...
0
votes
0answers
14 views

LayerToKml no clamped to ground

How do I change the kmz new file to be clamped to ground? I have this code in the picture: That works just fine but when I "fetch" it to the Google plug-in it's not "clamped to ground". I need ...
5
votes
2answers
527 views

Perpendicular lines at start and end of line in ArcGIS Desktop?

I have some lines. I want to draw perpendicular lines at the start and end of the lines, on both sides of the lines. Can somebody help me in Python? Also, what are the variable settings of the ...