|
POST
|
Hi @Tanner_Yould , @MichaelBranscomb , Sorry for long delay. Took time to get to the root of the issue. We have found why identify works so long on our project. We have few layers from Feature service. Some of them has symbology dependent on field value and one layer has transparent symbol because symbology is included in basemap. So, we need that layer for identify only. Identify of 3 layers lasts less than second, identify on layer with transparent symbols may take more than half minute. We have checked on ArcGIS Pro. It works similar. If symbol has transparent filling but visible border, identify works on border line only. Clicking inside transparent symbol filling stops identify process.
... View more
09-26-2023
04:40 AM
|
0
|
0
|
1789
|
|
POST
|
Starting point could be ArcGIS Pro DAML ID Reference . The primary source for me is *.daml files in ArcGIS Pro installation folder. You can find modules and controls REFID's here. Structure of these files is the same as in your project config.daml
... View more
09-23-2023
12:03 AM
|
1
|
0
|
2250
|
|
POST
|
Hi, esri_editing_tableAllRowContextMenu is located in another module which refId is "esri_editing_EditingModule". Change "esri_mapping" to this one
... View more
09-22-2023
05:17 AM
|
1
|
2
|
2270
|
|
POST
|
Hi, "7d74890ce98d47b5b2bf4dd96b7c6ce5" is Web Mapping Application ID. You need Web Map ID.
... View more
09-21-2023
09:38 AM
|
1
|
0
|
2467
|
|
POST
|
Hi, You can create replica using geoprocessing: IGPResult gpResult = await Geoprocessing.ExecuteToolAsync(
"management.CreateReplica", parameters, null, cancelableProgressor);
if (gpResult.IsFailed)
{
throw new Exception("Error executing Geoprocessing tool \"CreateReplica\":↵\n "
+ string.Join("↵\n ", gpResult.ErrorMessages));
} More info about CreateReplica tool here
... View more
09-20-2023
10:13 PM
|
0
|
0
|
1151
|
|
POST
|
Hi, Take a look at the ArcGIS Pro SDK API reference string url = @"C:\Images\Italy.tif";
await QueuedTask.Run(() =>
{
// Create a raster layer using a path to an image.
// Note: You can create a raster layer from a url, project item, or data connection.
rasterLayer = LayerFactory.Instance.CreateLayer(new Uri(url), aMap) as RasterLayer;
}); Or modify sample from your last link // The layer has to be created on the Main CIM Thread (MCT).
string url = @"C:\Images\Italy.tif";
RasterLayer rasterLayer = null;
await QueuedTask.Run(() =>
{
// Create a layer based on the url. In this case the layer we are creating is an image service layer.
var layerParams = new LayerCreationParams(new Uri(url));
rasterLayer = LayerFactory.Instance.CreateLayer<RasterLayer>(layerParams, myMap);
// Check if it is created.
if (rasterLayer == null)
{
ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show("Failed to create layer for url:" + dataSoureUrl);
return;
}
});
... View more
09-20-2023
11:19 AM
|
0
|
0
|
2256
|
|
POST
|
Hi, Add line after creating ShapeDescription: shapeDescription.HasZ = true; Your original geometry has Z value, but your created FeatureClass not.
... View more
09-19-2023
08:38 AM
|
0
|
0
|
2345
|
|
POST
|
You ask about things that are not part of ArcGIS Pro. It is WPF part. You need to create different resource dictionaries for each theme. Each theme dictionary must contain images for current theme https://learn.microsoft.com/en-us/windows/apps/design/style/xaml-theme-resources <ResourceDictionary>
<ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Light">
<SolidColorBrush x:Key="myBrush" Color="{StaticResource ControlFillColorDefault}"/>
<BitmapImage x:Key="Connected" UriSource="/Image/connected.png"/>
</ResourceDictionary>
<ResourceDictionary x:Key="Dark">
<SolidColorBrush x:Key="myBrush" Color="{StaticResource ControlFillColorDefault}"/>
<BitmapImage x:Key="Connected" UriSource="/DarkImage/connected.png"/>
</ResourceDictionary>
</ResourceDictionary.ThemeDictionaries>
</ResourceDictionary>
... View more
09-15-2023
01:14 PM
|
0
|
1
|
1969
|
|
POST
|
Another way is to check what theme is loaded in ArcGIS Pro and load different resource dll depending on theme. https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic10163.html
... View more
09-15-2023
12:35 PM
|
0
|
3
|
1974
|
|
POST
|
Hi, You need to create dark and light themes as in Esri ArcGIS Pro community sample
... View more
09-15-2023
11:13 AM
|
0
|
5
|
2024
|
|
POST
|
Hi, Look at ArcGIS Pro SDK community sample It uses MapTool with SketchOutputMode equal SketchOutputMode.Screen. In OnToolActivateAsync method it expands clicked point extent by 3 pixels.
... View more
09-12-2023
08:44 AM
|
1
|
1
|
2117
|
|
POST
|
I think dimensions are very unique things. So, it will depend on your rules.
... View more
09-12-2023
07:09 AM
|
0
|
0
|
1289
|
|
POST
|
TableControlContentFactory Create method has 2 overloads: from MapMember and Item. I use MapMember for creating TableControlContent. You can try to use Item. You need table path to create Item. // inside QueuedTask.Run
// Not sure is it correct path. Try
string tblPath = Path.Combine(sdedb01.GetPath().AbsolutePath, "wellsView");
return tblPath;
// outside QueuedTask.Run
var item = ItemFactory.Instance.Create(t);
var tableContent = TableControlContentFactory.Create(item);
... View more
09-12-2023
03:51 AM
|
0
|
0
|
2191
|
|
POST
|
Hi, Take a look at these ProConcepts: Dimensions, Editing Dimensions
... View more
09-12-2023
12:03 AM
|
0
|
2
|
1307
|
|
POST
|
Hi, commonReferenced.dll must be signed if you want to add it to GAC. More info about placing library to GAC is here. After your library is in GAC, you need to delete old library reference, then add new library reference from GAC. "Copy local" set to false.
... View more
09-11-2023
07:03 AM
|
0
|
0
|
1130
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Tuesday | |
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|