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
1answer
15 views

how to use IUniqueValueRenderer for empty geodatabase point file with ArcObjects

I have empty geodatabase file with point geometry created programatically. I have style file with several symbols. I basically want to add all these symbols to my shape file before creating ...
0
votes
1answer
245 views

Join and Calculate vb.net

Im 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. ...
3
votes
0answers
42 views

Difference between Custom Layer & plugin data source?

You can add custom data to ArcGIS Desktop in two different ways: Plug-in Data Sources Custom Layer What is the difference between these two? I'm looking at the possibility of creating an editable ...
0
votes
1answer
134 views

Is snapping working when changing from NAD83(decimal degree) to NAD83 Zone UTM 11N(meters)?

I've used the following ESRI snippet to Convert the display extents in Pixels (at the current map scale) and then return out the map units. public System.Double ...
2
votes
1answer
186 views

Overlapping Polygons in same feature class using Arcobjects

I have a polygon feature classs with millions of records, I need to find list of overlapping or intersecting polygons in the same feature class, and how to do it efficiently? I need a ESRI ...
0
votes
1answer
22 views

how to make attribute read only arcobjects

I have created add-in toolbar with C# arcobjects. I am creating some empty geodatabase shapefiles. While creating featureclass i want to assign some default value to attribute and then make it ...
71
votes
5answers
11k views

How do I access ArcObjects from Python?

I would like to be able to script some things that are not exposed via arcgisscripting or ArcPy. How do I access ArcObjects from Python?
1
vote
0answers
10 views

Editing data with Server Object Extension?

Is it possible to use an interface such as IWorkspaceEdit within an Server Object Extension to create new features or update data in a geodatabse? Perhaps this can only be done through a managed ...
0
votes
0answers
6 views

Arcobjects: Track new point from button click in DockWindow

I am wondering if anyone might have a potential solution for a problem i'm encountering in ArcObjects. I am trying to track a screen location on the map. after a button is clicked in my DockWindow ...
2
votes
1answer
128 views

How do I export circles from ArcObjects to WKB?

I have a small circle in SDE which I'm trying to extract through ArcObjects into well-known-binary (for later import into other systems). Using the IWkb interface I can obtain the WKB, but it comes ...
0
votes
2answers
20 views

feature store get NullReferenceException error

I am trying to update a field value according to the selected OBJECTID. But get System.NullReferenceException error. Don't know what's wrong with the code. My code is as follows: pActiveView ...
0
votes
3answers
48 views

Arcmap Refresh Button

I am working with ArcMap and C#. In the bottom left hand corner, there is a menu where you can toggle between Data view and Layout View, a Pause button, and a refresh button. I have created an Add-in ...
3
votes
0answers
27 views

ArcObjects .NET - How to close/release FeatureClass, Workspace, Factory

I have a long-running process. I want to prevent resource leaks or rogue database connections. At intervals during the process I want to do this: get an ArcSDE (Oracle) workspace factory open a ...
1
vote
1answer
88 views

ITopologicalOperator simplify takes more time

The objective is to cut the polygon where the lines are intersect. The polygon has 183182 vertices and taking more time while using simply method so process time is increased very huge. Please suggest ...
0
votes
1answer
36 views

Change layer properties

How can I edit name of lines of layer in ArcMap from Visual Studio C#? E.g., change STR_NAME = "Pushkin street" to STREET = "Pushkin street"?
1
vote
0answers
20 views

How to find if ArcMap raised error during edit session?

I have a class extended IExtension and inside this class I catch OnCreate, OnDelete and OnChanged and OnStopEditing events of Editor object of ArcMap. However I need to know if ArcMap has raised any ...
3
votes
0answers
32 views

Rotate map with dynamic display layer?

I am developing an application using the dynamic layer. However, I have trouble rotating the map (Not the same as rotating data frame by default). See more details: ...
1
vote
0answers
32 views

ArcGIS Python Add-In: Enable snapping for OnLine method?

I am working on a Python Add-In using ArcGIS 10.2.2 where the user can draw lines and the Add-In will add dimension annotation showing length for each segment of the line that is drawn. I can get ...
2
votes
0answers
34 views

Row.Value returns rounded SHAPE.area and SHAPE.len values

I have created a VB.Net Add-In, and am using IRow to get the value of fields in tables in ArcMap to use in a query. But I am encountering a problem when getting the values of the SHAPE.area and ...
2
votes
1answer
24 views

Check if tool is selected in ArcMap

How to check, if ArcMap custom tool is active? I have MyCustomTool and docWindow. docWindow opens when MyCustomTool is created. When I close docWindow and select another tool (hand - for example), ...
0
votes
1answer
21 views

arcobjects determine when attribute dialog window closed

In arcmap, I choose to "Display the attributes dialog before storing new features" in editor options for several layers. I intend to do further development upon user closing the attribute dialog ...
2
votes
1answer
87 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
1answer
276 views

Dealing with overlapping grid (and graticule) labels using ArcGIS Desktop?

I do have 3 grids made by Grids menu in data frame properties. I do need them to display in certain layout and also to behave accordingly to couple of rules (overlapping issues), so I can automate my ...
0
votes
1answer
302 views

ArcGIS 10 IGPFunction2 and IGPFunctionFactory Implementation

I'm creating a custom ArcToolbox tool in C# .NET in ArcGIS 10 SP2. Though I seem to be having two issues which maybe related: Firstly, my tool is run as a background task i.e. the GP dialog does not ...
0
votes
1answer
176 views

Adding an existing Feature class to an existing Feature Dataset in c#(arcobjects)

I want to add an existing feature class to an existing feature dataset. Both the feature class and the dataset have the same coordinate system, I searched over the net but only assistance I found was ...
0
votes
1answer
101 views

Create FeatureClass in Personal Geodatabase and store data

I have to create a new featureClass in my existing personal GeoDatabase. And save some polylines into this featureClass. How can i do it? I need c# code to do this. Edit: I have a problem during ...
2
votes
0answers
15 views

AxTOCControl - Using ArcMap context menu

Using Ax*Control's in a custom dialog that runs within ArcMap. When I right-click on a feature layer in the AxTOCControl, and go to display the context menu, is it possible to display and make ...
0
votes
1answer
51 views

Layer cannot be found

public Int32 GetIndexNumberFromLayerName(String layerName) { IMxDocument doc = ArcMap.Application.Document as IMxDocument; IActiveView activeView = doc.ActiveView; ...
1
vote
0answers
14 views

Checking Annotation overlap with other features using ArcObjects?

I want to check annotation features overlap with any other feature and also have to give other overlapped feature list....please tell any method for this? Now i am using buffer around selected ...
0
votes
1answer
31 views

How to insert “Topo North Arrow” using ArcObject

Does anyone know how to insert "Topo NorthArrow" using ArcObject C# SDK? There is no example or snippet. I am not sure if it is even available through SDK. Thanks in advance.
1
vote
1answer
25 views

Concurrency and lock challenge in Nonversioned editing in ArcMap

I use a non version SQLServer geodatabse with geometry type for spatial data storing.To do so,I have registered all layers in SDE repository and geodatabase and ArcMap shows all layers and edit them ...
1
vote
1answer
31 views

Restrict attribute value in ArcObjects

Is there a way in ArcObjects to restrict attribute value when user modifies it. Let's say for integer value between 0-10 or for string : no/yes?
1
vote
0answers
14 views

Preventing Export Layer by user via ArcObjects?

In my project, I am using a Geodatabase (SQL Server) to store feature classes. I want to prevent users (who do not have permission to access or edit) exporting layers into shapefile or other ...
3
votes
1answer
22 views

Call attribute window with ArcObjects C#

I want to programatically call AttributeWindow using C# ARCGIS SDK. UID uidDockWin = new UIDClass(); uidDockWin.Value = "esriEditor.CreateFeatureDockWin"; dockWindow = ...
1
vote
1answer
17 views

Access to ITableFields interface from an ITable or IObjectClass interface

I am working in a File Geo Database and need to set certain columns to be readonly from an ArcMap user perspective only. I am aware of the IFieldEdit.Editable property, however that locks it down ...
0
votes
1answer
138 views

How to call a GP service from ArcObjects in .NET using ArcGIS Engine 10.2?

I published and successfully accessed a GP service in ArcMap 10.2, but I couldn't make it work in my .NET program using ArcObjects 10.2: IGeoProcessor gp = new GeoProcessorClass(); ...
0
votes
0answers
27 views

Using ListTransformations function in ArcObjects, C# and ArcGIS Engine?

I need to call arcpy.ListTransformations function in C#. I have to pass 2 spatial References (ISpatialReference objects, I guess) and an envelope(IEnvelope object) to this function. This function ...
0
votes
1answer
121 views

How to edit feature in sqlserver geodatabase

I am using arcmap 10.2.1 and arcobject 10.2.1,I just want to conncet to a geodatabase and edit,add,delete a feature from a feature class using arcobject,I tried to connect to database and it works ...
1
vote
1answer
31 views

Is there a way to call the “Select By Location” dialog box and gain access to the parameters

In an application that I am developing using VB.Net with ArcObjects 9.3, I am trying to display the "Select By Location" dialog box in my code. I know that I can call it directly using the UID ...
3
votes
2answers
36 views

How to save .mxd programatically?

How do I save a .mxd programatically? The project is never saved and on button-click, I want to save the project. I use SaveFileDialog to get the filepath and then use the following: IMapDocument ...
0
votes
2answers
211 views

How to Create shapefile using Geometry field

I am working on ArcObject. I want to create shape file using arcObject. I am very close to it. but need some better alternative as i feel my solution may fall short in time when there are lakhs of ...
3
votes
1answer
65 views

Create layer from ArcGIS REST URL in ArcObjects using C#

I am trying to create a layer and add it into a MapControl from ArcGIS REST URL. For example I use the following URL ...
0
votes
0answers
19 views

arcmap popup “Attribute” window before OnSketchFinished on new created feature

In my vb.net arcmap add-in application, I have 3 layers (1 segment, 1 drain line, 1 road line). I want to do 2 things when a new feature created: (1) By check "Display the attributes dialog before ...
2
votes
1answer
240 views

IBufferConstruction create buffer with different geometry types (C# ArcObjects)

I am using the following method in C# public void ConstructBuffers ( IEnumGeometry pInputGeometries, double distance, IGeometry CollectionpOutputBuffers); to create buffers. In the ...
2
votes
2answers
134 views

Importing Bing Maps into application using ArcGIS Engine?

I'd like to create an application using ArcGIS Engine 10. I want to import Bing Maps into my application as base map. I surf the internet but couldn't find any tools or API to import these maps to ...
0
votes
0answers
25 views

Common custom toolbar for several different arcgis desktop addins using C#

Suppose, I have two arcgis desktop add ins C1Addin and C2Addin developed in c# with the following components: C1Addin: Button_1 C2Addin: Button_2 When the 1st addin which may be any of the two ...
3
votes
0answers
57 views

ArcObjects Memory Leak with IWorkspaceEdit?

I have ArcGIS 10.1 installed. I have created a function for copying all of the features from one shapefile to another using IFeatureBuffer, now every time the function when it is called, it takes ...
2
votes
1answer
55 views

Create a custom Identify dialog

How can I check if a point belongs to a polygon? I want to create a custom identify tool with edit option. I am using C# and ArcMap 10. My idea is to click on the polygon (building/park/etc) in ...
6
votes
1answer
402 views

Display Feedback “Stutters” When Moving Features

I have a custom tool for moving features that implements IDisplayFeedback and geometry-specific CoClasses to show the user where they are moving the feature. IMovePolygonFeedback polygonFeedback; ...
1
vote
1answer
28 views

How to use IWorkspaceName2

I'm trying to make a little utility to generate encrypted passwords for MSD files (change the XML inside the zip). I found this example online, but I'm not familiar with esri's API, so I'm not sure ...