Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [arcobjects]

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.

Filter by
Sorted by
Tagged with
-2
votes
0answers
23 views

VBA Code for spatial join with match option Intersect of point and polygon [on hold]

I need VBA code for spatial join with option intersect to point and polygon. In IBasic Geoprocessor - Intersect is working only for line and polygon not for point and polygon. Is there any sample ...
0
votes
0answers
20 views

ArcCatalog doesn't run program

I've designed a program in which: user selects their input directory, the source of the shapefiles user selects their output folder, where their file will end up user names their resulting Excel ...
1
vote
0answers
38 views

Editing MosaicDataset attributes

I am trying to access and edit a MosaicDataset (I need to edit the MaxPS/MinPS fields) but I cannot find a way to access them programmatically. Does anyone know how can I edit these fields?
1
vote
1answer
85 views

Using ArcObjects in ArcPy to change map grids in Data Driven Pages

I'm a newcomer to Python and have been working on using ArcPy scripts to automate Data Driven Pages in ArcGIS. I would like some help please to use ArcObjects in ArcPy and change map grids in DDP with ...
1
vote
0answers
12 views

ArcObjects and JavaFX [closed]

I am trying to export my ESRI add-in to ArcCatalog. I have access to ArcGIS for Desktop. I do not use Arc Runtime. I have created a java small program, and I'd like to kick it off with a button. ...
3
votes
1answer
446 views

Setting Up Snapping Environment Snapping Type using ArcObjects

I try to setup snapping environment snapping type by referring to this source (http://resources.arcgis.com/en/help/arcobjects-net/conceptualhelp/index.html#//0001000001s1000000) but I can't combine ...
2
votes
1answer
27 views

Using IAddDataDialog2 to obtain layer from .gdb with ArcObjects and C#

I am using ArcMap 10.4.1. I cannot figure out how to properly initialize/create IAddDataDialog2 in C# to access a .gdb file in which I'm suposed to find a layer that I want to add in my TOC. I tried ...
2
votes
0answers
412 views

Tutorial on migrating Add-ins from ArcGIS 10.x (ArcObjects) to ArcGIS Pro for Microsoft VB.NET? [closed]

I can't seem to find any comprehensive tutorials on migrating (recreating comparable functionality) of 10.x (ArcObjects) VB.Net Add-ins to ArcGIS PRO SDK Add-ins. When migrating from Avenue, ESRI ...
1
vote
1answer
31 views

Getting subtypes from standalone table in ArcObjects

I have been working in the next code to get all Subtypes from a standalone table in a single string that concatenates it. I work with ArcMap and arcobjects library in C# (sharp) lenguage. But I can ...
1
vote
0answers
124 views

Refreshing IDockableWindow with DGV using C# [closed]

I am having a IDockableWindow which will display a row of data which is a DATATABLE on DGV. below is my code. Page1.cs: private void toolStripMenuItem_Open_detail_page_Click(object sender, ...
1
vote
2answers
58 views

Set available orientation to toolbar in ArcMap using ArcObjects

We are creating a very huge extension for ArcMap and in the process, we have created a lot of new custom toolbars. These toolbars contains both buttons and custom controls. These custom controls can ...
2
votes
1answer
210 views

Access to ArcObjects DLLs on a build server using Nuget

We're in the process of standing up a new build server--Jenkins on Windows Server 2012 if that matters--and are attempting to configure it to build a solution that uses ArcObjects (currently at 10.2.2,...
1
vote
1answer
837 views

Joining and Calculating using ArcObjects with vb.net

I'm trying to join an excel table to a shapefile and then calculating those fields using vb.net. The code I have written has no errors, but won't work when I try it in ArcGIS 10.1 and I'm out of ideas....
-1
votes
1answer
780 views

Loading geodatabase file with C# code

I'm trying to get a pixel value from my geodatabase. The problem is at loading the geodatabase file (.gdb). Using this code Geodatabase gdb = new Geodatabase(@"C:\Data\Scotland.gdb"); Raster ...
0
votes
2answers
60 views

Reason of mismatch of projection system of rasterlayer and featurelayer?

What I would like to check is if the raster layer and feature layer have the same projection. Code developed so far: public void SpatialReferencEquality() { var rasterLayer = ((ILayer)comboBox1....
1
vote
1answer
22 views

ArcMap - ArcObjects IGeoFeatureLayer Renderer is giving a NullReferenceException

Refactoring a VBA add-in into VB.NET add-in. I'm getting: An unhandled exception of type ' System.NullReferenceException' occured in MyAddin.dll Additional information: Object reference not ...
0
votes
1answer
692 views

Severe performance difference using deleteSearchedRows [closed]

The issue I am having involves two versioned tables. A function deletes 48 rows from Table A and and 48 rows from Table B using deleteSearchedRows. However, the delete from Table A takes roughly 4 ...
1
vote
1answer
233 views

Running ArcGIS Engine in Java 7?

Does anyone know if it's possible to run ArcGIS Engine 10.2 in Java 7 ? Currently in Java 6, I need to use both ArcGIS Engine 10.2 and Java 7 functions in the same standalone program. (I don't talk ...
1
vote
1answer
139 views

Show updated xy coordinates 'live'?

I want to create add-in tool to show x y coordinate on status bar live. protected override void OnMouseMove(ESRI.ArcGIS.Desktop.AddIns.Tool.MouseEventArgs arg) { //this.Enabled = !...
1
vote
0answers
41 views

Opening Raster with “bad” vertical coordinate system crashes program

I have an elevation TIFF file that comes from another program that seems to have something wrong with its Vertical Coordinate System. The coordinate system is EGM96 Geoid. I cannot open this TIFF in ...
3
votes
1answer
1k views

Importing shapefile to file geodatabase feature dataset using ArcObjects and C#?

I'm trying to import a shapefile into a featuredataset under a geodatabase using FeatureDataConverter.ConvertFeatureClass. All the examples that I found are not concerning the import under an existing ...
1
vote
0answers
57 views

Loading WFS via QuickImport from ArcGIS Data InteroperabilityTools [closed]

For a project I have to load a WFS layer in ArcMap programmatically. Since Version 10.0 there is no ability to use the FMEWorkspace as discussed here. The only way to load WFS-Data to ArcMap is to ...
1
vote
0answers
454 views

Getting AddIn to appear in customize mode categories? [closed]

I was hoping that someone here might have tried this, it seems like it could be a simple error somewhere. I was running the sample AddIn that was provided by ESRI and it worked fine until I tried to ...
0
votes
1answer
61 views

Editor Tracking: What is the mechanism behind this functionality?

I have Editor Tracking enabled on a table in an Oracle enterprise geodatabase (versioned): Tracking an editor's changes to data says: ArcGIS automatically records new editor tracking values ...
1
vote
4answers
7k views

Zooming to selected features with ArcObjects

I am trying to figure out how to set the active view extent to be able to view all the selected features on the ArcMap. The Map has only one layer. The features are filtered with attributes. Below ...
0
votes
0answers
19 views

Calling .net DLL by using ArcPy [duplicate]

I had developed a tool by using C# (ArcObjects) and I want to (import that customized DLL and) call a particular function from that class by using ArcPy. How can I achieve this?
0
votes
0answers
39 views

ArcMap 10.5 not opening when executing ArcObjects in Visual Basic 2015

When executing Visual Basic 2015, the following error appears A debugger has been found running in your system. please unload it from memory and restart your program.
1
vote
1answer
51 views

Disabling Start Editing command using ArcObjects?

How do I disable the Start Editing button in ArcMap when an added ArcSDE database version is the default? IMxDocument pMxdoc = m_application.Document as IMxDocument; IMap pMap = pMxdoc.FocusMap; ...
3
votes
1answer
624 views

ITopologicalOperator and Z Values

I have 2 polygon featureclasses with Polygon ZM features. I am trying to do a ITopologicalOperator.Difference() on these feature classes but it errors saying that: Geometry cannot have Z values ...
1
vote
0answers
64 views

Previewing raster catalogs raster field in Windows form? [closed]

What I want to achieve: The attribute table for an ArcGIS Raster Catalog contains a raster field. When a raster field cell is clicked with the mouse, a preview window displaying the raster ...
5
votes
1answer
791 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 line,...
5
votes
1answer
399 views

Opening ArcMap in Maximized State in C#?

I am running windows 7 enterprise with ArcMap 10.2 l have an application that processes data, when the data is finished processing I have a button that will show the results in a datagrid. From this ...
5
votes
1answer
1k views

Determining if spatial reference Geographic or Projected using ArcObjects?

I have the user select a coordinate system with the Spatial Reference Dialog. Is there a simple way to determine if the resulting spatial reference is a Projected or Geographic CS? I would have ...
0
votes
1answer
75 views

ArcObjects Error HRESULT E_FAIL has been returned from a call to a COM component

When you run a Python script from ArcObject .net, an error occurs, all parameters are correct. ArcMap 10.6 import arcpy from arcpy import env arcpy.env.overwriteOutput = True env.workspace = arcpy....
0
votes
1answer
207 views

Making point move to right or left using ArcObjects?

I want to make a point and the point can move to the right or to the left. To make the point I can handle it , but I can already confused in the movement of the point. This code for draw point ...
0
votes
1answer
30 views

Duplicating feature layer with ArcObjects?

After opening a MxD document and getting the main map then a feature layer, I want to duplicate the layer with ArcObjects in order to inherit its properties (symbology, layer def and labelling). Then, ...
0
votes
1answer
960 views

Displaying selected features in ArcGIS Identify Dialog using Visual Studio 2010/ArcObjects?

I'm brand new to ArcObjects SDKs and am struggling. I have a Python Add-in performing a query to select records (works great)and now trying to call the identify dialog via an .NET addin button that ...
0
votes
1answer
37 views

Getting the difference between a multipart feature and a single feature using Itopologicaloperator

I am creating a C# addin for ArcGIS Desktop, where one of the functions is to create a feature from the difference between 2 other features. In the image below, I want to be able to create a new ...
0
votes
1answer
131 views

Getting features from given geometry in map using ArcObjects with C#?

I am trying to get features from a given geometry (getting only layers ). This is not selection. The validate part I will be doing using configuration. But I am not able to get the features from the ...
1
vote
1answer
27 views

Programmatically open Viewer/Magnifier window in ArcMap 10.2+

Is there a way to programmatically open Viewer/Magnifier etc. windows of ArcMap from Add-In? I am using 10.2, but anything 10.2+ will be fine.
1
vote
2answers
132 views

Using ArcMap API to find coordinates of points in shapefile? [closed]

I need to find some reference or even C#.Net example code of how to use the ArcMap 10.2 programmers API. I have got a CSV file with X, Y and elevation coordinates of soil samples and I want to write ...
0
votes
1answer
407 views

Cannot run toolbox model from button

I have a button on my toolbar that when clicked, will run a particular model, I have copied the code from here http://resources.esri.com/help/9.3/ArcGISEngine/com_cpp/samples/com/Geoprocessing/...
0
votes
1answer
156 views

ArcObjects(Java) - register table to geodatabase ESRI 10.3

We are in need of connecting to the Oracle SDE schema for registering Tables to the sde schema using only ArcObjects(Java) is it possible to do that with no dependency. Assume the geodatabase was ...
0
votes
1answer
142 views

Create feature class with ArcObjects in SDE geodatabase returns No editable Layer

I Want To create Feature Class in an enterprise geodatabase with ArcObjects. This is the small part of the our plugin. In our case, we want to Create Feature Class in the database Identical to the ...
1
vote
1answer
38 views

ArcMap - ArcObjects Text in Layout mode not showing

Refactoring VBA to VB.NET and most parts of the code is working expect for the part where I want to show the layername with today's date in the layout mode (pTextElement.Text) Any ideas why the text ...
0
votes
1answer
100 views

How get the toolbar added with 'OnCustomizationEvent' from interface 'ICustomizationFilter'?

I'm implementing the interfaz ICustomizationFilter, and using the event 'OnCustomizationEvent' of this way: public sealed partial class eManager : Extension, ICustomizationFilter { public bool ...
1
vote
1answer
393 views

ArcObjects OnChangeFeature event not firing unless you move feature

I am displaying points, lines and polygons on ArcMap as features with an addin. I want my end users to be able to change features (move geometries, add vertex, delete vertex etc) and get the updated ...
0
votes
1answer
106 views

With in Version Difference (DifferenceTypeUpdateNoChange) how to pass IQueryFilter in ArcObjects

I want to know only real shape edits between 2 versions. How can I pass iQueryfilter to DifferenceTypeUpdateNoChange? public void DifferenceTypeUpdateNoChange(ITable sourceTable, ITable ...
1
vote
1answer
385 views

Adding new menu item to ArcCatalog using ArcObjects?

I'm trying to a add a new menu drop down to the ArcCatalog menu bar. I tried to use the built in ArcGIS base menu template in Visual Studios 2010 but no luck. I also tried to manually add the dll ...
10
votes
2answers
1k views

Using .NET Generics to store ArcObjects?

What are the implications of using Generic types in .NET to store ArcObjects, such as ILayer, IField, etc? The compiler throws me a warning when using these kind of values public class Foo { ...