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
34 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
54 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
44 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
26 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
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 ...
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
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
52 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
90 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
67 views

Executing ModelBuilder using C# classes?

How can I execute ModelBuilder in ArcMap 10.1 using .NET 2013 C# classes?
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 ...
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 ...
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, ...
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 ...
0
votes
0answers
30 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
147 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
37 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
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?
0
votes
1answer
39 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 ...
0
votes
1answer
46 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 ...
0
votes
1answer
107 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 ...
3
votes
1answer
63 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 ...
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 ...
1
vote
2answers
106 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 ...
2
votes
2answers
54 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 ...
2
votes
1answer
29 views

ArcObjects 10.1 IPixelFilter (IClipFilter) not filtering for IMosaicDataset

I am attempting to extract an irregular polygon from a Mosaic Dataset using ArcObjects in C#. This sample shows how to open a mosaic dataset in ArcObjects. Referencing existing (VB) code, this snippet ...
-1
votes
1answer
58 views

ArcObjects / Oracle12c / EZCONNECT

i am having some trouble connecting to Oracle12c via ArcObjects and EZCONNECT. Results so far: • Can connect via ArcCatalog 10.2.2 using an *.sde file. (EZCONNECT) • Can connect via ...
4
votes
1answer
122 views

Which ArcGIS SDK to use ArcSDE SDK, ArcGis Runtime SDK, ArcObjects SDK?

I have a geodatabase on SQL Server 2008 R2 and ArcGIS 10.2.2 installed. Both are on my local computer. I will interface to a Delphi Application and my aim is to query some records/fields line by ...
2
votes
2answers
125 views

Run C# form when ArcMap mxd is opened

I have created a form in C# which collects data such as name, date, workspace and several other fields from the user and stores this data in a temporary .txt file to be used later by other functions. ...
2
votes
1answer
24 views

Getting the New Map When the FocusMapChanged Event Fires

Normally, in ArcMap, when an event handler to catch the FocusMapChanged event is set up, and a new map (data frame) is activated, when the event fires, a reference to the FocusMap returns the map that ...
0
votes
0answers
26 views

Uploading raster to ArcGIS Server dynamically

I am building an new web tool related to agriculture research, this tool is linked to another backend GIS process done in c# and ArcObjects. I want to find a way to visualize this backend output ...
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 ...
0
votes
1answer
68 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. ...
1
vote
1answer
58 views

INTERSECT tool in arcobjects

I am using geoprocessing tool Intersect in Arcobjects. How to pass two input feature classes in to in_features option in INTERSECT tool could you please tell me how to pass. Geoprocessor gp = new ...
2
votes
1answer
39 views

Show selection set in Attributes Window

I have an ArcObjects extension that creates a selection set and then zooms to the selected features. This part works as expected. The problem that we are having, however, is that the selection set ...
0
votes
0answers
22 views

What is the cheapest way to make all objects from GraphicsContainer transparent?

I am changing arcobjects 10.1 project with a lot of legacy code. I need to make all objects transparent on the map. This objects (points, different sectors, polygons, etc) are persisted in ...
1
vote
1answer
50 views

Is it possible to change the current map document from a geoprocessing tool

I'm writing a BaseGeoprocessingTool with the ArcObjects API and I need to open an Mxd then change the current document by this opened document. I managed to open the Mxd document: IMapDocument ...
1
vote
0answers
58 views

C# geoprocessing tool output file

I'm trying to use file output parameter in arcobjects geoprocessing tool which will be used as rest service on ArcGis server 10.1 IGPParameterEdit3 outParam = new GPParameterClass(); ...
0
votes
2answers
85 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
0answers
28 views

creation of fixed size dockable window

,I created dockable window by using addins and specified size as height="150" width="250" by using initialplacement tag in esri config as 'InitialPlacement height="150" width="250" state="unpinned" ...
0
votes
0answers
34 views

how to fix the size of dockable window using arcobjects

I created a dockable window with the following attributes buts spanning across and taking the same height of table of contents (TOC) ,but its height should be 345 only which is not ...
1
vote
1answer
30 views

polygon vertex to vertex distance calculation in arcobjects

I have polygon with multipart (donuts) I want to calculate vertex to vertex distance. I tried to get outer ring vertex to vertex distance and it is working. Could you please tell me how to get inner ...
1
vote
1answer
64 views

how to create custom items or commands for a context menu

I have read and searched the web for an answer, but nothing is working. so I need someone's help please. I have an extension that implements I command, I have the method OnContextMenu(x,y) which ...
0
votes
0answers
15 views

UniqueValueRenderer on GUID fields doesn't work?

Have anyone been using ArcGIS UniqueValueRenderer on attribute fields of type GUID? I've created a UniqueValueRenderer that has a default symbol. If I do: renderer.Fields.Add("OBJECTID"); or ...
1
vote
0answers
47 views

IWorkspaceEdit2Proxy equivalent in ArcGis Javascript api

Is there any equivalent for IWorkspaceEdit2Proxy in JS ArcGis API ? I've gone through the whole JS API documentation and haven't seen anything that would help to implement grouping edit operations. I ...
1
vote
2answers
71 views

how to export perimeter of a drawline tool to textbox arcobjects?

I had a custom drawing tool which is available in samples of arcGIS 10.1 Sdk for .Net. When we draw a line or any perimeter on the map, and right click on the line and go to properties, it display a ...
1
vote
0answers
45 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
49 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?