All Questions
190 questions
0
votes
0
answers
21
views
Arcobjects don't show .shp layers from Visual Studio project
12 years ago I wrote programs using argobjects 10.1 in c# in VS 2010. Those programs still work without problems. Now I'm trying to repeat from scratch to create a simple program on the same computer ...
1
vote
0
answers
55
views
Communication between Web Browser and ArcGIS Pro addin
My company has a AutoCAD Map 3D addin written in C# which is loaded when AutoCAD starts up. It has capabilities like linking a map object with actual SQL Database records. We had a legacy application ...
0
votes
1
answer
104
views
ArcGIS Pro SDK - First Edit Operation Fails
I have created an Add-in - In which whenever the button is active, when you create a polyline(Plan_Kabler) point features are placed along the line alongside with polygons. These are directional ...
0
votes
0
answers
77
views
Shapefile class is not coming arcgis pro sdk c#
I have added below namespaces though the Shapefile class is not coming in arcgis pro sdk c# code in ArcGIS.Desktop.Framework.Controls.ProWindow
name spaces are
using ArcGIS.Core.Data;
using ArcGIS....
0
votes
0
answers
28
views
How to check radio button checked or not from prowindow XAML in to Maptool in arcgispro sdk
I have a radio button as shown below
<controls:ProWindow x:Class="CalloutModule.cProWinCalloutMaker"
<RadioButton x:Name="rbtWgs" Checked="rbtWgs_Checked" ...
0
votes
1
answer
77
views
How to convert a start point and end point in Polyline to WGS84 in arcgis pro sdk
I have a code as shown below and co ordinates are in meter and need to convert to WGS system
private async void ShowBalloonCallout(Geometry geometry)
{
if (geometry is ...
0
votes
1
answer
34
views
ArcGIS Pro 2.9 Addin popup windows form blocking map display
I have this arcgis pro 2.9 Addin that has its own user interface, winform, that will popup when activate, it will carry out work. But when I pop up another windows form from this Addin UI to interact ...
0
votes
1
answer
80
views
How to start a function in a python/propy script via c#?
My python script (c:\Temp\StartPython\test.py) looks like this:
import arcpy
import string, sys, os
import ctypes
logfile ="C:\\Temp\\StartPython\\Logfile.log"
def Main(dataset):
print ...
0
votes
0
answers
165
views
References in XAML don't work after migration to .NET 6
I am migrating a WPF application from .NET framework 4.8 to .NET 6 using a migrating tool provided by the template. The app has one main project and several supporting projects. As the solution is ...
3
votes
0
answers
264
views
Nuget package is using a local version of a dll instead of the on that comes with the package C#
I am developing a tool for ArcGIS pro 3.1
in the project (.NET 6) I have a nuget package that contains System.ServiceModel.Primitives version 6.0 as one of the references
at the same time, in the bin ...
0
votes
1
answer
112
views
How to add city names in arcgis offline map?
I am making an offline map application using arcgis .net sdk. Here I print the map with image tile. So, I have the images of the map in PNG format. I can use the map offline by displaying it as a map ...
2
votes
1
answer
354
views
How to get the name of a layer without loading it into a map with ArcGIS Pro 3.1 API?
In my ArcGIS Pro-Addon I want to load a .lyr-File into a map but only if it is not already loaded. This is the code I used in ArcGIS-Desktop:
public static void LoadDataToArcMap(String layerfilename)
{...
0
votes
0
answers
350
views
ArcGIS Geocoding Rest API call with c#
My code was working fine and was from the answer from this link Formatting RestSharp request for ESRI geocoder
string token = GetToken();
string url="http://geocode.arcgis.com/arcgis/rest/...
0
votes
0
answers
158
views
HierarchicalDataTemplate Binding not working
I want to create a 2 level treview, with the root element of a string "Items":
-Items
-item1
-item2
-...
I have 2 classes to achieve this: ItemList, Item. I call them with the ...
0
votes
0
answers
2k
views
Skipped Loading Symbols Statement in Visual Studio
Hi i am trying to import my custom made 3d symbol onto the scene , it was working fine a week ago but now it keeps giving me this statement and doesn't render any symbols on my scene
'DisplayAScene....