Skip to main content

Questions tagged [arcobjects]

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.

0 votes
0 answers
41 views

Access map service layers from ArcMap using ArcObjects C#

I am writing a custom tool that will fetch a map service, and perform a spatial query with one of its layers. How do I do that? I tried different code that were shared online but none seems to work. //...
ZZZ's user avatar
  • 623
0 votes
1 answer
139 views

SOE file not built

I have quite a few C# projects, REST SOEs based on ArcObjects (.NET 4.5) or ArcGIS Pro (.NET 6.0). Visual Studio (2019) shows no errors, and warnings appear in the ArcGIS Pro projects only. Everything ...
Pavel V.'s user avatar
  • 1,537
0 votes
1 answer
100 views

How to find if a point feature is snapped to a line using ArcObjects

Background to the problem: When I use the Editor Split tool on a line, the line gets split into 2, and a junction is placed between the two lines. When I use the Editor merge tool, the 2 lines are ...
ZZZ's user avatar
  • 623
0 votes
1 answer
44 views

Using SimplifyPolygon Class in ArcObjects

I want to use the SimplifyPolygon Class that existed in ArcObjects 10.3 in ArcObjects 10.6, but I cannot find it in 10.6. How do I apply the SimplifyPolygon Class in ArcObjects 10.6?
momo's user avatar
  • 1
1 vote
0 answers
52 views

Getting colour of raster for specific value based on its symbology using ArcObjects

For the software I'm working on I'm trying to get the colour that a raster would be using to display any given value based on the symbology set up for it. I've been more or less able to work this out ...
Allan Mills's user avatar
1 vote
1 answer
36 views

Unexpected Output Using GridIndexFeatures in ArcObjects [closed]

I am using ArcObjects 10.2 to generate grid index features programmatically. I can get the correct output using the built in GUI geoprocessing tools, and with ArcPy. Furthermore, when I copy the ...
amasephy's user avatar
  • 1,234
1 vote
0 answers
71 views

More than one ArcEngine GeoProcessor run at a time (concurrent)

I'm trying to run more than one AddRastersToMosaicDataset geoprocessor at the same from a test .NET 4.8 C# console application. So far I tried the below approach running in threads but it seems as if ...
Andy Arismendi's user avatar
2 votes
1 answer
102 views

Using ArcObjects to allow assignment of unique numeric IDs

In ArcMap 10.6 > Data Frame Properties > We have the "Allow assignment of unique numeric IDs for map service publishing" and the associated Layer > Properties > General > ...
captonssj's user avatar
1 vote
1 answer
205 views

Dockerize ArcMap-application

I'm trying to dockerize my ArcMap-application, which is written using ArcObjects for Desktop. The reason to do that is, we have a huge code-base that we want to test automatically as much as possible ...
MakePeaceGreatAgain's user avatar
2 votes
1 answer
75 views

Can geodatabase edits be canceled/modified with ArcObjects?

I am working on some tools to automate some field data collection. I would like to restrict the user's ability to delete features (such as when the DELETE key is pressed, or if the MERGE editor tool ...
Barbarossa's user avatar
  • 5,857
0 votes
1 answer
98 views

Creating DbGeometry instances that honor SRID

I maintain an ArcMap Add-in tasked with allowing people to see & edit some native SQL shapes in ArcMap, which of course require working with SqlGeometry and DbGeometry types. Converting between ...
Dan Narsavage's user avatar
0 votes
0 answers
98 views

Getting symbols parameters using ArcObjects

I have FeatureClasses (point, line and polygons) with symbology in cartographic representation. How I can get each symbol's parameters (e.g. for polyline: width, colour, style)? Dim featureClass As ...
dr.petr's user avatar
  • 13
2 votes
0 answers
70 views

What is going on in ArcMap AddIn?

I have an ArcMap-addin which is working from ArcMap 10.2 until 10.8 but since an undefinite time in undefined circumstances there happen things that I can't explain. I'm searching for the cause while ...
Frau Schmidt's user avatar
  • 1,165
0 votes
0 answers
70 views

Highlight a feature in ArcMap from a web page

I have a web page that calls a PowerShell script to switch to ArcMap. I only want one instance of ArcMap running. If I open a new instance of ArcMap I can easily pass the PlotId as an Argument. ...
Ruairi's user avatar
  • 11
0 votes
0 answers
167 views

Get SessionName from SessionManager

I am trying to fetch the session name, but only manage to get if the session is available. I am using following code private bool IsEditSessionOpen() { bool enabled = false; ...
Vikrant Jain's user avatar

15 30 50 per page
1
2 3 4 5
165