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)

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?
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 ...
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
34 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
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
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
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?
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" ...
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 ...
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
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 ...
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 ...
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 ...
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
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(); ...
-2
votes
0answers
36 views

How to convert shape files to .dwg format using ArcObjects and C#? [duplicate]

How to convert shapefiles to .dwg format using ArcObjects and C#?
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 ...
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 ...
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
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 ...
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 ...
-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.
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 ...
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 ...
2
votes
2answers
52 views

How to get current application culture using ArcObjects? [closed]

Without looking at the registry, is there a way to get the current application culture in C#? I have a Add-in and want to get the language from the ArcMap hook using ArcObjects 10. (I'm using C# to ...
1
vote
2answers
44 views

Replacing shapefiles in MXDs using only Python options available prior to ArcPy?

I am trying to come up with a python script that will go through a designated folder, locate all MXD files within the folder, and then check each MXD to see if it contains a specified shapefile, which ...
1
vote
1answer
23 views

ArcObjects ExcelWorkspaceFactory Won't Release Excel File

I'm working with ArcObjects to set up a batch import from xls and csv files into a geodatabase. That part works fine, but after the import, I want to delete the file. This, however, doesn't work, ...
1
vote
2answers
74 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
13 views

Exception access violation while executing Java ArcObject application

I have developed an visual application using ArcObjects SDK for Java 10.2 which worked well until yesterday. Since, I'm facing a fatal error (full trace below) while I don't feel I have changed ...
0
votes
1answer
39 views

Initial state of VB .net checkbox to toggle ArcMap layer visibility

I have a checkbox control as part of an ArcMap add-in with a dockable window in VB .net that turns a particular layer's visibility on and off in ArcMap. The initial state is set to "unchecked". But, ...
0
votes
1answer
39 views

Arcobjects add-in stops working with no apparent error

I am developing a simple add-in that will trigger an action after user selects features on the map (the action will essentially make sure a dockable window is open and in that window display ...
0
votes
1answer
24 views

use Spatial filter tool running time take more

I want to check any 3 way junction or 4 way junction features snapping or not. I have used spatial filer it is taking more time for running could you please tell me any way to improve tool running ...
0
votes
0answers
20 views

the text box to wrap using a rectangle format

I'm looking for a way I could format the text box to wrap using a rectangle format. Could I call it in the getFormattedstring? // Format the legend text if it is not a heading. If it is, we're ...
1
vote
2answers
35 views

Get Features from ifeatureclass

I am facing the issue while I am trying to get all the features back in 'Attribute Table'. What I am doing is. Selected the layer from Map Performs my Edits on few features (changing filed values) ...
1
vote
1answer
18 views

What is the difference between an IRow and an IObject

In particular: what is the difference between an ITable and an IObjectClass? As far as I understand the latter may be asked to get all its related classes as well. Are there any more differences that ...
3
votes
1answer
47 views

Releasing Cursors using ArcObjects?

I am working with ArcObjects, in particular the ICursor Interface. I am creating a cursor and looping through a query's result set. My problem/concern is how to close or delete or release the cursor ...
0
votes
1answer
41 views

Layers reference from Geoprocessing using ArcObjects?

I am using ArcObjects (ArcGIS 10.1) in .NET with some geoprocessing. It works great. There is an option to add the resulting feature class to the map. That works great too. However how do I get a ...
0
votes
2answers
84 views

Automate entire map production in ArcMap?

I am trying to gather some information on how to create maps based on an existing base map I have. The basemap has all the data loaded. So the user will enter data into a form and the would do a save ...
-1
votes
1answer
58 views

Executing ModelBuilder using C# classes?

How can I execute ModelBuilder in ArcMap 10.1 using .NET 2013 C# classes?
1
vote
0answers
50 views

How can I display annotations for certain features?

I am trying to display annotations for single features. I know it is possible to display annotations for layers, and for that entire map, but I would like to display them based on a SINGLE selected ...
0
votes
1answer
28 views

Selected Feature how to zoom in ArcMap viewer window

I will selected one feature in ArcMap that feature zoom in viewer window in ArcMap i tried in ArcMap VBA but no result Public Sub zoomtool() Dim pDoc As IMxDocument Set pDoc = ThisDocument Dim pMap ...
2
votes
1answer
54 views

Export multiple FC's to cad in arcobjects C#

I am currently trying to export multiple feature classes to a single .dxf via the QuickExport function in the DataInteroperability extension. However this function only converts one FC to one .dxf, ...
1
vote
3answers
39 views

Filter and display an ArcGis ImageServer service by an attribute in an Desktop Addin

What I am trying to achieve is to either filter an existing Arcgis imageserver service, or get the results of a query and display them. The reason I want to do this is that I have a huge mosaic ...
0
votes
0answers
28 views

Help impelmenting ILayerEffects in Graphics layer to use transparency

I tried to get graphics in an ILayar class and implemented ILayerEffects to get transparency but it does not help can you help me? I am attaching the class file. using System; using ...
2
votes
1answer
115 views

How to get a feature class from a File Geodatabase in ArcObjects? (VB.NET)

I just started out with ArcObjects and I've been stuck on this for days. How do you open up a File GDB and read out a simple feature class? The snippet for retreiving a shapefile from a regular ...
0
votes
0answers
33 views

EpaNet2.dll gives 305 error code from arcmap addin application

I have an input file(.inp) of EpaNet project. I want to use this .inp file to run the project with the help of epanet2.dll from my arcmap addin button. In EPANET project , there is a portion that is ...
0
votes
0answers
35 views

Arcmap export select By Graphics with query

I use select By Graphics then I use this code to see what I can export but it don't work 100% it export Sample Line-40 and Line-40 is not in the area I select By Graphics can anyone help me with this ...