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
2answers
605 views

Bug in ControlMapMeasureTool? “Measure An Area” creates a duplicate dialog in ArcGIS Engine 10

When we add a measure tool to the AxToolbarControl through the properties dialog, we can change to measure length and area in the dialog that pops up. But when we add a ControlsMapMeasureTool through ...
2
votes
1answer
752 views

Is there any way to perform spatial filter on multiple layers together?

I have a scenario where a featureclass[Child Version] is queried for some overlapping features on [SDE.DEFAULT] Version using ISpatialFilter, After getting few result, these features are looped and ...
2
votes
1answer
286 views

Visual Basic Error while Creating a new UIButtonControl

I am trying to add a new form that a programmer sent me for a specific UIButtonControl. When I import the form into Visual Basic following the steps they sent me, it imports the form as a module ...
2
votes
1answer
873 views

Symbolizing layer with graduated colors using ArcObjects?

Can anyone tell me how to use isimplerender interface to symbolize a polygon layer with graduated colors according to a value of a field such as "population"? I've used the interface ...
2
votes
1answer
549 views

Adding ILayer to IMap in ArcGIS Server?

I wanted to add ILayer to IMap, i think it has been added but problem is that it does not display it on the website. I am running ArcGIS Server 10, using visual web developer 2010 express edition ...
2
votes
2answers
1k views

Copying Symbology between layers with different numbers of features

I am working on copying a layers symbology to a number of other layers which have the same geometry, table structure etc, etc but not the same number of features. I have a state wide layer and I ...
0
votes
3answers
2k views

Unselecting Individual Selected Features using ArcObjects?

In my Add-In built using .NET ArcObjects/C# with Arc 10.0 I would like to be able to programmatically unselect a subset of all selected features gathered through a reference to ...
1
vote
1answer
2k views

Creating Thiessen Polygons (Analysis) by defining external feature boundary?

Although this issue has been addressed in this post some months ago: Thiessen Polygon delineation within a Feature, the appropriate answer has not been given. So, new ideas are welcome. My question ...
2
votes
3answers
587 views

Getting map document name/path from published map service using ArcPy/ArcObjects?

I have several map services published to ArcGIS Server 10.0 SP2 and I have layer metadata files exported to HTML that I want to link to the layers in the map service. Currently the metadata HTML ...
6
votes
4answers
356 views

Filtering features using geometric attributes of polygons in ArcGIS Desktop?

Given a polygon featureclass containing many polygons of different sizes and shapes, which geometric attributes (area, perimeter, etc) could be used to filter the polygons? It's probably best to ask ...
0
votes
0answers
12 views

Editor/EditTemplate: Creates empty feature and Delete's graphic after draw

ClassModels Contain Samples which represent our Feature. The user clicks add on a classmodel to add features (or samples to it). The editor loads the tool and the correct template but when the user ...
1
vote
2answers
159 views

Visual Studio 2015 Error when running ArcMap add-in

I'm running a simple ArcMap add-in in Visual Studio and am getting this error: Severity Code Description Project File Line Suppression State Error The "ValidateAddInXMLTask" task ...
1
vote
0answers
29 views

Can not export some annotaton layers using QuickExport in ArcObjects.NET

I develops add-in for ArcMap that exports different layers to .mif format using ESRI.ArcGIS.DataInteroperabilityTools.QuickExport Geoprocessor gp = new Geoprocessor(); gp.OverwriteOutput = true; ...
1
vote
2answers
57 views

Using pop-up dialog to change properties of northarrow in ArcObjects?

In ArcMap, users could double-click on elements like north arrow and then change its properties in a pop-up dialog. I was wondering how to accomplish this using ArcObjects?
3
votes
2answers
2k views

Is there any way to set polygon features fill color and outline programmatically?

By some process I am creating a polygon feature layer. Before adding the layer in the map, I want to set polygon's fill color to no color and set polygon's outline color and width. I am working with ...
2
votes
1answer
377 views

ArcObjects ITextSymbol.GetTextSize in Python revisited: usage with StartDrawing and FinishDrawing methods

I am using ArcGIS 10.0/ArcObjects and Python 2.6. I am trying to get the usage of the ITextSymbol.GetTextSize method correct. The syntax, as established in an earlier question, is: dblx, dbly = ...
2
votes
1answer
797 views

Selecting object(s) by mouse using ArcGIS Engine?

I've got a standalone program using ArcGIS Engine, showing a map on the screen like this: AxMapControl _mapControl; AxToolbarControl _toolbarControl; // in constructor: _mapControl = new ...
2
votes
2answers
591 views

Different behavior of ArcObjects for different languages

I have the same code in C++ and C# for ArcMap. This code loads a document from disk and trying to get a picture for PictureSimbol object. But in case of C++ error occurs(HRESULT = E_UNEXPECTED ...
1
vote
0answers
30 views

LayerUILib.dll Error in ArcGIS 10.3

I am struggling to get rid of the below error, the program can't start because LayerUILib.dll is missing your computer. try reinstalling the program to fix this problem. Note: this error ...
2
votes
1answer
645 views

Running C# code from Python tool for ArcMap?

It appears that the only way to copy individual rows of data while preserving GlobalIDs in code is by using C# or VB.NET. I need to run the C# code from the above link within a python tool, and I am ...
2
votes
1answer
862 views

DTED/GeoTiff layer: Get elevation under mouse pointer

I have a simple desktop app with a map control. The map data that will be available to show will be either DTED files (Military Analyst's catalog / MADTEDLayer), or GeoTiffs (created by gdal). I want ...
2
votes
2answers
106 views

Bringing Feature Selection To Top using ArcObjects?

I'm using IFeatureSelection.SelectFeatures() to select parcel polygons in my parcel layer. It works fine until I create a ClassBreaksRenderer to apply a color ramp based on a field in the feature. ...
2
votes
1answer
859 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
1answer
45 views

Get the coordinates of the snapped and clicked point in ArcGIS Engine

I am developing an ArcGIS Engine program. I am using the code below to activate snapping to a layer programmatically. I want to get the coordinates of the snapped point (clicked point). I know I must ...
1
vote
1answer
36 views

Arcmap Addin 10.3.1: Cancel/control loading of addins, based on a condition

I'm creating Add-in for arcmpa in C# , for 10.3.1. These add-in are to help with client workflows for the business needs. I need to be able to control whether an add-in can load or not. (control of ...
2
votes
1answer
41 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 ...
0
votes
0answers
52 views

Runtime error R6034 running a java/arcobjects program

I made several programs using ArcObjects for Java always getting this error at different times of execution: If this error occurs, we just have to click OK and the program continues without ...
1
vote
1answer
142 views

How to use Intersect tool in ArcObjects

I'm trying to use the Intersect tool in ArcObjects SDK Java with two feature classes. Here is my code: public void intersectTwoFeatureClasses(Object in1, Object in2, Object out) throws ...
0
votes
0answers
53 views

Deleting redundant vertex in polygon feature using arcmap 9.3 with VB.net?

I am using Arcgis 9.3. I have polygon feature file. In the file some of the features have a redundant vertex which I need to delete. I wrote a tool using vb.net for deleting such redundant vertex, but ...
2
votes
2answers
1k views

Converting multipart polygon to singlepart in ArcObjects with C#? [duplicate]

I have a multipart feature and I need to convert it to a singlepart feature. Couldn't find any code sample. I wonder if i could get some help from you? I'm working with ArcGIS 10 and c#.
2
votes
2answers
830 views

Topological relationship between two polygon feature layers in VBA and ArcObjects? [closed]

I have two polygon feature layers: one representing land parcels and one representing roads. Some land parcels (polygons) coincide with a part of a road (another polygon feature). How can I check ...
1
vote
3answers
158 views

How to get WorkspaceCategory for a given path

I need to determine the WorkspaceCategory string (IGxDialog.FinalLocation.WorkspaceCategory) for a given path. I need this to create appropriate WorkspaceFactory and finally be able to create multiple ...
2
votes
2answers
294 views

Toolbox tool - IGPParameterEdit3 to browse for file

I'm trying to implement a custom Toolbox tool in ArcGIS, and am trying to setup a custom GPParameter that will take a file type with a specific extension. I know that DEFileType is available and will ...
0
votes
1answer
22 views

Looping through features using SpatialRelDescription

I have a 2 layers I want to go through each red feature and test it against the blue layer(which will contain multiple features). The tests to carry out for each feature are: Wholly Outside Wholly ...
2
votes
0answers
63 views

Show a datagrid in a dockable window

I am trying to show a list as a datagrid full of strings in a dockable window. I can bind the list to the datagrid but I can't for the life of me get the datagrid to show in the dockable window. I ...
0
votes
1answer
53 views

Hardwire definition query on layers in mxd VB.net

I am creating a tool that applies definition query to certain layers of the mxd. The user clicks the button and it should hardwire the definition query into the layer. This is useful if there are many ...
2
votes
0answers
24 views

Mock geometry for spatial filtering

Does anyone know how to mock IGeometry (e.g. using NSubstitute)? I want to use it within an ISpatialFilter, however I always get an exception on the last line of the code beyond. COMException: The ...
2
votes
1answer
40 views

How do you start a Toolbox tool from ArcObjects?

I want to put a couple of toolbox Tools onto an AddIn toolbar. I tried to reference the ProgIDs in the toolbar section of the Config.esriaddinx, but that didn't work (only saw blank spaces where the ...
3
votes
2answers
200 views

Anyone built a custom GPFunction in ArcGIS10 and having closing issues? [closed]

I have a custom GP function in ArcGIS 10 written in C#. When the tool is run it takes ArcGIS about 5 minutes to close (as in the application closes but in Task manager ArcMap.exe and ArcSOCP.exe are ...
-4
votes
1answer
61 views

Ora: 01036 illegal variable name/number in ArcObjects [closed]

I want to write a feature to a featureclass and use bellow code.On StopingEditing() return error "Ora: 01036 illegal variable name/number ". What am i missing? IWorkspace ws = ...
3
votes
1answer
225 views

esriFramework.appRef is null?

Trying to use the following code with an ArcGlobe Control Type t = Type.GetTypeFromProgID("esriFramework.AppRef"); System.Object obj = Activator.CreateInstance(t); Howevewr, t is coming back as ...
3
votes
1answer
405 views

Creating custom Editor Object for ArcMap and tie it to custom tool?

I have some spatial enabled tables tables in SQL Server 2008 and add them to ArcMap using custom layers(or a a spatial enabled OLE DB provider) successfully,but as you know,the editor toolbar of ...
2
votes
1answer
44 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
1k 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 ...
4
votes
1answer
489 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
48 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 ...
0
votes
1answer
298 views

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

Can I modify the values of the "Value" field of a raster attribute table using ArcObjects, and if yes how?
2
votes
1answer
45 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
745 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
562 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 ...