|
POST
|
Hi, What version of ArcGIS Pro do you use? We have reported bug to Esri for version 3.0. Fixed in 3.2, 3.1.4 BUG-000153875 for ArcGIS Pro SDK for .NET (esri.com)
... View more
12-06-2023
09:22 AM
|
0
|
1
|
1454
|
|
POST
|
Hi, To drop on content or map your data in clipboard must be in format: List<ClipboardItem>. Look at the DragAndDrop sample Map or TOC doesn't understand custom data formats. So if you want to drag and drop between your controls and map you need to use ArcGIS Pro format.
... View more
12-06-2023
02:02 AM
|
0
|
2
|
1440
|
|
POST
|
Hi, There is no direct way to downgrade to 3.1. You need to uninstall extensions then download old versions from Esri site and install from vsix files. Then you need to uncheck automatic update of ArcGIS Pro extensions
... View more
12-04-2023
11:29 AM
|
0
|
0
|
1768
|
|
POST
|
You can check current status by calling Project.Current.IsEditingEnabled. If you want enable/disable custom tools depending on editing status, you can use Button/MapTool conditions esri_editing_EditingPossibleCondition, esri_editing_EditingMapCondition in daml like a single condition or in addition to your conditions. On Disabling editing EditingCompletedEvent will be raised with Discard argument.
... View more
12-01-2023
01:35 AM
|
0
|
0
|
2020
|
|
POST
|
Hi, Link to editing events in API reference: ArcGIS.Desktop.Editing.Events Namespace Inheritance Hierarchy
... View more
12-01-2023
12:31 AM
|
1
|
2
|
2090
|
|
POST
|
There are few ways to resolve double-click action: your way or use behaviors. You can find double click behavior implementations on web. It would be MVVM way. You can call ViewModel public method from code behind (*.xaml.cs) via DataContext, but it is not MVVM way: (this.DataContext as viewmodel).YourMethodOnViewModel(); viewmodel is your view model class name
... View more
11-29-2023
10:49 AM
|
0
|
1
|
1924
|
|
POST
|
Hi, Both of yours nuget packages doesn't support .NET 6.0. You can get back from excel to table using "conversion.ExcelToTable", then add fields to table and back to Excel with "conversion.TableToExcel". To add fields you can use geoprocessing too Add Fields (multiple) (Data Management)—ArcGIS Pro | Documentation
... View more
11-29-2023
10:00 AM
|
0
|
1
|
3488
|
|
POST
|
Hi, Open your project config.daml file. Locate your button. Check for daml attribute "keytip". If it doesn't exist, add. <button id="AddInInfoManager_ShowDamlVersion" caption="ShowDamlVersion" className="ShowDamlVersion" loadOnClick="true" smallImage="Images\GenericButtonBlue16.png" largeImage="Images\GenericButtonBlue32.png" keytip="B1">
<tooltip heading="Tooltip Heading">Tooltip text<disabledText /></tooltip>
</button> More info about button attributes here
... View more
11-29-2023
09:46 AM
|
0
|
1
|
1179
|
|
POST
|
1. No. All code must be placed in dockpane viewmodel class. Search for file like dockpaneViewModel.cs We are toking about MVVM architecture of dockpane. 2. Yes. Button on dockpane xaml which calls your function must be binded to ICommand type property in dockpane ViewModel. Look into ArcGIS Pro community sample DockpaneSimple how "Get Maps" button is binded.
... View more
11-29-2023
08:48 AM
|
0
|
3
|
1932
|
|
POST
|
Hi, Look at ArcGIS Pro SDK community samples IdentifyWithSketchTool or IdentifyWindow
... View more
11-29-2023
08:33 AM
|
0
|
1
|
1834
|
|
POST
|
Hi, IsBusy is a property you can override. Without overriding it always returns false. So first step you need to override it : private bool _isMyDockpaneBusy = false;
public override bool IsBusy
{
get
{
return _isMyDockpaneBusy;
}
} Then in your dockpane calculation method you must update _isMyDockpaneBusy depending on your calculation status: private void DoMyJob()
{
_isMyDockpaneBusy = true;
NotifyPropertyChanged("IsBusy");
try
{
}
catch (Exception)
{
}
finally {
_isMyDockpaneBusy = false;
NotifyPropertyChanged("IsBusy");
}
} Last step would be to bind in xaml your BusyIndicator Visibility to dockpane property IsBusy. For that you need to use Converter which converts bool value to visibility enum. You can make a search on web with string "wpf bool to visibility converter invert" and you will find different implementations of converter.
... View more
11-29-2023
03:27 AM
|
0
|
0
|
1964
|
|
POST
|
Hi, I would suggest you enable/disable/hide controls using conditions and states. Tutorial here. Esri ArcGIS Pro community sample here. https://proceedings.esri.com/library/userconf/devsummit18/papers/dev-int-054.pdf State Class—ArcGIS Pro Take a look at the thread
... View more
11-28-2023
02:13 AM
|
1
|
1
|
1302
|
|
POST
|
Hi, I am trying to catch project closing event in dock pane code: /// <summary>
/// Override to implement custom initialization code for this dockpane
/// </summary>
/// <returns></returns>
protected override async Task InitializeAsync()
{
await base.InitializeAsync();
ProjectClosingEvent.Subscribe(OnProjectClosing);
} And on project closing execute code below: private Task OnProjectClosing(ProjectClosingEventArgs args)
{
// if already cancelled, ignore
if (args.Cancel)
return Task.CompletedTask;
var vm = FrameworkApplication.DockPaneManager.Find(_dockPaneID);
if (vm != null) vm.Hide();
return Task.CompletedTask;
}
... View more
11-27-2023
07:09 AM
|
3
|
1
|
1990
|
|
POST
|
Maybe your editingTemplate is null. I don't like syntax like "?.". It doesn't crash but it could do nothing and you will not be informed about it.
... View more
11-24-2023
07:13 AM
|
0
|
1
|
2880
|
|
POST
|
Depending on your testing results I would suggest a little bit to change my first scenario. Before calling StartSketchAsync execute your dummy tool using FrameworkApplication.SetCurrentToolAsync("<dummy_tool_id>");
... View more
11-24-2023
04:58 AM
|
0
|
3
|
2890
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM | |
| 1 | 05-22-2024 11:48 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|