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

Having trouble overwriting raster layers default property sheet

I need to Override the Property Sheet Dialog to display a custom property sheet that has a custom GUI built to analyse raster data based on transformed values. Alternatively, if I can access the ...
1
vote
5answers
727 views

Debugging ArcMap Add-In .Net 4.5 in Visual Studio 2013: Unable to start ArcMap.exe

I am developping an ArcMap 10.3 Add-In targeting .NET framework 4.5 on Visual Studio 2013. I used ESRI's wizard to build a simple button add-in and the projects debug properties are configured to ...
0
votes
1answer
264 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 ...
0
votes
0answers
9 views

arcgis VB script to create table [on hold]

I am trying to find a VB script to create a table set up like the following: What is the best way to set up my csv and begin coding this?
0
votes
0answers
14 views

Compare Street File to Annotation [on hold]

I am creating a mapbook using data driven pages. In the mapbook I have a street shapefile with a field for streetnames. I also have an annotation file with the street name labels. I want to make ...
4
votes
1answer
303 views

Get the value/description from a domain or subtype for a given field's value?

I need to get a value from an IObject.Fields.Field using ArcObjects 10.x using the criteria listed below: If the field has a subtype associated with it, I need to get the subtype name/description ...
0
votes
1answer
31 views

arcobjects 10.3.1 c#: Loading Addins programmatically

I am writing addins in C#, and am trying to load an addin. I thought i had the solution, but it seems like the full code is not loaded. The button is added to my toolbar, and code seems to run, too ...
2
votes
0answers
31 views

ArcMap Polyline Renders Incorrectly Unless Project Reloaded

I am trying to get a graphic polyline to render over top of an imported shape file. I'm using C# with ArcMap 10.2.2. The issue I'm having is that the first time the polyline is created, it merely ...
2
votes
1answer
194 views

How do I export circles from ArcObjects to WKB?

I have a small circle in SDE which I'm trying to extract through ArcObjects into well-known-binary (for later import into other systems). Using the IWkb interface I can obtain the WKB, but it comes ...
0
votes
1answer
287 views

Modifying “value” field of raster attribute table using ArcObjects? [on hold]

Can I modify the values of the "Value" field of a raster attribute table using ArcObjects, and if yes how?
2
votes
1answer
26 views

Arcobjects Assign projection transformation to layer file in VB.net

I want to be able to transform a layer from WGS1984 to OSGB1936. I created a tool that extracts layers from several folders on our company network folders, using check boxes that user clicks. One of ...
2
votes
1answer
734 views

ArcGIS Visual Studio IDE Integration Framework?

i need to integrate arcgis 9.3 with visual studio c# 2008 express edition. i found the integration framework for 9.1 but no chance for 9.3 and i've seen a lot of questions on web about it. What ...
3
votes
1answer
548 views

Building WKB from geometry using ArcObjects?

I have some points in an array,stored by user click on the map in ArcMap,and I want to build a polyline and create a Well Known Binary sequence. I use IPointCollection interface to add this points to ...
0
votes
1answer
479 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(); ...
5
votes
2answers
4k views

No constructor defined?

In my C# Console Application, Visual Studio 2010 highlights new FeatureClassNameClass() in my below line of code and states "ESRI.ArcGIS.Geodatabase.FeatureClassNameClass has No constructors defined" ...
1
vote
1answer
29 views

The type 'ESRI.ArcGIS.Geodatabase.WorkspaceClass' has no constructors defined

I am using a map application (ArcGIS Engine). I am trying to start an edit session and i want to use IWorkSpace interface in the WorkSpaceClass. but i am getting "The type ...
0
votes
1answer
26 views

TopoToRaster Tool Execute problem in ArcGIS

I am trying to execute TopoToRaster tool (ArcToolbox>3D Aanalyst Tool>Raster Interpolation>Topo To Raster) in arcGis 10.0 with .NET. Topo to Raster Input But get exceptions. My code is here : ...
3
votes
2answers
226 views

getsubcurve from multipart polyline using ArcObjects/ArcPy?

I have code which analyzes multipart polylines (roads) from the beginning towards the end. The algorithm "moves along" the road. My multipart polylines include circular junctions and branches so they ...
0
votes
1answer
352 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 ...
8
votes
1answer
131 views

In ArcMap, use python to disable “Scale map elements proportionally to changes in page size”

I am changing sources on MXDs in differents offices using ArcPy and ArcGIS 10.0. As observed here, the printer settings revert to the default printer when the instruction mxd.save() is sent. Losing ...
0
votes
0answers
15 views

How to add image to Globe using ArcObjects

I'm using ArcObjects 10.3 .NET. I need to programmatically add .jpg image to Globe. Image is not georeferenced, but I have four points for bounding polygon (not rectangle). What I need to do is ...
0
votes
1answer
255 views

Setting path to Variable to be able to open new mxd? [duplicate]

Possible Duplicate: How to define Subroutines and functions? I know its strange but I need to be able to open a new mxd into an existing one. Yes, it can be done. All I need to do is set a ...
2
votes
1answer
19 views

Spatial relationships that do not match

All, I have 2 layers as shown below What I want to do is go through each feature (in pink) and do a spatial filter against the green layer. My current code is inMemFeatCur = ...
1
vote
2answers
1k views

ArcObjects - accessing layer data table from C#

I've spent all day yesterday trying to trace all errors but I'm just completely stuck now. Google isn't helpful either. I'm trying to create a small C# tool which opens a MXD file in background and ...
4
votes
1answer
506 views

Reading data from file geodatabase using OleDbConnection?

I'm able to connect to a file geodatabase using an OleDbDataAdapter and read the attribute table just fine - from within visual studio. However, when I put the code inside a windows service it ...
3
votes
1answer
320 views

Creating installer for ArcGIS toolbar with Visual Studio 2005?

I'm working on a small toolbar for ArcGIS 9.2, Windows XP, using Visual Studio .NET 2005. I followed Esri's instructions for creating an installer: ...
1
vote
2answers
2k views

how to create table and layer in c#

I have used Make XY Event Layer to Creates a new point feature layer based on x- and y-coordinates using python and it worked for me. Now as a need of my project i want to apply the same in c# using ...
1
vote
1answer
46 views

Area of Interest of focus map in ArcObjects. [closed]

I want to change the extent (area of interest of the view of the focus map) to the bounding box of the selected features. I use the code below ( I wrote lots of classes for my project and i'm using ...
3
votes
1answer
463 views

ArcGIS 10 Addin Code Doesn't Execute on Another Computer? [duplicate]

I've created an ArcGIS 10 Addin that consists of a toolbar containing one button and one tool. The button opens a form, and the tool is disabled until the user enters some information on the form. ...
3
votes
1answer
1k views

ArcGIS 10 Add-In Does not Work on Other computers

I developed a user form that allows user to edit feature attributes in visual basic 2008. vb.net. The add-in's that I built work great on my computer, but when I tried it on another, it crashes ...
94
votes
5answers
15k views

How do I access ArcObjects from Python?

I would like to be able to script some things that are not exposed via arcgisscripting or ArcPy. How do I access ArcObjects from Python?
1
vote
1answer
33 views

Exporting a raster with renderer enabled to file

I have a problem when trying to export a layer with renderer to a file. Basically, what I have at start is a correct IRasterDataset. Then I define a stretch renderer in form of IMultiPortColorRamp and ...
2
votes
2answers
3k views

How to create a graphic point by xy value?

I have implemented this code to create point event layer by xy text file, however I'm wondering how to create a point graphic by xy value? This script draws point graphic by mouse down. When I ...
10
votes
1answer
3k views

Is there a line symbology that also shows vertices?

Is there such a thing as a line/vertices symbology? If not a workaround? In some situations, particularly when editing, I would like to see my lines as well as all the vertices similar to the effect I ...
2
votes
1answer
187 views

Programmatically get Layer source properties DataType with ArcObjects?

I am trying to access the DataType property of a Layer in the TOC in ArcMap. The layer is added from a web service as an IMapServerRESTLayer. The Data Type property is listed with Layer -> ...
3
votes
2answers
958 views

How to apply new renderer in ArcObjects?

I try to create a new renderer for a geo feature layer in ArcGIS 10. (My project is an asp.net based webservice) There is one solution I got from a tutorial that works, but only for a ISimpleRenderer ...
3
votes
1answer
449 views

Draw text in PageLayoutControl in OnAfterDraw?

I have a PagyLayoutControl in a print preview dialog. It shows the same extent and layers as the master MapControl. Both controls are not syncronised, because changes made in the PageLayoutControl ...
4
votes
2answers
527 views

Uniquely identify feature classes & compare them for equality using ArcObjects?

I want to implement EqualityComparer<T> for feature classes so that I can stuff them into a Dictionary or HashSet. For motivation, say that I am looping over many IFeature objects which belong ...
1
vote
1answer
27 views

Remove feature class from group layer in C#

I have a large program that pulls in various group layers and feature classes. What I am trying to do is check each feature class within a specific group layer that is empty. The count part is easy ...
2
votes
0answers
28 views

How can I get representation geometry created by rules (not manually overrided) using arcobjects.net?

I have feature class with representation rules and now need to extract representation geometry from selected features. If representation geometry is manually overrided, I can get it just using ...
0
votes
0answers
22 views

Check if feature class has at least 1 shape that overlaps raster

In ArcGIS 10.3.1 ArcObjects, Zonal Statistics As Table throws ERROR 999999: Error executing function. when the input feature class has no features that intersect the input raster (as nearly as I can ...
1
vote
0answers
254 views

Relative Path not working in ArcMap and ArcObjects

I'm using ArcMap 10.0 and Windows 7 64 bit. I'm trying to set a relative paths for my MXD file. My MXD is located at C:\workspace\rastertest.mxd and the data is located at ...
2
votes
1answer
531 views

Check for licensing level in ArcGIS 10.2.2 [closed]

I am in process of migrating some legacy code from 10.0 to 10.2.2. As part of application, I need to make sure user is using ArcEditor (now called Standard) level license. Current logic looks at the ...
2
votes
1answer
246 views

Refreshing display for newly added labels with ArcObjects from Python?

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 ...
3
votes
3answers
2k views

IFeatureCursor.NextFeature not releasing memory

I've got a non recycling cursor retrieving features into a List<IFeature>. When I populate the list, I can see my memory usage climbing up. When I discard my list (or it goes out of scope), ...
0
votes
1answer
177 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 ...
2
votes
2answers
53 views

ESRI forms using hooks

This has been bugging me for a while. I can easily call a form from a button using ShowDialog() if I use standard vb.net windows form. However when I use the ESRI addin dockable window which uses ...
2
votes
1answer
380 views

Can I update the service on ArcGis 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 ...
3
votes
1answer
46 views

Passing in complex parameters to geoprocessing tool?

I'm currently using the Statistics geoprocessing tool (called Summary Statistics in the UI) from ArcObjects. This tool accepts two "complex" (for lack of a better term) arguments: Case fields ...
3
votes
1answer
690 views

Setting CQL_FILTER on WMS in ArcGIS?

Is it at all possible to use a CQL_FILTER on a WMS service in ArcGIS? Ideally we'd be able to programatically change the CQL_FILTER parameter in the WMS URL.