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
0answers
125 views

How to identify custom lines in .Dgn file using DgnLib?

I am getting a problem, I can't identify custom lines in .Dgn file. As you know, in Microstation 7, we can assign the style value of lines from 0 to 7. But if lines are customed lines, they always ...
2
votes
0answers
916 views

How can I copy selected polygon features to a polyline feature class with ArcObjects?

I would like to copy selected polygon features to a polyline feature class. (Similar to how polygon features can be copied and pasted inside an edit session in ArcMap) Until recently I've been using ...
2
votes
0answers
51 views

ArcObjects custom GP tool: Multiple extensions using IGPFileDomain

I am using IGPFileDomain to make the user select between different file extensions, for example .type1, .type2, .type3. These are added using domain.AddType("type1") etc. The dialog box then lists ...
2
votes
0answers
157 views

buffer using topological operator

IMap map = axMapControl1.ActiveView.FocusMap; IFeatureSelection fSelection = map.get_Layer(0) as IFeatureSelection; ISelectionSet selSet = fSelection.SelectionSet; ...
2
votes
0answers
102 views

Basic unit testing for ArcGIS 10.0 Java Add-in

I've been assigned the task of translating an old ArcGIS VBA script into a Java add-in. I finished the rough translation of the code, now I'm starting the debug process. The first unit test I want to ...
2
votes
0answers
198 views

AxSymbologyControl via WindowsFormsHost in WPF (ArcMap Add In Project)

I need a way to offer the user a choice of color ramps for the ClassBreaksRenderer. I came across the AxSymbologyControl which was designed for WinForms. I tried also ESRIs (WinForms) example project ...
2
votes
0answers
250 views

Creating a new map frame: Error HRESULT E_FAIL has been returned from a call to a COM component

I am trying to create a new map frame in the PageLayout Control. But I got the error: Error HRESULT E_FAIL has been returned from a call to a COM component at the method AddElement. Please see ...
2
votes
0answers
111 views

How to print two pagelayout on two sides at the same time ?

I am having a PageLayoutControl with name: PageControl1. I used below codes for printing it: public override void OnClick() { try { PrintDialog ...
2
votes
0answers
195 views

How to set the font size of ITextElement if only know Height of the text?

When I read text elements from a .dgn file. I only can get the "height", "length" attribute of the text (it doesn't have a "size" attribute) (example: total height = 0.9; total length = 8.6). I need ...
2
votes
0answers
71 views

Recommendations on universal projection API or algorithm for ArcObjects?

As asked on the esri forum here, we are trying to convert a geometry from any spatial reference to any other spatial reference. We have tried the default IGeometry.Project(target_spatial_reference) ...
2
votes
0answers
221 views

How can I free esriControls.ControlsSelectTool? Or is it leaking memory?

In my application I have isues with unfreed memory. After several tries I broke down the problem to a simplified WPF project. It opens a simple System.Windows.Window with a Button, which starts the ...
2
votes
0answers
265 views

ArcObjects : How to change layers connection properties without losing joins

I'm using arcObjects 9.2.6 java librairies to change connection/path properties within a java prog. This prog aims to change path and connection properties for all layers of an mxd file. It works well ...
2
votes
0answers
110 views

How to change tooltip of an esriControl?

Is there a way to change an esriControl's tooltip? I tried using the ICommand interface but the tooltip propertry is read-only. If I have to build a whole new ICommand and/or ITool is there anyway ...
2
votes
0answers
96 views

Is it possible to lock a single feature from editing in ArcObjects?

We're developing an ArcMap addin. Now we need a way to lock a feature from editing/deleting. Is this possible with ArcObjects or do we have to create our own implementation of locking? Example: User ...
2
votes
0answers
24 views

How to implement VisibleBoundsUpdatedEventHandler

I have an ArcObjects add-in button that adds attribute value info as a text graphic into a map document layout. Now, instead of using the add-in button click event, I would like the code to run on ...
2
votes
0answers
96 views

Running a web application within ArcMap

I'm interested in creating a component / plugin for ArcMap that works something like ArcGIS online. Ideally a small web app would boot up within a window in ArcMap which would be able to perform ...
2
votes
0answers
440 views

ArcObjects - Possible To Add Anything More Than Text To Balloon Callout?

With code I've scraped together from various posts on this site, I am able to display a simple balloon callout with text in a standard ArcMap session. Is it possible to add anything more than just ...
2
votes
0answers
230 views

Get Feature that was snapped to in New Snapping Environment

I asked this over at the ESRI forums but lack of activity over there made me post here as well. Does anyone know if there is a way to get the feature that something was just snapped to in the ...
2
votes
0answers
622 views

Make a Join Permanent

So I've been using a dynamic join (IRelQueryTable to attach a SQL query to a feature layer) but now I want to make a permanent (or semi-permanent) join. How do you go about doing this in ArcEngine ...
2
votes
0answers
95 views

How to solve a filename conflict problem?

I use a procedure to remove and delete a feature layer with a certain name. Then, using another procedure which is called during the run time of the program (as the remove and delete procedure as ...
2
votes
0answers
120 views

Proper disposal of layers

I have a group layer. Its purpose is to show feature layers over a base map. Those feature layers are logically grouped into categories and we provide the ability to add/remove whole categories ...
2
votes
0answers
200 views

ArcObjects .NET 9.3 upgrade to 10 breaks IRasterDataset.Copy(…) code

I have to upgrade an application from ArcObjects 9.3 (C# .NET) to 10. Unfortunately, there seems to be some incompatibility regarding the IRasterDataset.Copy method. The following code worked fine in ...
2
votes
0answers
107 views

ArcMap crashes on TabbedFeatureInspector sample

The TabbedFeatureInspector, (VB.NET), sample crashes ArcMap when I do the following: Open ArcMap. Open map document with feature class with class extension loaded. Select a feature. Start an edit ...
2
votes
0answers
99 views

Change MADtedLayer renderer

This question is relative to a past question of mine at Rendering raster layer from DTED based on height color map (that remained unanswered), so if you believe that I should merge those two, let me ...
2
votes
0answers
287 views

Create custom pixel block size in ArcGIS 10?

I'm using the new IRawBlocks in ArcGIS 10 from the adopted sample in ArcGIS 10 SDK help and I want to create a custom sized pixel block that feeds me a block of values column by column instead of a ...
2
votes
0answers
348 views

Rendering raster layer from DTED based on height color map

I have a raster layer that was create from DTED file (dt1 specifically), created by the following code: var rasterLayer = new RasterLayer(); rasterLayer.CreateFromFilePath(dtedFilePath); The dted ...
2
votes
0answers
527 views

Intersect two layers and get resulting features

I have X layers on a map and I need to intersect chosen layers (two per time) and color resulting features. I'm trying to get this code working // get first feature (index 0) ...
2
votes
0answers
289 views

ArcObjects: How to get a reference to layer in a java add in

I am trying to implement a java add-in version of this solution: unique value symbolize layers from a lookup table. At the same time I want to start coding in Java for the ArcGIS Desktop, so I am ...
2
votes
0answers
139 views

What is the best approach to interacting with map layers after a JTX Job Change event when a new MXD is loaded?

To further clarify, my question is pertaining to a WMX/JTX job activation from within ArcMap, not Workflow Manager. I have a JTXJobListener class where with a JobChanged method and that is ...
2
votes
0answers
117 views

NE Attribute editor not honouring custom selection

I have an application based on Network Engineer & ArcObjects. A part of the functionality requires users to draw a rectangle an select features. It should "add" to the current selection. I ...
2
votes
0answers
248 views

Where can I find the latest WMX (JTX) Object Model Diagrams for ArcGIS 10?

I'm looking for a version that includes ESRI.ArcGIS.JTXUI--I'm hoping someone knows of an updated and online version of C:\Program Files\WMX\Developer Kit\Diagrams\ObjectModel.pdf. For reference, ...
2
votes
0answers
191 views

ArcGIS Desktop 10 - MyBase.UpdateBitmap()

I am changing one icon on my extension toggle toolbar in runtime using: MyBase.UpdateBitmap(New Bitmap(Me.GetType(), bitmapResourceName)) This works fine but I get a border/highlight around my ...
2
votes
0answers
214 views

Process to gather raster cells under features

I need to gather individual raster cells underneath a feature in a featureclass as quickly as possible. It seems that most ArcObjects functions have problem with island polygons, multi-part polygons, ...
1
vote
0answers
30 views

Strange Message Using Python Syntax for ArcGIS Geoprocessing From Code

I am coding VB.net using ArcObjects to call ArcGIS 10.1 geoprocessing tools. I have several geoprocessing calls that actually work, but that pop up an irritating message box when I call them from ...
1
vote
0answers
14 views

Accessing results window from ArcObjects not using Geoprocessing

Is it at all possible to write messages to the results window in either/both ArcMap and ArcCatalog, straight from ArcObjects? I understand that each result comes from running a geoprocessing tool, ...
1
vote
0answers
24 views

Editing Feature Class using ArcObjects

I have a problem with editing feature class using arc Objects.Indeed I am working on it for a while and cant find any solution into doing it..I asked a question before about how to connect to database ...
1
vote
0answers
25 views

How do you determine which dbclient connection property to use for an Oracle SQLWorkspace connection?

I have an Oracle11g database that I connect to via a SQL Workspace; however the actual dbclient string value that works differs depending on machine (and I'm guessing oracle client configuration). On ...
1
vote
0answers
17 views

Using ArcObjects control commands without ToolbarControl

I want to use some ArcObjects predefined commands for my buttons actions..I used this code `ICommand command = new ControlsSceneZoomInToolClass(); command.OnCreate(axMapControl1.Object); ...
1
vote
0answers
36 views

GDB conversion to MongoDB

I'm interested in converting a GeoDatabase to a MongoDB database. more specifically, given I have a GeoDatabase (.gdb files), how do I convert these files to fit into a MongoDB Database (.bson files). ...
1
vote
0answers
44 views

Snippets applicable for ArcObjects 10.2.1

I am trying to create ArcGIS desktop add-in using Visual Studio Professional 2012. But when I use ArcGIS Snippets Finder to insert code, I found the applicable versions as follows: ' Applicable ...
1
vote
0answers
20 views

Menu - onCreate Event

In ArcObjects, the Class 'BaseCommand' has 'OnCreate' method(to handle oncreate event). Similarly is there any equivalent method available for Menu ('BaseMenu' Class)?
1
vote
0answers
16 views

Using IGeoProcessor2 to update Oracle Spatial

In the below example the input and out are shape files read from folders.Is it possible to read and write Oracle Spatial Geometry tables? I have ArcGIS,ArcSDE and Oracle Spatial 11g. How to set ...
1
vote
0answers
34 views

Authoring map with advanced gradient symbol for ArcGIS web service?

I need to prepare a web service which will display the gradient of polygon points values. It has to look just like in this picture: link to the picture (please ignore the arrows). Each polygon is ...
1
vote
0answers
32 views

Row ID Column Type : User Maintained - Insert using IFeatureBuffer - ArcGIS 10.2

I am trying to insert a record in SDE feature class (which is not registered with SDE) using Arcobjects 10.2 using IFeatureBuffer.InsertFeature functionality. This throws an error message "The current ...
1
vote
0answers
33 views

How to run a 2.0 ESRI DLL in a 4.0 Addin application

We have a complex set of operations running as Add-in's and services that span both ArcMap, ArcServer, and ArcGIS Explorer for Desktop. Currently we are compiling everything under .NET 3.5 but we may ...
1
vote
0answers
76 views

Is it possible to run ArcGIS Engine 10.2 in Java 7?

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

How to resolve an InvalidCastException for two Objects of the same type in an ArcMap AddIn?

I'm trying to work through an InvalidCastException that is being thrown when a form is displayed from an ArcMap Addin. This is a fairly recent occurrence and I haven't identified what has changed that ...
1
vote
0answers
94 views

How to simplify a self intersected / self overlapped polyline using ArcObjects?

I have a self intersected polyline, how can I break it into 5 records stored in the same table using arcobjects? (splited by vertices and the intersection point) Here is what I have got and it ...
1
vote
0answers
87 views

ArcEngine BaseTool derived classes stops receiving OnKeyDown messages

I have two BaseTool derived classes in a custom ArcEngine application. Both tools do the same thing: start a INewBezierCurveFeedback on a first mouse click and then stop it and return the resulting ...
1
vote
0answers
44 views

How to make a custom properties dialog for a custom text background

I'm developing a custom text background in ArcObjects like in this example. I would like to know if it is possible to make a custom properties dialog to set up parameters of this text background. It ...