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

ArcGIS server extension: Marshal.ReleaseComObject() or not?

The ServerSimpleImageServiceRESTSOE example uses Marshal.ReleaseComObject(). The other examples seem to not use this. When should I use Marshal.ReleaseComObject()? As I understand if I am not using ...
1
vote
0answers
25 views

Validation on save in arcobject

I want to validate all the features that have been changed since last save. Currently I'm trying to do this in an ESRI.ArcGIS.Desktop.AddIns.Extension. My sde database is not versioned. public class ...
1
vote
1answer
194 views

Scripting creation of cogo polylines including curves

Is it possible to create polyline features from cogo type text files? I have some files that have survey type coordinates in them and they contain straight line segments as well as curves (defined by ...
1
vote
1answer
507 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. ...
0
votes
0answers
10 views

How to read a tile package file(.tpk) in ArcObject C#?

I should read and show some tile package file using ArcObject C# 10.x. However, I failed to find how to read an tile package file on My Application using ArcObject C#. So, please tell me about ...
2
votes
1answer
36 views

ArcObjects in ArcMap 10.2.2 UpdateCursor refer to a calculated field value in the same Cursor

Is it safe to calculate a field value inside an update cursor and refer back to this calculated value to change another field value of the same row? I think some code will actually explain my ...
2
votes
1answer
48 views

Determine if Point is in feature class attribute table

I'm working with ArcObjects, C# and ArcMap. I have an attribute table that has several rows of data including a "shape" field that holds a point geometry. I also have a random point. How can I iterate ...
0
votes
1answer
555 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(); ...
1
vote
2answers
38 views

Changing layout background from red to blue through button add-in with C# and ArcObjects?

I am working on Arc Objects using C# and I have to make a button add in, such that if I click button one time then layout background color changes to red and then if I click again then button add in ...
3
votes
2answers
42 views

Which interface controls 'Place overlapping labels' for a feature layer?

I need to turn on the option to 'Place overlapping labels' for a feature layer via ArcObjects. In the ArcMap UI it is located here: I can get to most of the labeling options from the ...
2
votes
1answer
296 views

Programmatically get Layer source properties DataType with ArcObjects?

I am trying to access the DataType property of a Layer in the TOC in ArcMap. The layer is added from a web service as an IMapServerRESTLayer. The Data Type property is listed with Layer -> ...
2
votes
3answers
161 views

Releasing features from a recycling feature cursor

I have a recycling feature cursor that is used to fetch a single row. Is it my responsibility to release that returned feature, or will it be cleaned up by the cursor as it would be if I consumed the ...
0
votes
2answers
45 views

Is the ArcObjects SDK for .NET available with an ArcGIS for Home Use or free trial license?

I currently have a 6 month free trial of ArcGIS Desktop 10.1 that I got online with an authorization number from an Esri Press book and I've read that ArcObjects is bundled with the Desktop license ...
0
votes
1answer
42 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
633 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
142 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
1answer
185 views

cad to shapefile conversion

i have use arcgis10.1,arcobjects.net. i did following code ESRI.ArcGIS.Geoprocessor.Geoprocessor gp = new ESRI.ArcGIS.Geoprocessor.Geoprocessor(); gp.OverwriteOutput = true; ...
1
vote
1answer
591 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 ...
0
votes
0answers
18 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
18 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 ...
0
votes
1answer
297 views

vb.net arcobjects enable customized context menu item only if a feature is selected

The solution may be very simple, but I haven't made it work. I want to enable a data view context menu item only if a feature (in polyline layer) is selected, all other places the item should in ...
1
vote
1answer
175 views

ArcObjects 10.1 IDatabaseCompact lock file

I'm trying to automate one of task by creating code that will execute the IDatabaseCompact.Compact method to a GDB file. Everything seems to work fine but there is always a .lock file generated after ...
2
votes
1answer
413 views

Can I update the service on ArcGIS for Server programmatically?

There is Windows Service. This service adds user raster data to the Raster Dataset in sde database. The Raster Dataset registred on the ArcGis Server. This Raster Dataset also was publishing on ...
1
vote
1answer
42 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 ...
3
votes
1answer
202 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 ...
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
126 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
61 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
30 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.
1
vote
1answer
181 views

Connect to remote Sqlserver using arcobject

I want to connect to a database assigned to a vps with an ip address.I used this string to connect to Database when it was on localhost. how I change it to connect to remote one? ...
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
451 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
546 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
780 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
455 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
117 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
511 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
1answer
293 views

Eclipse export as runnable jar file error

I am building a destop application , which takes user input for personal geodatabase and finds feature class in it . It works fine till i run it in eclipse , but when i export it as a runnable jar ...
1
vote
0answers
20 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
23 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
23 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
751 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 ...