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

Python-ArcObjects mxDocument Stand Alone

if I need to work with classes MxDocument with the MapDocument that I have selected to work , for example style gallery, How can I instantiate ? InitStandalone() pMapDoc = ...
1
vote
1answer
649 views

Debugging 'module' object has no attribute 'SdeWorkspaceFactory'?

I am new to python, am debugging one of existing python code, where am facing an error "'module' object has no attribute 'SdeWorkspaceFactory". Earlier this code was working fine but suddenly does not ...
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 ...
0
votes
0answers
20 views

ArcGIS Server extension crashing after some time

I have developed an ArcGIS server object extension. It works fine the first hour or so no matter how many times I call it. However if I do some other work and start calling it after a few hours I get ...
1
vote
1answer
20 views

Displaying specific version of geodatabase on AxImapControl using ArcObjects in C#?

I am working on a sample ArcGIS Engine project which tries to map two versions difference on an AxImapControl i created two mapcontrol which first one loads the MXD file and for second one i make a ...
1
vote
1answer
51 views

ExportToPDF creates blank PDF

I have a MapDocument that I am trying to export to PDF. I am using this example. However, it always says it is finished but when I open the pdf file there is nothing in it. I have tried exporting to a ...
1
vote
1answer
326 views

Disadvantages to ESRI Plug-In Data Sources

I wanted to know what disadvantages ESRI plug-in data sources have when compared to custom layers. I am looking to implement a fairly large (in terms of average dataset size) read-only custom type ...
2
votes
3answers
1k views

Using Spatial Analyst Geoprocessing functions in ArcObjects?

I'm trying to run some geoprocessing functions in ArcObjects. Some of the tools I want to use are part of the spatial analyst extension. In 9.3.1 it was fairly straightforward to follow the ...
2
votes
2answers
127 views

Reusing Layer Selection on Toolbar

I'm working on a custom toolbar for an extension which will have operations that work upon a specific, user-selectable layer. Is it possible to directly use the layer selector used by ESRI's toolbars ...
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 ...
0
votes
1answer
135 views

Change order of added FeatureGraphicsLayer in GraphicsDataSet?

I am adding two FeatureGraphicsLayer to a GraphicDataSet like so: graphicsFunctionality.GraphicsDataSet.Tables.Add(featGraphicsLayer); It looks like it puts the last one in on the very top of all ...
3
votes
0answers
31 views

ArcGIS Server Object Extensions: how do I deploy extra .dll's?

I am developing an ArcGIS Server Object Extensions in C# that makes calls into a C++ .dll. How do I add this .dll to deployment? By that I mean that I want it included in the .soe.
3
votes
3answers
1k views

Meaning of number after username in file geodatabase schema lock?

I'm using the ISchemaLock interface to return schemalock info on featureclasses in a file geodatabase: // If schemalock count is >=2, then we have a problem, something else has a lock on the FC ...
2
votes
1answer
452 views

What alternatives exist for EOBrowser.exe & LibraryLocator.exe for ArcGIS Desktop 10?

Original Question: Where are the EOBrowser.exe & LibraryLocator.exe tools in the ArcGIS Desktop 10 > Developer Kit? I went to use LibraryLocator.exe and couldn't find it now that I'm on ...
4
votes
3answers
2k views

Showing progress in ArcGIS Engine application!

I would like to add a progress indicator to our ArcGIS Engine 10 application. Like a progressbar in the statusbar to show when the MapControl is busy getting or drawing the map. I've been trying to ...
2
votes
2answers
550 views

ArcSDE edits not showing up in ArcGIS Server Geodata Service?

I've got an ArcGIS Server GeoData service against an SDE MSSql database. When changes are made to the source data, the edits don't appear to show up in the GeoData service. If I restart the ...
1
vote
2answers
1k views

Updating ArcMap Statusbar from AddIn?

I'm using this statement in an add in to update the first pane of the ArcMap 10 statusbar: ArcMap.Application.StatusBar.set_Message(0, message); When the method is called, no exceptions are raised. ...
3
votes
2answers
781 views

Setting Layer in the Georeferencing ToolBar in arcMap 10?

Does anyone out there knows how to set the layer in the georeferencing toolbar. There is no information in the object models. Using ICommandItem ic = ...
5
votes
1answer
456 views

Passing WorkspaceName to another thread for opening?

My winforms app gets an IWorkspaceName from an IDatasetName via the GxObject selected in a GxDialog. I want to pass it across to a worker thread for opening. I know how to write multithreaded ...
2
votes
1answer
118 views

IObjectInspector and ClassExtensions

I have a little bit of dilema here. I have a hierachical collection of classExtensions that I very much would like to keep them as they are now: Timestamper (master concrete class Extension) 1.1) ...
3
votes
1answer
513 views

Simplest way to add built-in commands to an custom add-in

Currently in Config.esriaddinx I have <Button id="my_UniqueID" class="MyWrapperClass" caption="My Caption" image="Images\My_Image.png" ...> </Button> and then I implement ...
3
votes
1answer
223 views

How to dock the default ObjectInspector in a new parent container?

Into my object inspector fever, I noticed that the default Object Inspector object does not dock anymore. I only have a TabPage control and two tabs, one of those hosting the default inspector. ...
1
vote
0answers
22 views

setting a PictureFillSymbol via ArcObjects not wanted/allowed?

Have a problem in setting a PictureFillSymbol in polygon-layer-properties via ArcObjects. I just create the Bitmap not from file, it is "painted" in runtime. After loading the layer and setting the ...
2
votes
0answers
40 views

How to connect to secured ArcGIS server shared on AGOL with ArcObjects

Our organization is hosting secured ArcGIS Server geodata and map servers (token based). The services are shared on ArcGIS Online, where specific AGOL users in a group are allowed access. Now I want ...
1
vote
0answers
21 views

Raster cleanup problem in ArcObjects

I am working on Raster cleanup tool and using below like but I can't understand what is the output rectangle or block. Could you please clear my doubt. ...
1
vote
0answers
27 views

Control points in IAdjustXForm for georeferencing of raster (ArcObjects)

I am trying to create a georeferencing tool using ArcObjects in VB.Net. Though only a little text is available on this topic in forums as well as from ESRI; I found an esri article that states the use ...
0
votes
1answer
2k views

Change color of shape in Layer File

I currently have a layer file - in this case one of the United States. This layer contains a shape for each state so if I were to open the TOC Control and expand the "United States" I would see ...
2
votes
3answers
1k views

ArcObjects and non-spatial table?

I am a new Arc Objects user, with little ESRI experience. We are using VBA to create a spatial report on a Map Control using a mdb table. The mdb table contains a Lat and Long field, and this data is ...
5
votes
1answer
765 views

Setting IActiveView extent?

I'm having a problem when setting the IactivewViews extent. I have done it the same way on other places and it does work. In here, it just throws me a LoaderLockException. // OLD CODE ...
3
votes
1answer
332 views

OGIS Ole Db provider sample with read/write capability

I'm trying to determine what level of effort would be required to develop an OGIS Ole db provider for ArcGIS. There is a sample that is read-only. I would like to be able to edit featureclasses in ...
4
votes
3answers
555 views

“ZoomToLayer” not working

I am trying to call ZoomToLayer from my custom code (shown below). ESRI.ArcGIS.esriSystem.UID pUID = new ESRI.ArcGIS.esriSystem.UID(); ICommandItem CmdItem; //pUID.Value = ...
4
votes
4answers
217 views

IEditSketch and IEditSketch2

What is the difference between IEditSketch and IEditSketch2? Also why there are same interfaces with the same name only with a difference "2" at the end of the interface's name ?
2
votes
1answer
825 views

Custom Application throws HRESULT if MXD/MXT has layers with data source missing?

This is in continuation to Getting ArcMap reference without launching application?. The idea of the application is to map layers (pointing currently to an unreachable server; server may be down, ...
3
votes
2answers
496 views

Getting ArcMap reference without launching application?

I need to get hold of ArcMap properties in order to change the data source of the layers within it. I have developed a similar utility earlier utilizing ICommand, but I was curious if I could get a ...
2
votes
1answer
46 views

Getting reference to existing reference of dockable window in class in ArcMap Addin?

I have an addin for ArcMap 10.2 that has a dockable window. For what it's worth, this dockable window has a DataGridView to which the user can add features for review. These features are added from ...
2
votes
1answer
46 views

C# Arcobjects 10.3: Change the source version on a layer file

I'm using arcobjects (C#) to load my layers to the table of contents, and I need to update the data source to change the version. The layer file is set to the correct source at the DEFAULT version. ...
2
votes
3answers
2k views

Collapsing layers in ArcMap Table of Contents using ArcObjects?

I'm stuck on how to collapse all layers in my ArcMap projects (9.3). I've tried a few bits of sample code, but they all seem to fail for some reason or other. Some of the layers might be grouped, and ...
-3
votes
1answer
50 views

How to get midpoint of polyline in java arcobjects

Here I want the midpoint of every polyline and add that point to List. List<IPoint> pList = new ArrayList<IPoint>(); Polyline polyline = null; IPoint point = null; for(int ...
0
votes
2answers
28 views

Unable to make “IDataStatistics:UniqueValues” work in .Net

I would like to use IDataStatistics:UniqueValues to iterate through a set of unique values. This worked flawlessly in VB6 and VBA but I am having a difficult time making it work in VS 2013, ArcGIS ...
5
votes
1answer
1k views

Dragging Feature in ArcObjects and ArcGIS Engine (AxMapControl)?

I'm trying to implement moving a point feature in a custom C# ArcGIS Engine application on an AxMapControl. I've already created a custom tool to do some other things. And I can track when the user is ...
1
vote
1answer
259 views

Getting names of currently visible rasters from catalog?

I have a simple win form app with a map control on it. The map has a layer (MADtedLayer) that was initialized from a catalog in a personal database (Access). The files displayed are DTED. I need to ...
3
votes
2answers
429 views

ArcObjects IFeatureConstruction::PlanarizeLinesFromCursor error

I wrote a little tool in ArcObjects/C# for planarizing a line feature class. I am using IFeatureConstruction::PlanarizeLinesFromCursor because I need to apply a query filter. Now, I figured out a bug: ...
1
vote
2answers
185 views

Using OverviewClass in ArcObjects?

I want to display an Overview map - I know how to do it using a separate PageLayout or MapControl - but I noticed ESRI has an OverviewClass - how do I make use of this with the AxMapControl?
3
votes
1answer
450 views

How to listen for ESRI drawing events using ESRI drawing tools in ArcObjects?

I am trying to make use of the built-in ArcObjects drawing tools (ie ControlsNewCircleTool) - but I need to listen for the events so I can add the drawing graphics to the database in our application. ...
0
votes
1answer
357 views

ArcObjects: esriSRGeoTransformation enum for WGS_1984_Major_Auxiliary_Sphere_To_WGS_1984

There is geoTransformation named: WGS_1984_Major_Auxiliary_Sphere_To_WGS_1984 I know it exists because I can access it with Projection Tool in ArcToolbox. But for the life of me I cannot find it ...
0
votes
1answer
25 views

ArcGIS Identity Tool Output Fields

I am using the Identity tool which takes 3 parameters: in_features, identity_features, and out_features. Does the output FeatureClass need to have fields that are a combination of the fields in ...
1
vote
2answers
83 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 ...
0
votes
1answer
56 views

How to iterate through each vertex in a line?

I am working with ArcObjects in building functionality for a toolbar inside of ArcMap. Once I start an edit session, I use the tools to manually draw a line. I am trying to loop through this line get ...
1
vote
1answer
71 views

ArcGIS 10 arcpy to add a WMS Service to MXD

I want to batch insert WMS layer to my arcmap MXD project with python/arcpy script. Some issues has been unanserwed, here my "state of art": ESRI IDEAS ESRI GeoNet community #1 ESRI GeoNet ...
2
votes
1answer
56 views

Creating custom forms in Arcmap 10.3

I am hoping to make a custom form within ArcMap 10.3 where the end user can select a recently digitized shape file (or feature), and enter values of specific attributes through a custom form. This ...