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
1answer
20 views

What's the difference between ArcGIS .NET SDK and ArcObjects?

Here's the scenario: The goal is to create a standalone console application to process data. This processing is basically ETL operations and, in the end, the results end up in a feature class table. ...
0
votes
1answer
16 views

Casting ILayer to IFeatureLayer in ArcObjects 10.1

I'm trying to use the following code in an ArcMap extension: private IFeatureLayer getLayer(string lname) { IMap map; IFeatureLayer flayer; IEnumLayer ...
1
vote
1answer
14 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 ...
-1
votes
0answers
34 views

ArcMap License problem [duplicate]

I dont want to execute my Add-in application in crack ArcMaps.I want to use or execute only licensed ArcMap's (orginal ArcMap's) my application.I cant control with EsriLicenseStatus constants.Are ...
3
votes
0answers
33 views

How to set up graduated colors for a layer using ArcObjects?

I have to render a feature layer with a graduated colors renderer, using the ArcGIS API for Java (or VB, .NET). As the feature layer data is created dynamically using webservices, I don't in advance ...
1
vote
0answers
23 views

Getting all values of specific field

How do i get all values of a specific field of a featureclass in arcobjects (c#.net)? is there any way to select all features using IQueryFilter interface?
1
vote
1answer
14 views

ToolStrip Button click event is not fired on first click

I have a dockable window in a custom ArcMap extension. The dockable window has a regular windows forms ToolStrip control in it with ToolStripButtons on the ToolStrip. When the parent dockable window ...
3
votes
2answers
57 views

Add and remove tools from ArcMap toolbar via C# Button and ArcObjects?

OK I updated the draft with some of the suggestions but am still having some issues. I am trying to create a custom button in arcmap that when pressed will edit a toolbars content. Doing things like ...
0
votes
0answers
35 views

How to embed ArcMap graph into winforms dialog using .NET/C# and ArcObjects?

I am creating an addin for ArcMap in csharp and want to add a graph to a dialog. The native arcgis graph control doesn't seem to been available from the visual studio toolbox. I can't figure out ...
1
vote
0answers
15 views

FDOGraphicsLayer IGraphicsContainer Reset/Next throw 'not implemented'

Running ArcGIS 9.3.2 w/ ArcFM. protected override void InternalClick() { var d = _App.Document as IMxDocument; var m = d.FocusMap; var c = m as IGraphicsContainer; c.Reset(); ...
0
votes
0answers
17 views

ITopologicalOp simplify

I want to simplify a polyline geometry so that at the intersection line was torn, that is added EndPoint (see figure below). Polyline Feature class is stored in a file geodatabase in the dataset, it ...
3
votes
1answer
36 views

Can I get a unique reference to a feature layer in ArcObjects?

I want to build an IDictionary with the feature layers of my TOC in ArcObjects. So I need key value pairs. The value will be an attribute of the feature layer but I am wondering what to use as key. I ...
0
votes
0answers
16 views

argis 9.3 to arcgis 10.2 arcobjects connection AutomationException: 0x5 - Access is denied. in 'Invoke'

A legacy code, written in 9.3, made connections to the server via the following code public String connect(String domain, String user, String password) { new ...
3
votes
3answers
63 views

Why is ESRI.ArcGIS.Desktop.AddIns.ComboBox configured with a number of W's?

I'm using a ESRI.ArcGIS.Desktop.AddIns.ComboBox. I configure the size of the combobox in config.esriaddinx with the following xml: <ComboBox id="my_id" class="MyComboBox" ...
2
votes
2answers
58 views

Get feature from list

I've done this: while (feature != null) { if ((feature.get_Value(feature.Fields.FindField("NAME")) != null) && ...
1
vote
1answer
42 views

Reusing ArcObjects code written at 9.3 in ArcGIS 10.2?

-- update: i've narrowed down the scope of the question to something more specific in a new question: argis 9.3 to arcgis 10.2 arcobjects connection AutomationException: 0x5 - Access is denied. in ...
1
vote
1answer
22 views

What is the parantHWnd parameter used in some ArcObjects methods?

So the parameter parentHWnd appears in a number of ArcObjects methods, such as iExportOperation.ExportFeatureClass. Does anyone know what the parameter is? I can't seem to find any explanation. The ...
2
votes
1answer
33 views

How to set the extent of a rotated data frame from a rotated rectangle using ArcObjects?

I use ArcObjects to produce a map document. I have a rotated rectangle that I want to be the exact extent of my data frame. So, I want to rotate the data frame with the same orientation than the ...
1
vote
1answer
29 views

Semi-transparent picture symbols in ArcObjects

When creating a new point layer with picture symbols in ArcMap 10.2.1 using ArcObjects, I have tried several ways to load semi-transparent symbol images from .png files, but to no avail, the ...
1
vote
0answers
32 views

ArcObjects — How to tell if an event is already wired up

Using Visual Studio 2010 C# and ArcMap 10.1. In a custom ArcObjects extension, a bunch of events are wired up at startup. For example, this simple standard code chunk: IEditEvents_Event ...
0
votes
1answer
26 views

How to batch export to PMF using ArcGIS 10.2 and VB.Net

This is my first post, and was hoping I might be able to get some assistance. I have modified a code I found online to batch export a series of map documents (mxds) to ArcPublisher files (PMFs). I ...
1
vote
0answers
27 views

Is spatial reference information suceptible to be translated?

In an English application that uses ArcObjects API from ESRI, the information regards the spatial reference system is displayed in English as the API gives it. If the application is translated to ...
2
votes
1answer
57 views

How to get layer description using ArcObjects?

Assuming we have a ILayer object, I'm looking for how to get the layer description. I mean the description text of the layer properties: I didn't find it into the ArcObjects documentation.
0
votes
1answer
46 views

What's the best way to break closed polyline using ArcObjects?

I have a polyline feature class with several closed lines (the start point = the end point). I need to break these lines in two features, using ArcObjects (doesn't matter Java, VB or C#). I have ...
0
votes
0answers
27 views

Cast, Convert Esri.ArcGIS.Geo.IRecordset TO system.Data.Dataset solutions?

I have a bunch of tools that are still running on Arcmap 9.2 drive and I am updating my tools so they can run on 10.1. I came across this problem in one of my functions, where I needed to cast an ...
0
votes
1answer
28 views

Identify feature which is set for editing

While creating custom tool for ArcMap I found problem which couldn't be solved even with try-catch block. When start editing I must to choose which layer I want to edit (if they are from different ...
3
votes
1answer
53 views

Setting Up Snapping Environment Snapping Type

I try to setup snapping environment snapping type by referring to this source (http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000001s1000000) but I can't combine ...
1
vote
0answers
50 views

Calling an ad-hoc model with vb.net

i have built my own model with arcgis modelbuilder and developed an addin for calling it. although calling the model using the fc located in file geodatabase works fine, same is not working for ...
1
vote
0answers
11 views

Long delay when updating rows of a feature layer or modifying elements of a graphic layer using arcObjects in java

We are developing a simple AddIn for arcMap for the first time using arcObjects in java. The application consists basically on the following steps: 1. Obtain a Network layer which was loaded in ...
0
votes
0answers
31 views

Adding Field using C# winform and ArcObjects?

How to add a field in featureclass by using C# winform,arcobjects? It means when we click on command winform should open and afetr field entries it should be add in to table.
0
votes
1answer
30 views

Selecting a Graphic Element on button click using IGraphicContainerSelect

I am having trouble type casting and using the right interfaces. I have a function that loops through all text elements with a specific property set. Once a match is found, I want to be able to select ...
0
votes
1answer
26 views

HRESULT 0x80010202 exception in ArcMap closest feature searching by ArcObjects?

My method must return closest feature attribute. But there's a problem, it finds closest feature but returns COM exception HRESULT 0x80010202 void selectStreet(IPoint point, IActiveView activeView) ...
2
votes
2answers
61 views

Arcmap VB.NET export map to SHP error

I want to export a query to a Shapefile. If the query is empty I get an error and it will not export. How can I do nothing if the query is empty and export next query in the list? Sample if I ...
0
votes
1answer
37 views

Parallel Computing error using GP tool in C#

I have been using ArcGIS Geoprocessor(GP) tool whenever possible even though it is like a black box in my ArcObject development. Most of my operations are involved with data processing, such as ...
1
vote
1answer
35 views

error 0x80040239 : Using the intersect method of ItopologicalOperator

I would like to intersect a polygon and a polyline to know if the polyline is in the polygon. The code work but when i do it on more than 100 000 times in a for, there is this error : ...
4
votes
1answer
98 views

Getting feature at point in C#

I want to get the feature at where mouse was clicked in map. So I was wondering how to get features which intersects with that point. Plus I was wondering how can I check what type of object it is ...
1
vote
0answers
41 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
0answers
23 views

Finding What version a PGDB is programtically

So i have a list of 681 personal geodatabases. I want to figure out what version (9.x, 8.x, 10.x) these things are. So i want to write a program that will read the filepath from a database table and ...
1
vote
1answer
73 views

ArcMap tool for deleting polygon with C#

I need to create custom tool for ArcMap, which would let the user delete polygons by mouse clicks. I am pretty new in this thing, so how can I retrieve a selected polygon so I could delete it? Plus do ...
0
votes
1answer
20 views

ArcGIS / .Net - Load pyramids in thread

I need to display a large raster with ArcGIS. To do so, I'm using pyramids, and it is working, but they can be long to build. So I would like to build the pyramids in a separate thread. When doing so, ...
1
vote
1answer
39 views

Rename long column names for dbf conversion

Is there an ArcObjects API call that will rename long column name? If a column name is too long for conversion to a .dbf file, I want rename to a valid length. I have searched ArcObjects help. Either ...
0
votes
0answers
5 views

Filter pointcollection in geocoords set

i'm working with .Net v3.5 and ArcGis 9 and i must say i'm pretty newbie with this. I have an application with different layers, one of them is used to draw the world using WGS84 coords, what i'm ...
1
vote
0answers
81 views

Why ArcMap.Application.Document is null on run?

Why ArcMap.Application.Document is null on run? There is my addin. It consist of tool and docWindow. DocWindow opens when tool is selected. When I run ArcMap with selected myTool and opened window, ...
1
vote
0answers
29 views

Custom Data Reviewer check

I am working on developing a custom data reviewer check by implementing the Execute method of IPLTSCNTWorkspaceValExtension and IPLTSCNTSelectionSetValExtension interfaces. Unfortunately I only find ...
0
votes
1answer
65 views

How to query all layers in ArcMap and get access to them by name or index?

I have next issue: I have ArcMap with tons of layers. Some of these layers may contain another layers with data (aka Composite layers) or they don't. The depth of composite layers in unknown. I need ...
1
vote
0answers
111 views

Unable to create object class extension COM component?

I'm getting the error: Unable to create object class extension COM component in ArcMap 10.2 when trying to open feature classes from old geodatabases. I'm also getting "error repairing the ...
2
votes
2answers
65 views

How to fill gaps in a multipart polyline

I want a function that can fill small gaps between parts of a multipart polyline. The polylines represent events on roads and are linear, not branched. The parts may be separated by small or large ...
2
votes
1answer
65 views

How to refresh display for newly added labels with ArcObjects

I've added a shapefile to an MXD and Edited the symbolization of it with ArcObjects. Now I'm trying to edit the labeling with ArcObjects. I've successfully been able to edit the default class in the ...
1
vote
0answers
18 views

Editing data with Server Object Extension?

Is it possible to use an interface such as IWorkspaceEdit within an Server Object Extension to create new features or update data in a geodatabse? Perhaps this can only be done through a managed ...
0
votes
0answers
14 views

Arcobjects: Track new point from button click in DockWindow

I am wondering if anyone might have a potential solution for a problem i'm encountering in ArcObjects. I am trying to track a screen location on the map. after a button is clicked in my DockWindow ...