|
POST
|
I wrote how to get info which layers are in the map when project loads
... View more
08-31-2023
02:25 AM
|
0
|
0
|
2278
|
|
POST
|
Hi, If you are running add-ins from Visual studio it will not show progress dialog ( no matter Debug or Release mode) . Try to run it directly from ArcGISPro.exe executable.
... View more
08-30-2023
01:08 PM
|
0
|
2
|
5770
|
|
POST
|
Hi, You need to add more behavior to default dock pane implementation: //Gets the OperationManager associated with the current map or null
public override OperationManager OperationManager {
get {
return MapView.Active?.Map.OperationManager;
//or LayoutView.Active... for the Layout
}
} More info here: ProGuide DockPanes · Esri/arcgis-pro-sdk Wiki · GitHub
... View more
08-30-2023
10:31 AM
|
4
|
2
|
1746
|
|
POST
|
Hi, 1. Create new condition in module daml 2. Deactivate created condition in add-in module Initialize method protected override bool Initialize()
{
FrameworkApplication.State.Deactivate("your_condition_name");
} 3. In your specific button constructor activate created condition public YourSpecificButton()
{
FrameworkApplication.State.Activate("your_condition_name");
} 4. Add condition to related tools in daml
... View more
08-30-2023
04:29 AM
|
0
|
0
|
1907
|
|
POST
|
I catch project open event In addin module. In project opening event handler I initiate DrawCompleteEvent catching In DrawCompleteEvent handler I stop DrawCompleteEvent catching and reload layers from toc where I need.
... View more
08-30-2023
04:17 AM
|
0
|
2
|
2324
|
|
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
08-30-2023
03:00 AM
|
0
|
4
|
2335
|
|
POST
|
I haven't found link for downloading AppStudio version 5.5 August Update. Is it already available or it will be ready until the end of August?
... View more
08-24-2023
01:08 AM
|
0
|
0
|
3012
|
|
POST
|
Hi, I use solution from here On form Completed event I use code below: Component.onCompleted: {
reportTypeCombo.popup.contentItem.implicitHeight = Qt.binding(function () {
return Math.min(app.isLandscape ? 184 : 276, reportTypeCombo.popup.contentItem.contentHeight);
});
} You can set each of your comboxes individualy.
... View more
08-24-2023
12:36 AM
|
1
|
1
|
5337
|
|
POST
|
Thank you for reply. I have found information about AppStudio August update. Version 5.5 August Update The default target Android version is now Android 13, to match requirements coming to Google Play in August 2023. For more information, see Meet Google Play's target API level requirement.
... View more
08-23-2023
05:59 AM
|
0
|
1
|
3023
|
|
POST
|
Hi, This link might help you https://pro.arcgis.com/en/pro-app/3.0/sdk/api-reference/topic8955.html
... View more
08-22-2023
05:28 AM
|
0
|
1
|
1353
|
|
POST
|
Hi, When we are trying to publish our app to Google Play, we get notification warning that it must meet Google Play’s target API level requirements. By Google Play console our app API level is version 12 of Android We make Android package using AppStudio Cloud make. Is it possible to upgrade to version 13 of Android without local make?
... View more
08-22-2023
03:40 AM
|
0
|
5
|
3103
|
|
POST
|
Hi, Try to change GPExecuteToolFlags.None to GPExecuteToolFlags.AddOutputsToMap in Geoprocessing.ExecuteToolAsync. https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/topic9375.html
... View more
08-21-2023
10:25 PM
|
1
|
1
|
1823
|
|
POST
|
Hi, There is no logic implemented in your code between IsCheckedOne and IsCheckedTwo properties. private bool _isCheckedBoxOne;
private bool _isCheckedBoxTwo;
public bool IsCheckedBoxOne
{
get { return _isCheckedBoxOne; }
set
{
SetProperty(ref _isCheckedBoxOne, value);
_isCheckedBoxTwo = !_isCheckedBoxOne;
// Generate notification message here to update _isCheckBoxTwo, it could differ from that sample
OnPropertyChanged("IsCheckedBoxTwo");
}
}
public bool IsCheckedBoxTwo
{
get { return _isCheckedBoxTwo; }
set
{
SetProperty(ref _isCheckedBoxTwo, value);
_isCheckedBoxOne = !_isCheckedBoxTwo;
// Generate notification message here to update _isCheckBoxOne, it could differ from that sample
OnPropertyChanged("IsCheckedBoxOne");
}
} It is enough one property for both controls, but you need to use boolean inverting converter in second property binding. Question like yours is not a scope of ArcGIS Pro. It is WPF part.
... View more
08-21-2023
06:58 AM
|
0
|
0
|
1967
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Thursday | |
| 1 | Tuesday | |
| 1 | 4 weeks ago | |
| 1 | 4 weeks ago | |
| 2 | 04-24-2026 08:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|