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

hold some data at layer object

Is there in arcobjects the ability to store some data at the layer in table of content sth. like ILayer.Tag or an Interface which I can misuse for this?
2
votes
1answer
44 views

Create Feature Class from another Feature Class

I have a Feature Class and I want to create another Feature Class that is basically a subset of the first Feature Class. For example, I have a Feature Class containing public parks which I want to use ...
1
vote
2answers
67 views

AddIn button/tool force Arcgis 10.2.2 to close

Issue : AddIn button/tool force Arcgis 10.2.2 to close. Development environment: Visual Studio 2013, .Net framework 4.5 (I tried with 4.0 also), Arcgis for desktop 10.3 Works fine on development ...
1
vote
1answer
140 views

Spatial reference does not match data frame for Bing Maps

In ArcObjects I am loading Bing Maps as a base layer. It's coordinate system is esriSRProjCS3Type.esriSRProjCS_WGS1984WebMercatorMajorAuxSphere. On top of the base layer, I am trying to load points, ...
0
votes
2answers
45 views

Converting dimension feature into image using ArcObjects?

I have a task to convert dimension feature into image with ArcObjects. I need to get real image that I see in ArcMap (with right size and spatial reference, of course) instead of turning feature ...
2
votes
1answer
82 views

ITopologicalOperator::Simplify not removing self-overlaps

I maintain an application whose main job it is to take esri-ish things from users and turn them into sql spatial objects in our database (2008 R2). Below is an excerpt that may be useful: public ...
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
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; ...
0
votes
2answers
68 views

How to change Raster symbol values (Unique Values) in ArcObjects

I want to change Raster properties symbology using with Arcobjects. Unique Values change as per below attached snapshot. Dim pWSFact As IWorkspaceFactory Set pWSFact = New RasterWorkspaceFactory ...
1
vote
2answers
58 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?
1
vote
2answers
162 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
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 ...
1
vote
1answer
37 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 ...
0
votes
0answers
53 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 ...
0
votes
2answers
47 views

Is the ArcObjects SDK for .NET available with an ArcGIS for Home Use or free trial license?

I currently have a 6 month free trial of ArcGIS Desktop 10.1 that I got online with an authorization number from an Esri Press book and I've read that ArcObjects is bundled with the Desktop license ...
4
votes
1answer
82 views

Multiple features within a single feature layer with different geometries

I am working with ArcObjects SDK 10 for .NET. There is already a geospatial database at my disposal. So I am trying to map its spatial context to ArcObjects context. We have objects like state, ...
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 ...
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 ...
0
votes
1answer
23 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
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
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 ...
-4
votes
1answer
62 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 = ...
2
votes
1answer
48 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 ...
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 ...
2
votes
1answer
42 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
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 ...
1
vote
1answer
44 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
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 ...
2
votes
1answer
37 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 = ...
0
votes
1answer
35 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 : ...
1
vote
1answer
73 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 ...
1
vote
1answer
60 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
61 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 ...
8
votes
1answer
165 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
26 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 ...
2
votes
2answers
76 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
0answers
101 views

“Geometry cannot have Z values” exception in ArcGIS Engine

I'm trying to put a list of point features (selected points) into a new FeatureClass. but when I add them to my FeatureClass I get the "Geometry cannot have Z values." exception on the line ...
2
votes
1answer
65 views

Getting point from known points to specific distance of polyline using ArcObjects?

I want to know the coordinates of a polyline from specific point and distance. I have attached image to clear the specification. say, I have a points B(2,3). I want to know the coordinates of A and C ...
2
votes
1answer
69 views

Putting features (IFeature) into ifeatureclass with ArcGIS Engine?

I am trying to get the selected features from axMapControl and put them in a new feature class. I can get the selected features but when i'm trying to put them in a IFeatureClass and then cast it as ...
0
votes
2answers
44 views

How can I set Changed flag in ArcMap using ArcObjects.NET?

In my task I changes representation geometry in selected features. When I edits something in ArcMap manually, question dialog about saving changes causes: Editor - Start editing Edit geometry Editor ...
3
votes
1answer
73 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 ...
4
votes
1answer
90 views

Can I compile an addin developed in ArcGIS 10.3.1 for use with 10.1 and 10.2?

I made an update to one of my addins mainly because users requested new features. I made the changes and compiled the addin in 10.3.1. Although I specified that the addin is compatible with 10.3 and ...
1
vote
1answer
46 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
1answer
80 views

x, y to decimal degrees on mouse click in ArcObjects?

I am converting an old VBA code I used to use in ArcMap 9.2, into VB.NET for ArcMap 10. It should extract x, y coordinates from OSGB and converts to decimal degrees while copying to clipboard. I ...
3
votes
2answers
57 views

Fetching single value without Cursor in ArcObjects?

I used the below function to get the single value using ArcObjects. private string getApproverAlias(string checklistId, bool isDeleted) { string approverAlias = ""; var masterTable = ...
1
vote
1answer
25 views

exporting 10.2 .esriaddin to 10.0

I have successfully exported .esriaddin I created in 10.2 Arcobjects SDK to 10.0. The installation succeeded but the problem I am having is that whenever I use the command me.Close() to close the form ...
5
votes
1answer
150 views

Python and ArcObjects- Stand Alone open MXD

I wrote a Python function using comtypes to access ArcObjects to programmatically change the size of layer symbols in an MXD. The function works great in the Python window of ArcMap. However, I need ...
2
votes
1answer
75 views

How can I access system tables using ArcObjects

I have a case to get the maximum of year value from the table schema in GeoDatabase. More detail: I have a table named SUPPLYMASTER it contains the columns like Supply2000, Supply2001, Supply2002, ...
2
votes
1answer
27 views

How to extract points off a polyline at certain distances using ArcObjects using VB.Net

I am trying to extract longitude and latitude of points from a polyline shapefile at certain intervals(10-50m). Using ArcGIS I was able to do using Densify followed by Feature Vertices to Points in ...
1
vote
1answer
114 views

Arcobjects vb.net forms in Arcmap 10.0

I am trying to create a basic form using ArcObjects (Vb.NET) to view in Arcmap 10.0. I have created the form using the designer but cant view it in Arcmap. I have created a button that will call the ...