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
31 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 ...
5
votes
3answers
1k views

Is it possible to target an ArcMap add-in to an earlier version?

My development environment is Visual studio 2010 with ArcGIS Desktop 10.1 installed. I need my add-in to support 10.0 AND 10.1. Right now, if I try to install it on ArcMap 10.0, it fails. Is it ...
1
vote
0answers
69 views

Assign a IGeometry to Feature.Shape

I'm trying insert a feature into a FeatureClass, but when I try to assign the geometry to featurebuffer the app return the next Error: The remote procedure call failed. (Exception from HRESULT: ...
0
votes
2answers
84 views

How to add barriers and flag to geometric network through code

I'm developing an ArcMap add-in that will run a trace against a water main that the user has selected using the selection tool. The geometric network is already defined and I can run the trace by ...
0
votes
1answer
67 views

How to get features “not getting” intersected in arcobjects?

I have two feature classes. I'm intersecting both of them. I have to return features which does not intersect with the other. Lets take an example. I have two feature classes: villages and colleges. ...
2
votes
1answer
39 views

Returning (x,y) from axMapControl to use in zooming by ArcObjects?

i'm new to ArcObjects and i'm trying to make a program that uses an axmapcontrol and i wanted to zoom in and zoom out using the pointer , i've searched here and i've found this link which shows how to ...
3
votes
1answer
648 views

Geometry Conversion Problem

How do I convert from an ESRI.ArcGIS.Geometry.IPoint to an ESRI.ArcGIS.Client.Graphic point object? In other words, I'm wanting to convert from an IGeometry to a runtime geometry, I guess.
4
votes
1answer
466 views

Programmatically export to geotiff in different scales from ArcGIS Desktop?

I would like to programatically export geotiff files in different scales (e.g. 1:25000, 1:50000 etc) using arcgis10. As input I have some shape files and a DEM file as well as a corresponding style. ...
0
votes
0answers
25 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 ...
0
votes
1answer
37 views

List items are replaced with new reference when adding in ArcObjects?

Based on the query i am getting some features in pFeatureCursor. I am adding that features into a List(IFeature). When iam iterating the pFeatureCursor and adding the values into pFeatureList all ...
1
vote
2answers
37 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
2answers
659 views

What is ArcGIS Pro .NET SDK?

What is ArcGIS Pro .NET SDK ? Can I code with ArcObjects?
7
votes
4answers
168 views

How do you programmatically read the coordinate display format in ArcMap?

I'm looking for a property (or properties) that will give me the display units and the formatting. I assume I need IMap.DistanceUnits but I can't find the formatting. Is this exposed? I am also ...
0
votes
1answer
36 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 ...
0
votes
2answers
88 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
vote
1answer
19 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
51 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 ...
4
votes
1answer
424 views

Python metes and bounds automation in ArcMap

We are using the metes and bounds in old pipeline alignment sheets in an edit session in ArcMap to plug in the "direction/length" values to generate the line segments. Does anyone have any idea how I ...
1
vote
3answers
43 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 ...
2
votes
1answer
194 views

Include Python Script with ArcObjects Addin

I'm building addin for 10.1 and need a method (ConvertToMSD) that's only available in ArcPY. I've figured out out how to execute a python script from an ArcObjects addin: Calling arcpy/python from ...
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 ...
-1
votes
1answer
66 views

Executing ModelBuilder using C# classes?

How can I execute ModelBuilder in ArcMap 10.1 using .NET 2013 C# classes?
6
votes
2answers
543 views

Calculating projected distance using ArcObjects?

I am pretty new to this and I am not sure I understand all the concepts, so I might be using words wrongly or obviously not getting some details right. We mean to do those calculations within our ...
1
vote
0answers
55 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 ...
5
votes
1answer
841 views

Select By Location in ArcGIS using C#?

I am creating a tool which the user will select point or line features from the map and it will display their names in a list then after clicking on any of these features from the list, it will show ...
0
votes
1answer
125 views

How to delete a feature class from a GDB using ArcObjects for Java?

I've seen this solution which may works in ArcObjects for VB/.Net: How to overwrite a shapefile or feature class using arcobjects When I try to convert it into Java, I get a ClassCastException on ...
1
vote
1answer
145 views

Is it possible to run ArcGIS Engine 10.2 in Java 7?

Does anyone know if it's possible to run ArcEngine 10.2 in Java 7 ? Currently in Java 6, I need to use both ArcEngine 10.2 and Java 7 functions in the same standalone program. (I don't talk about ...
2
votes
1answer
72 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, ...
0
votes
2answers
943 views

Is there any API in C# for Zooming selected feature?

I am new to ArcGIS and want to implement the Zoom to Selected Features functionality available in Selection menu option (Selection-> Zoom to Selected Features), using C# API. Is any API available in ...
0
votes
0answers
29 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 ...
3
votes
1answer
273 views

Performing action upon refresh command in TOC using ArcObjects?

We are using custom layers in our plugin used in ArcScene/ArcMap. For quite some time we were trying to figure out how to hook into the event occuring when the user selects "Refresh" in the right ...
0
votes
0answers
46 views

ConverRasterToPolygon failed with exception ERROR 010328 Syntax error at or near symbol?

We have a complex process where we compute the distance a boat will travel. We then take our waterway rasters, apply any blockages and delays to them, and create the FullCostArray to get the time it ...
0
votes
0answers
36 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 ...
0
votes
1answer
37 views

How to add arcgis templates to .NET

How can I add ArcGIS 10 templates to my .NET 2013. and is it for free?
2
votes
1answer
143 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
34 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 ...
2
votes
1answer
157 views

Syntax for ArcGIS ICalculator object?

I have a code snippet that I can't figure out: 'Define a calculator for NewArea field pCalculator = New Calculator With pCalculator .Cursor = pCursor .PreExpression = "Dim ...
2
votes
4answers
133 views

Workaround for AxMapControl painting issue (only problematic at certain screen resolutions)?

I have a .NET application dependent on ArcGIS 9.3.1 which I am upgrading to ArcGIS 10. I have an AxMapControl sat in a panel in a split container on a tab. The Dockstyle is set to Fill. Since ...
0
votes
1answer
38 views

Arcgis Addin don't upgrade

I am try to upgrade Addin for ArcGIS finish to install new upgrade but Arcgis run the old one I am finish to remove and install still I see version 1 not version 2 How can I fix this are any temp ...
1
vote
4answers
2k views

How can I permanently reorder fields in a feature class programmatically with ArcObjects, VB.Net?

Would someone be able to share the logistics on how to permanently programmatically reorder fields in a feature class with ArcObjects, VB.Net. I want to be able to do this in the geodatabase not in ...
0
votes
1answer
44 views

Update Feature records in ArcGIS 10

I have to update multiple feature records in ArcGIS through ArcObjects. Below is my code. It's running fine for first time but it's giving me error while it's going to run the queryfilter for ...
2
votes
2answers
53 views

Repointing Datasource of layers using ArcObjects

I'm currently working on a ArcObjects C# project that will repoint datasources for layers of various types. Basically a database is maintained that holds the old datasource connections and the new ...
0
votes
1answer
103 views

ArcObjects 10.3 Page Layout

We are upgrading ArcGIS from version 10.0 to 10.3 and need to update our server object extensions. Esri state that when upgrading: "Avoid using ArcObjects from the Carto library that are ...
2
votes
2answers
318 views

Exception handling in ArcGIS .NET custom geoprocessing tools?

I'm working on a set of C# GP tools for use both in Desktop and Server 10.1. The only soup-to-nuts treatment of writing geoprocessing tools in .NET appears to be Building a custom geoprocessing ...
2
votes
1answer
637 views

How to split zAware polyline by points programmatically with C#?

I'm trying to split a polyline by the boundaries of a polygon using IPolyCurve2.SplitAtPoints using C#. The polyline I'm trying to split is zAware and holds elevation values at a regular interval. ...
3
votes
1answer
59 views

Close DockableWindow in ArcGIS AddIn

I have an ArcMap 10.x AddIn in which I've developed a dockable window. Everything works great except that I want the dockable window to be closed when ArcMap first starts. If the user closes ArcMap ...
2
votes
2answers
378 views

Throwing E_FAIL errors so edit operation is aborted

I need to abort an edit operation somewhere, determined by a certain condition. Heres the code I'm using: private const int E_FAIL = -2147467259; private void ...
1
vote
2answers
104 views

Since upgrading to ArcGIS 10, my application doesn't rescale the map when the window is resized

I am upgrading a .NET application from ArcGIS 9.3 to ArcGIS 10.3. I've noticed that the map control behaves differently: the map no longer automatically rescales itself when the window is resized. To ...
0
votes
0answers
22 views

Spatial filter taken more time for running any other way to improve speed

I had number of buildings in data (around 600000) i want to check if any building captured less than shape area 25sqm should snap to existing building. i have used spatial filter but it is taken more ...
7
votes
1answer
89 views

Customizing Create Features window in ArcMap?

Can I customize Create Features window in ArcMap? (whether by using ArcMap capabilities or by writing ArcMap-Addin) I've read about Creating custom ArcMap TOC views, is there something similar for ...