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)

4
votes
1answer
34 views

Zoom to a specific location in ArcMap Viewer window using ArcObjects

I'm trying to find out how to open Viewer window (menu Windows->Viewer in ArcMap) programmatically and zoom it to a specific location. This is how I can open it: IDataWindowFactory dwf = new ...
2
votes
0answers
14 views

Setting Field in ArcMap Symbology Properties using ArcObjects?

I am programmatically rendering a feature layer in ArcMap but I can't set the Field property in the Symbology properties form. This results in the layer having the correct render/breaks/legend ...
0
votes
0answers
18 views

How to set output parameter to a zip file in a custom geoprocessing function tool?

I'm trying to write a custom geoprocessing function tool in ArcObjects that I can then expose as a service on ArcServer. The output parameter will be a zip file that contains a filegeodatabase. I ...
0
votes
0answers
16 views

How to select object on the map in pan mode?

The user moves on the map (pan mode). The he clicks right mouse button. I want to select the element and then display context menu. What is the way to select element on the map in pan mode? I use ...
0
votes
0answers
14 views

Drawing polylines with angle and distance using vba

I am new to arcobjects using VBA. I have a point feature, and i want to draw polyline using point feature as starting point in desired direction and distance. And I have to draw second line basing the ...
2
votes
0answers
29 views

Adding Transparent Polygon to Map using ArcObjects?

I am creating an ArcGIS Desktop Add-In that allows the user to draw a polygon and then have it added to the map. I am able to capture the polygon and add it to the map, the issue is the transparency. ...
0
votes
0answers
23 views

Mouse Double Click Events

I would like to display a Message Box Dialog when the user activates the -esri selection tool- and double clicks anywhere on the map. or when they doubleclick any feature on the map please note that ...
1
vote
1answer
18 views

Where are Object class extension GUIDs stored in Oracle?

Where are the GUIDs for object class and workspace extensions stored in SDE for Oracle? I've looked through GDB.ITEMS but can't seem to find it. I think SQL Server stores it in an .xml column but I ...
1
vote
0answers
16 views

How to copy new data into shared Geodatabase in ArcGIS for Server using ArcObjects?

How do I need to in order to publish a geodatabase into a server or just to copy new data into the server using ArcGis Server 10.1, ModelBuilder and .NET 2010. Note : I have already a geodatabase ...
1
vote
2answers
34 views

How do I find a layer based on source name using ArcObjects?

I am relatively new at creating tools with ArcObjects and I am having trouble finding a layer based on the layer's source name by looping through all layers. I've seen here that it is possible, but I ...
0
votes
0answers
17 views

Running ModelBuilder through .NET does not always created expected geodatabase?

This code is the run a ModelBuilder through C# .NET this ModelBuilder works to convert a (.dwg) autocad file to a geodatabase but the problem is sometimes it works perfect but other times it doesn't ...
2
votes
0answers
40 views

Simple data vs non simple data in ArcGIS

I want to enter some data in a feature class with ArcObjects. In my code I use EditSession for that, but in storing data an error returned that says I must use editsession. By researching I found that ...
0
votes
0answers
14 views

Error Save to FeatureDataset in ArcObject C# [duplicate]

I have a SQL GeoDB in my server. I want to write some data in one of feature dataset and for that i use below method. public string insertdata(string tablename, List<tableRow> fields, string ...
0
votes
0answers
38 views

Referencing ESRI feature class in C#

I would like to reference an existing feature in C# web app. I have a web app written in C# that front-ends a SQL Server database. The app uses non-spatial data in general but some of the objects ...
1
vote
1answer
30 views

Snapping Agent does not work with ArcGIS 10

I'm trying to create snapping agent, I'm using the standard code from ESRI ArcObject Library, this code works perfectly on VB6/ArcGIS 9.3, but not on VB.net (3.5 SDK) and ArcGIS 10. The property ...
1
vote
1answer
42 views

ArcGIS Runtime or ArcObjects - which should I learn to become a GIS Developer? [closed]

I'm a GIS analyst hoping to upgrade to GIS Developer some day. I hope to make this switch for a few reasons: I think I can earn more money as a developer (generally true?). I'm tired of scrubbing ...
1
vote
2answers
38 views

Matching OBJECTID with a value at VBA in Arcmap

I got a building layer. And i got a table that contains 2 fields named SDE_OBJECT_ID and DOOR_NO. This table is not spatial table, it's Oracle table which i can join with my building layer if i want ...
3
votes
1answer
39 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 ...
-1
votes
1answer
47 views

Trying to execute ModelBuilder through C#?

I have a problem when trying to execute a model builder through C# the application throws: an error has occurred error hresult e_fail has been returned from a call to a COM component Note : ...
2
votes
2answers
47 views

Changing the transparency of a raster layer with ArcObjects

I'm trying to do some simple things with the .net framework and ArcObjects, but have little experience with this type of development. I would like to iterate through the layers in a map document and ...
0
votes
0answers
32 views

how to find the polyline direction in SOE

I create routing route between A -> B -> c using SOE(Using C#). From here A - Origin, C - Destination and B - Intermediate terminal It's digitized route direction is A -> B and C -> B. When i ...
0
votes
0answers
9 views

Image in ToolPalette using ArcObjects

I want to set image in ToolPalette of config.esriaddinx. How it can be possible? My code is here : <Tool id="ESRI_SelectionSample_SelectByLineTool" class="SelectByLineTool" caption="Junction" ...
0
votes
1answer
28 views

Creating Button Menu in ArcMap AddIn using ArcObjects?

What is the code to use in config.esriaddinx in order to make a Button-Menu (like that illustrated below) when using ArcObjects?
1
vote
1answer
33 views

Show Image in Menu on ArcMap

I want to show an image in a menu in an ArcMap AddIn toolbar. Here is my code in the config.esriaddinx: <Menus> <Menu id="GridViewMenu" caption="Grid View" ...
2
votes
2answers
44 views

ArcObjects interface to construct circles with segments instead of arcs

I am trying to see if it is feasible, using ArcObjects (VB.NET), to create a tool to construct circles comprised of line segments instead of arcs. I've looked over the available interfaces here but ...
2
votes
2answers
41 views

Can an ArcGIS Desktop Add-In Tool have two or more input events?

I'm trying to create an add-in for ArcMap in Visual Studio that adds points on mouse clicks and then executes some geoprocessing on those points when the enter key is pressed. So far sifting through ...
1
vote
0answers
29 views

polygon Self intersection find in arcobjects

how to get self intersection polygons in arcobjects could you please tell me how to get already i got self intersection for polyline features as per below code but it is not working on polygon ...
0
votes
1answer
22 views

how to use IMapTimeDisplay.TimeValue to get current time setting from timeslider in ArcMap

Has anyone out there used the IMapTimeDisplay.TimeValue to get the current time from the timeslider control? I cannot figure out how to properly use it. I am writing some code in VB .net that creates ...
0
votes
0answers
33 views

Get IFields without opening ITable

We are using ArcObjects 10.0 to retrieve IFields through opening ITable, which is time-consuming. Is it possible to retrieve just IFields directly from database without opening ITable? EDIT I'm ...
1
vote
0answers
20 views

Converting Map Files to KML Overlay

Had a quick look around and didn't quite see what I've been looking for. I've got a .Net Web Application that is going to accept different map files and I want to convert everything over to KML so ...
1
vote
1answer
33 views

View Image instead of label in Menu on arcmap addin toolbar

I want to set image on menu in arcamap addin toolbar. is there any way to set image ? I have tried but this is not working.. My code is here in config.esriaddinx: --Menus> Menu ...
1
vote
1answer
37 views

Error when export to CAD file

I'm using ArcGis 10.0. While output is faulty cad file public static void *convertGdb2Cad*(IFeatureClass fromFile, string toFile) { Geoprocessor GP = new Geoprocessor(); ...
1
vote
0answers
10 views

Making feature layer selectable in ArcObjects Java without getting AutomationException 0x80004005?

I am currently making a FeatureLayer from a resultset. The feature layer seems to work properly and will display on the map. However when I choose "select all" on my feature layer I get the ...
0
votes
0answers
24 views

IDockableWindow ability to auto size?

I have a ArcObjects 10.2 vb.net Custom Add-in that is a dockable window. The dockable window displayes a windows form that has listboxes, textboxes, panels, tab panels, etc. that the user interacts ...
1
vote
1answer
30 views

.net arcobjects retrieve user value from layer data source

I have a need to get the user value from a layer properties. The value is from: Layer Properties -> Source -> user in Data Source (sorry not enough score to attach the picture). I tried to check ...
1
vote
0answers
29 views

Substract 2 rasters with Raster Calculator in ArcObjects (VB.NET)

I'm having a hard time substracting 2 raster with ArcObjects sdk 10.1. I keep getting a nullreference exception at the gp.execute() method, but I can't figure out where the problem is, I recall ...
0
votes
1answer
40 views

How to change field length with ArcObject?

I want to change some string field in sdegeodatabse with bellow code. The code are running without any problem. but after running, filed length return to default length. What am i missing? static ...
1
vote
0answers
16 views

Is there a way to keep a a custom tool active while using the edit tools using ArcObjects?

I'm developing a tool that, when the user creates a feature in a certain feature class, prompts the user with a form to populate one of the fields in its attribute table. I'd like to have the user use ...
3
votes
1answer
47 views

What is the C# Arcobject I must use in order to set programatically the SQL Query of an LYR file?

I would like to change programatically the SQL Query of a LYR file. I'm developping in C# using ArcObject. Actually I'm able to get an instance of IWorkspaceFactory from an opened layer with this ...
0
votes
0answers
25 views

How to get metadata about Esri Geodatabase Replica synchronization

I'm using ArcObjects for .NET to create an one-way replica from my geodata-service (master) to an ArcSDE geodatabase (slave). During synchronization I do need metadata about the incoming changes to ...
0
votes
0answers
15 views

LayerToKml no clamped to ground

How do I change the kmz new file to be clamped to ground? I have this code in the picture: That works just fine but when I "fetch" it to the Google plug-in it's not "clamped to ground". I need ...
2
votes
2answers
57 views

How to get current application culture using ArcObjects? [closed]

Without looking at the registry, is there a way to get the current application culture in C#? I have a Add-in and want to get the language from the ArcMap hook using ArcObjects 10. (I'm using C# to ...
1
vote
2answers
46 views

Replacing shapefiles in MXDs using only Python options available prior to ArcPy?

I am trying to come up with a python script that will go through a designated folder, locate all MXD files within the folder, and then check each MXD to see if it contains a specified shapefile, which ...
1
vote
1answer
26 views

ArcObjects ExcelWorkspaceFactory Won't Release Excel File

I'm working with ArcObjects to set up a batch import from xls and csv files into a geodatabase. That part works fine, but after the import, I want to delete the file. This, however, doesn't work, ...
1
vote
3answers
142 views

Debugging ArcMap Add-In .Net 4.5 : 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
0answers
31 views

Exception access violation while executing Java ArcObject application

I have developed an visual application using ArcObjects SDK for Java 10.2 which worked well until yesterday. Since, I'm facing a fatal error (full trace below) while I don't feel I have changed ...
0
votes
1answer
54 views

Initial state of VB .net checkbox to toggle ArcMap layer visibility

I have a checkbox control as part of an ArcMap add-in with a dockable window in VB .net that turns a particular layer's visibility on and off in ArcMap. The initial state is set to "unchecked". But, ...
0
votes
1answer
44 views

Arcobjects add-in stops working with no apparent error

I am developing a simple add-in that will trigger an action after user selects features on the map (the action will essentially make sure a dockable window is open and in that window display ...
0
votes
1answer
26 views

use Spatial filter tool running time take more

I want to check any 3 way junction or 4 way junction features snapping or not. I have used spatial filer it is taking more time for running could you please tell me any way to improve tool running ...
0
votes
0answers
25 views

the text box to wrap using a rectangle format

I'm looking for a way I could format the text box to wrap using a rectangle format. Could I call it in the getFormattedstring? // Format the legend text if it is not a heading. If it is, we're ...