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
10 views

Create FileGDB using Geoprocessor on ArcGIS 10.3 ArcObject

Exact same code working fine with 10.0. But, 10.3 usual Esri "Error HRESULT E_FAIL has been returned from a call to a COM component". Geoprocessor geoprocessor = new Geoprocessor(); ...
0
votes
1answer
27 views

In Arcobjects, what is the difference between feature.shape and feature.ShapeCopy?

What is the difference between Feature.shape and Feature.ShapeCopy in ArcObjects. I am using Feature.shape could you please tell me difference?
1
vote
1answer
11 views

Catch the VisibilityChanged event for TopologyLayer

I can set up a handler to catch the VisibilityChanged event of every map layer returned by: pEnumLayer As IEnumLayer = My.ArcMap.Document.ActiveView.FocusMap.Layers(Nothing, False) Then with each ...
2
votes
0answers
21 views

Memory issue inserting a large dataset in GDB with ArcObjects

I am using the ArcObjects API for Java to load a very large dataset in a File Geodatabase in one feature class. The whole dataset I have to load is composed of 200 datasets of 30k polygons, and I ...
1
vote
1answer
26 views

ArcObjects/Python: Add JPG to layout

I am attempting (and failing) to add an image to a map layout using ArcObjects via Python comtypes. I do need to run this outside of ArcMap (i.e. not in the ArcMap Python window). The basic idea is: ...
0
votes
0answers
18 views

Questions on raster math using ArcObjects

BACKGROUND INFORMATION: I'm using the 10.2 .NET API and what we are doing is this: I have a boat moving on the water at a cruising speed of 30 nm/hr. (and we don't care about currents affecting the ...
0
votes
0answers
17 views

Feature Rotation Exception

I am getting an error when I try to change the value of a feature's Rotation Value. I have a schematic feature that I would like to rotate by changing the field's ROTATION value, but everytime I try ...
0
votes
0answers
20 views

How to get changed spatial reference of any layer in ArcMap using ArcObjects?

I have several layers in arcmap. I can access these layer's spatial references too. But if user changed one of spatial reference properties(eg. name, central_meridian etc.)of any layer, then how can I ...
1
vote
1answer
31 views

How to know spatial references of two layers are same?

I have two layers . Now I want to say that the spatial references of these layers are same or not .. I am using .Net technologies in arcmap. I have successfully got spatial reference information ...
0
votes
1answer
37 views

How to add graphics to map at lowest level?

I am able to create graphics and add them to the map, but they are getting added as the top-most layer. The labels (if active) of another layer get hidden due to this. I want to know how to add ...
1
vote
2answers
93 views

How to identify, spatial references of two layers are same?

I have two layers. Polygon layer Polyline layer Now I want to check if spatial references of these two layers are same. How can I achieve this ?? In spatial reference there are many property ...
2
votes
0answers
41 views

Understanding lifecycle of .NET geoprocessing tools on ArcGIS for Server?

I've done a number of .NET geoprocessing tools for ArcGIS 10.1 that get published as geoprocessing services on ArcGIS Server. Lately we've seen behavior that makes me question something I thought I ...
1
vote
2answers
64 views

Using .NET Runtime SDK or .NET ArcObjects?

I want to build a desktop GIS application with following features in it: It can be able to read all the attributes of any digitized map It can be able to draw polygon or line With the help of that ...
0
votes
1answer
12 views

ArcObjects Anno Classes

In ArcCatalog, getting the properties on an Annotation Feature Class exposes an Annotation Classes tab and within that is a list of the names of the associated annotation classes. Assume an MXD with ...
0
votes
2answers
39 views

How do I programmatically access a feature's symbol property in a schematic layer?

I am building a simple app that changes the size of the symbol of the selected feature. Is this possible? Here is a simple case for a selected feature: public void onClick(){ IFeature spliceClosure ...
0
votes
0answers
16 views

Map Control Didn't Show Editing Result

I have created an application with data from SDE Geodatabase (Oracle). I've registered it as version without tick on the option to move edits to base. Anyway, in my application there is a part where ...
0
votes
0answers
29 views

SDE + arcgis engine 10.3 start editing error

i built simple application using ArcGIS engine 10.3 to edit sde layers in oracle database. but when i do click start edit button, error occured : "Unspecified error (Exception from HRESULT: 0x80004005 ...
-2
votes
0answers
19 views

how to update a field of a feature class in a stand alone vb.net application

I want to update a field in a feature class out the arcgis environment in a vb.net stand alone application ( how to use arcobjects through vb.net to update attributes ) just a sample code please. many ...
1
vote
1answer
22 views

ArcMap, Editor and Geodatabase API edit session question

Say a feature class from a File GDB is added to ArcMap and an editing session on it is in progress. What happens if an add-in launched from the same ArcMap session tries to start an edit session using ...
0
votes
0answers
31 views

working with switch cases C#

I have two polygon layers in ArcMap which are on top of each other. The user selects a record in the first layer (either by using the Select tool or through the attribute table) and I show the ALPS_ID ...
-1
votes
0answers
23 views

Import dataset from ArcSDE to local folder using ArcObjects?

Am new for ArcObjects. I need to copy the listed Data set from ArcSDE server to local Encrypted folder.
-1
votes
1answer
84 views

Populating a combobox with names of fields in a feature class

I have to dynamically populate a ComboBox in an add-in tool for ArcObjects using C# with the names of the fields containing text data in the feature class. I know I have to obtain the names from the ...
-1
votes
1answer
59 views

How to create a relationship class between a feature layer and a standalone table

I need to create a join between a shapefile and a table that have been added to the map, the issue seems to be with the memRelFact.Open("Table-Layer", (IObjectClass)fromTable, ...
0
votes
1answer
21 views

polygon neighbors

Could you please tell me how to check in ArcObjects same feature overlapping other feature like (Building OID 10 and Another building OID 11) i tried to like below code but i am not going to for other ...
1
vote
1answer
62 views

Deleting a standalone table from the TOC— C# ArcObjects

I'm looking to delete a standalone table that has been added to the arcmap document from an access database. I only want to delete it from the TOC, not from the file and I can't seem to get it to ...
0
votes
3answers
81 views

How to remove a feature class or table from the TOC? C#

This seems like a really simple process or snippet of code but the only thing I can find is the ClearLayers() method to clear all of the layers from the TOC. Basically what I want to achieve is to ...
1
vote
1answer
30 views

How to display radius while adding element in ArcObject?

I want to display the radius of drawing circle when user adds this figure on the map. User clicks on the icon. Then user begins drawing circle (I process the MouseDown event) IGeometry geom = ...
1
vote
2answers
134 views

Export Page Layout to PDF using ESRI add-in with vb.net

Note: This message is cross-posted on geonet (https://geonet.esri.com/thread/127249) I have been trying to convert a vba script to vb.net but I have hit a roadblock and I'm hoping someone can help me ...
2
votes
1answer
33 views

How to determine if a raster layer covers a polygon layer?

I have a raster and a polygon layer. In my application I always want the raster layer to cover all the polygon layer. How can that be determined? Is it possible to find out from boundary extent of ...
2
votes
1answer
86 views

How to convert an XY Event Layer to a Shapefile?

The question is as follows: Using C# code, convert the XYEvent layer to a shapefile. Add the created shapefile to the map. I can NOT find out how to do this for the life of me. Any help/links would be ...
1
vote
1answer
67 views

Why is my context menu not showing

I am trying to create and show a context menu for arcmap desktop 10.2. I have followed the steps in the link provided by esri, which explains that I must override OnContextMenu. I am not sure if I am ...
0
votes
0answers
23 views

Create RasterDataSet from 2d array

How i can create RasterDataset using a 2D double array : double[][] pixels OR float[][] i tried tow ways using IRasterDataset 1- IPixelBlock outBlock = outRawPixel.createPixelBlock(pnt); ...
0
votes
0answers
19 views

Remove a property page from Layer Property Sheet

I need to remove definition query tab of the Feature Layer or Table property page. Is it possible to do this with arcobjects at all? Here is what I am trying to do: UID uid_comCategory = new ...
0
votes
1answer
63 views

Getting map using C# code in ArcMap?

I have been programming in C# a small code for:1) create a polyline Featureclass in a GDB, 2)put that in the map view (ArcMap 10.2) and finally 3) edit that feature using a button or tool... Well I ...
1
vote
1answer
16 views

Trouble compiling ArcObjects Server Object Extension project into .SOE file

I'm writing a Server Object Extension(SOE) in Visual Studio 2012 using C# in Windows 7. I'm using the REST Template that comes packaged with ArcObjects 10.2. I'm able to build the program without ...
0
votes
0answers
13 views

Error when subdivide subbasins using GeoHMS (ArcGIS 10.1)

When using the 'Subbasin Divide' tool on the GeoHMS toolbar, I get the following an error about COM exceptions (see image). The tool does allow me to click the button, drop a point, and then draws ...
0
votes
0answers
17 views

ProjToCell and CellToProj method of DotSpatial in ArcGIS C# SDK

In DotSpatial there are two methods which are vary helpful to me. 1. Coordinate IRaster.CellToProj(row, column); //here Coordinate is left-top corner of the cell 2. RcIndex IRaster.ProjToCell(x,y); ...
1
vote
1answer
44 views

How to change data source of table using arcobjects

Cross post from: https://geonet.esri.com/thread/125010 Does anyone know how to change the data source of a table using arcobjects? I know it can be done with arcpy, but I'm using C#. I've managed to ...
2
votes
0answers
62 views

Visual Studio not creating “.esriAddIn” file

I have an addin that I've been maintaining with Visual Studio 2010 Express for quite some time with no issues. Recently my computer was replaced and Studio 2012 Express was installed. Since that time ...
2
votes
1answer
23 views

Getting FeatureTemplate dialog form ArcObjects?

Is it possible to access the "Select Feature Template" dialog as shown in the below screenshot through ArcObjects? We can access this dialog when using the Editor -> Copy Parallel tool.
2
votes
1answer
35 views

Is it possible that ArcObjectsed ITable.Search hits default table version but cursor iterates over the edited current version of the table?

I'm very new to ArcObjects and working on an ArcMap addin. I'm having some trouble with understanding the results I'm receiving from my queryFilter. It seems doing a ITable.Search(queryFilter, true) ...
0
votes
1answer
32 views

Featureclasses with attachments: objects cannot be updated outside edit session

I am writing an ArcMap add-in using C# with Visual Studio 2010 and ArcGIS 10.1. I want to add features to a featureclass in an Enterprise Geodatabase (ArcGIS Server 10.1 on SQL Server). This is my ...
0
votes
1answer
36 views

select by location in vba

I got two Layers (Point and polygons) in my Application and want to write a vb macro, where point layer is cities layer and polygon layer is state's layer, I want to know that how many cities are ...
2
votes
0answers
30 views

Algorithm to put label of bounds (bounds layer) inside of polygons (polygon layer)

I hope to put labels of bounds inside of the polygon in intersection with like you can see in the picture below I checked multiple solution as a topology or maplex but it doesn't give relation ship ...
0
votes
0answers
23 views

Abort certain edit events

ArcMap 9.3.1 w/ ArcFM. Using C#. The goal is to be able to prevent certain edits based on specified biz rules. One option might seem to be looking at all operation edits in BeforeStopEditing and ...
0
votes
1answer
28 views

COM Exception when setting the DisplayField property

I have a C# .NET application referencing ArcGIS Engine 10.2. The last line of this fragment of code causes a COM Exception: gridLayer = new FeatureLayerClass(); gridLayer.FeatureClass = ...
3
votes
1answer
45 views

Counting number of layers selected in ArcMap TOC using ArcObjects?

Has anyone ever tried to get the number of layers that are selected in ArcMap? If I have a map document that has six layers and three of them are selected in the TOC, how does one count them using ...
0
votes
0answers
39 views

NGO library Removal

NGO library is not available anymore, thats where my question comes in, those objects at bottom in code section, mean nothing because there is no reference for them in arcobjects v10.. this is what ...
0
votes
0answers
44 views

How can I show the identify of a feature in ArcMap own identify window using ArcObjects API?

I would like to show the identify of a IFeatureLayer in ArcMap's Identify window. I had used IdentifyDialog to create a custom dialog to show the identify, but it seems that the ArcMap's identify ...
0
votes
2answers
23 views

Why does the AxMapControl no longer expand to fill the space when I press the Show/Hide Map Legend button?

I have a .NET application dependent on ArcGIS 9.3.1 which I am upgrading to ArcGIS 10.2. I have an AxMapControl sat in a panel in a Splitter on a tab. There is a legend which can be made to ...