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)

2
votes
1answer
200 views

Standalone program can see license

I used standart license initialization code in C# standalone program. It was working perfectly on 10.1 and 10.2. But after migrating to 10.3 it says Licenses are not available. Meanwhile ArcMap and ...
0
votes
1answer
226 views

cad to shapefile conversion

i have use arcgis10.1,arcobjects.net. i did following code ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ...
0
votes
1answer
192 views

Removing unused references in ArcObjects vba?

Can anyone suggest me how will I find and remove unused references used in a project done in ArcGIS 9.3.1 vba.
8
votes
1answer
424 views

What is the function of the ESRI.ArcGIS.AddIns.targets file?

I am currently upgrading from 10.2 to 10.3 and as expected there are always some issues with recompiling addins and upgrading the the visual studio version. There is now a known issue for which ...
4
votes
4answers
206 views

Navigating ArcObjects Object Model Diagrams (OMDs)?

How does everyone get round navigating the different Object Model Diagrams (OMDs)? I can work with single interfaces no problem, but when i have to use multiple interfaces I struggle to get my head ...
2
votes
0answers
17 views

Serialize geometry to GeoJSON with ArcObjects

In the ArcObjects developer SDK, I found that the IExternalSerializerGdb2 interface of the JSONSerializerGdb class supports writing to GeoJSON. ArcGIS Developer Help (ESRI.ArcGIS.Geodatabase) ...
0
votes
0answers
179 views

Assigning list or array to IRowBuffer Row without Row.set_Value()?

Is it possible to assign a list or array to IRowBuffer Row? I have something like the following: I have a fields (list) with values and i have to fill a Row with that values. public void fillRow(...
3
votes
1answer
859 views

Changing symbol and legend of feature class in ArcMap using ArcObjects?

I want to change the symbol of features and legend programmatically. When I use this code Dim pSymbolSelector As ISymbolSelector Set pSymbolSelector = New SymbolSelector Dim pMarker As ...
0
votes
1answer
291 views

Create a new BasicOverposterLayerProperties

ArcGIS 10.1 with VB.NET I have been trying to figure this out for days but can't seem to make the connection. For a layer I am trying to create a label. I create a new BasicOverposterLayerProperties ...
0
votes
2answers
72 views
+50

Drawing markers and text on ArcGIS map, at fixed size, independent of zoom?

I'm writing a WPF application, in C#, using ArcObjects. I have an ESRI.ArcGIS.Controls.AxMapControl on my form, and I'm trying to draw some graphics elements on top of it. The map I'm developing ...
2
votes
0answers
63 views

How to connect to secured ArcGIS server shared on AGOL with ArcObjects

Our organization is hosting secured ArcGIS Server geodata and map servers (token based). The services are shared on ArcGIS Online, where specific AGOL users in a group are allowed access. Now I want ...
0
votes
1answer
528 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
219 views

ArcObjects 10.1 IDatabaseCompact lock file

I'm trying to automate one of task by creating code that will execute the IDatabaseCompact.Compact method to a GDB file. Everything seems to work fine but there is always a .lock file generated after ...
1
vote
1answer
308 views

Eclipse export as runnable jar file error

I am building a destop application , which takes user input for personal geodatabase and finds feature class in it . It works fine till i run it in eclipse , but when i export it as a runnable jar ...
1
vote
1answer
206 views

Connect to remote Sqlserver using arcobject

I want to connect to a database assigned to a vps with an ip address.I used this string to connect to Database when it was on localhost. how I change it to connect to remote one? ...
0
votes
1answer
233 views

Code to get featureclass name from existing topology

I am creating and validating topology through vb.net and arcobject code.Things are running fine as I am able to add rule and validate it . Problem is when once the program is run and topology is ...
1
vote
1answer
42 views

Can I simulate the user interaction described with a series of scripts/tools/buttons? [closed]

I’m trying to find the best solution for adding/update a new/old record in a feature class in ArcMap 10.3 environment using a GUI. I’ve done some research for the last couple of days trying to ...
3
votes
1answer
663 views

Is it possible to undo and redo outside edit session in ArcObjects?

I would like to know if it is possible to undo and redo changes outside of an edit session? If yes, how can I do it in ArcObjects using .NET? I am working on an ArcSDE 10.1 versioned geodatabase?
1
vote
1answer
937 views

Converting FeatureLayer to graphics using ArcObjects?

How do I convert a Map or FeatureLayer to graphics on ArcObjects 10.1? Problem Solved this is the working code: private void Convert_to_graphics( IMapDocument doc) { IMap pmap; ...
-2
votes
1answer
241 views

On Mouse Up Event in ArcMap Add-In? [duplicate]

Does anyone know how to wire up mouse events on a map document? I have found a bunch of example code on how to wire up Add-In tools, but the Add-in I'm creating is a button. It should be as easy as ...
1
vote
1answer
279 views

Handling mouse events for tool called by button?

I have a dockable window with a 2 buttons that call 2 different tools (Draw Marker and Select Features), What i want to happen is when the user clicks on the relevant button on the dockable window and ...
0
votes
1answer
36 views

Convert lat/long to arbitrary projection?

I'm writing Windows WPF application using ESRI's axMapControl, and I need to display points on the map, where the points are in lat/lon (WGS 1984), and the map projection is determined by the user. (...
2
votes
2answers
464 views

Create FeatureClass in Personal Geodatabase and store data

I have to create a new featureClass in my existing personal GeoDatabase. And save some polylines into this featureClass. How can i do it? I need c# code to do this. Edit: I have a problem during ...
3
votes
1answer
80 views

Not getting all decimal places when converting numbers to string (ArcObjects with VB .Net)

I would like to build some queries in my addin from layers in my map. I am having problems with double numeric types. esriFieldTypeDouble has 14 - 18 decimal places or more depending on the database ...
1
vote
1answer
28 views

Alter Esri geoprocessing environment settings with C#

I maintain an extension to ArcMap (currently at 10.2.2) for coworkers' internal use. Several people lately have been tripped up by un-set spatial grid settings when trying to export data into a file ...
0
votes
0answers
19 views

C# Arcobjects Adding multiple fields from selected features to datagridview

I'm fairly new to developing add-ins in c# and I'm trying to write multiple fields of selected features to a datagridview. Currently, the code will only display one field. I've been playing around ...
0
votes
1answer
29 views

Exporting map with arcobjects interupted by refresh event

I have developed an ArcMap extension in C# for ArcGIS 10.0 with a Form that configures the PageLayout and exports the ActiveView as PDF. There are two different ways to do that. You could use ...
3
votes
2answers
49 views

ArcObjects: Is there a way to insert an error into the Start Editing dialog

When I use the the Editor Start Editing toolbar item, a dialog with information, warning and error appears before the edit session is started: Is it possible to insert programatically my own error ...
0
votes
1answer
208 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
730 views

Drawing in ArcGIS Engine?

I am trying to port over a large amount of code for drawing lines, bitmaps (with transparency), and text onto our map display. Originally it was done using Dynamic Display and IDynamicMap but that is ...
1
vote
1answer
12 views

ArcObjects: identifier for ICommandBars.Find

I am looking for the identifiers for the method ICommandBars.Find(object identifier) method in the ArcObjects. During web search I found the following page, that used the class ArcID, but I cannot ...
0
votes
1answer
26 views

ArcObjects: Is there a possibility to cancel stopping an edit session in BeforeStopEditing event

I have additional data to be stored when an edit session is saved. If the storing of the data fails (it is located on an internet service) the edit session should not be saved, otherwise data would be ...
0
votes
1answer
565 views

Debugging InvalidCastException was unhandled by user code error from ArcObjects DataStat?

I have some code that adds a bunch of group layers into ArcMap based on a table within ArcMap. The code works fine in VBA, however in VS 2010 I get an error on the "pEnumVar = pDataStat.UniqueValues" ...
6
votes
1answer
465 views

Creating a VB.net Dataset in Visual Studio 2010 from an SDE Geodatabase

I am building an ArcMap Addin that contains several Windows Forms with controls that need to be bound to a database. I am trying to decide whether or not to use a native SQL Server Database or an SDE ...
1
vote
2answers
194 views

How do you make a field read only using Arcobjects?

I have created add-in toolbar with C# arcobjects. I am creating some empty geodatabase shapefiles. While creating featureclass i want to assign some default value to attribute and then make it read-...
1
vote
0answers
20 views

Make IDataElement from in memory featureclass

I'm trying to do some fieldmapping, but need to make a dataelement from an in-memory featureclass in ArcObjects to pass to the geoprocessor. Basically, this line from the sample code: IDETable ...
0
votes
1answer
663 views

How to call a GP service from ArcObjects in .NET using ArcGIS Engine 10.2?

I published and successfully accessed a GP service in ArcMap 10.2, but I couldn't make it work in my .NET program using ArcObjects 10.2: IGeoProcessor gp = new GeoProcessorClass(); gp....
2
votes
1answer
46 views

Creating a Line at a Length and Angle in WGS84 - Arcobjects

I need to draw a line at desired length(around 10-20 Km length) and a user entered angle. The map/data uses WGS84 coordinate system. So the measurement is geodesic. Here are the methods that I tried. ...
3
votes
1answer
38 views

How to use ArcGIS FeatureToLine with Managed Assembly

I am writing an ArcMap Add-In to combine multiple shapefiles and then run some custom python scripts on the resulting shapefile. However I cannot seem to get the Geoprocessor working to run the ...
1
vote
1answer
28 views

How to turn off the visibility of a layer?

I'm making a geoprocessing tool with ArcObjects Java (IBasicGeoprocessingTool) and I need to make a layer not visible. I managed to get this layer as IFeatureLayer and I get an access to the map or ...
7
votes
4answers
3k views

How can you find ArcGIS version programatically?

Is there a way using ArcObjects.net to find out what version of ArcGIS is installed on a machine (i.e. 9.3., 10.0, 10.1)?
0
votes
1answer
16 views

What file did esriControls.ControlsOpenDocCommand open?

I'm working on a Windows application, using ESRI's ArcObjects. In the ArcGIS 10.4 Engine ToolbarControl, I'm placing a esriControls.ControlsOpenDocCommand. With this, the user can select any .mxd ...
0
votes
2answers
75 views

ArcObjects C#: How to add selected features to a Data Grid View

[![enter image description here][1]][1]I'm trying to write a C# .NET add-in for ArcMap and I need some help. I want to be able to select a set of features in an SDE and then click a button that would ...
2
votes
1answer
439 views

Can I update the service on ArcGIS for Server programmatically?

There is Windows Service. This service adds user raster data to the Raster Dataset in sde database. The Raster Dataset registred on the ArcGis Server. This Raster Dataset also was publishing on ...
0
votes
1answer
23 views

Unable to populate required data in combobox

I am new in C#, I was given a VB code to migrate in C#. I have done most of it but not able to populate data in COMBOBOX. On clicking the dropdown button, Combobox is blank, on clicking the blank box ...
0
votes
1answer
316 views

vb.net arcobjects enable customized context menu item only if a feature is selected

The solution may be very simple, but I haven't made it work. I want to enable a data view context menu item only if a feature (in polyline layer) is selected, all other places the item should in grey....
3
votes
1answer
184 views

Row.Value returns rounded SHAPE.area and SHAPE.len values?

I have created a VB.Net Add-In, and am using IRow to get the value of fields in tables in ArcMap to use in a query. But I am encountering a problem when getting the values of the SHAPE.area and ...
0
votes
0answers
18 views

Creating multi-row toolbar in ArcGIS Engine?

I am using ArcGIS Engine 10.1 and Visual Studio 2010 I created a MapControl App, (New Project>Visual C#> ArcGIS>Extending ArcObjects > MapControl Application) and added a toolbar (In MainForm and ...
1
vote
1answer
186 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
31 views

Failed to create raster dataset using ArcObjects?

I am currently unable to create a raster dataset. These are the 2 functions i have for creating the raster dataset but it seems to always throws an error "unable to create raster dataset". After ...