POST
|
Hi, Look at the ArcGIS Pro SDK community sample DatastoresDefinitionsAndDatasets
... View more
a month ago
|
0
|
1
|
97
|
POST
|
Hi, I would suggest you to check dockpane 'classname' and dockpane's content 'classname' paths. For dockpane viewmodel class is specified as 'classname' value and view class - as content 'classname' value. DataContext is set inside dockpane's internal code. I have noticed that you change module class name from Module1 to BiosModule. Have you changed Module class name in daml? - <insertModule id="*******_Module" className="Module1" autoLoad="false" caption="Module1"> Setting autoLoad to true could help too.
... View more
a month ago
|
0
|
0
|
170
|
POST
|
Hi, You can set DisplayName and other CIMTableField properties after report creating: List<string> displayNames = new List<string>() { "Project Id", "Id", "Field 1", "Field 2", "Field 3", "Field 4", "Field 5", "Field 6", };
internal async Task Execute()
{
if (FLayer == null) return;
try
{
var reportDataSource = PrepareDataSource();
var report = await CreateReportAsync(reportDataSource);
for (int i = 0; i < report.DataSource.Fields.Count(); i++)
{
var cimField = report.DataSource.Fields.ElementAt(i);
cimField.DisplayName = displayNames[i];
if (i == 0) cimField.Group = true;
if (i == 3 || i == 5 || i == 7)
{
cimField.IsVisible = false;
}
}
MessageBox.Show("Report created successfuly.");
}
catch (Exception ex)
{
MessageBox.Show("Failed to create report. Error" + ex.Message);
}
}
... View more
a month ago
|
0
|
1
|
206
|
POST
|
Hi, You can do it using geoprocessing Feature Class To Shapefile tool. Geoprocessing API reference is here
... View more
03-16-2024
12:03 PM
|
0
|
0
|
140
|
POST
|
Why do you use code behind (xaml.cs) with dockpane? Can you share parts of code?
... View more
03-04-2024
02:49 AM
|
0
|
0
|
253
|
POST
|
Hi, Have you tried like this below: var UpdateFeatures = ArcGIS.Desktop.Framework.FrameworkApplication.DockPaneManager.Find("ArcGIS_Update");
UpdateFeatures.Activate();
(UpdateFeatures as <second_dockpane_viewmodel>).PermitValue = <some_value>;
... View more
03-03-2024
10:30 PM
|
1
|
0
|
263
|
POST
|
Hi @ChristopherWorrell , You are using wrong updateTab refID. refID is "esri_editing_EditingModule"
... View more
02-28-2024
03:44 AM
|
0
|
1
|
104
|
POST
|
Hi, There is no need to use coding for dockpane in code behind (*.xaml.cs). Look at the ArcGIS Pro SDK community WorkingWithQueryDefinitionFilters sample. Sample uses layers adding/removing events.
... View more
02-28-2024
03:36 AM
|
0
|
1
|
241
|
POST
|
I think the main difference is how we call geoprocessing tool. I use the same way as in sample I have referred above (from tbx). I suggest you create tbx file and in python script file leave only calculation code + returning of results. Or try to ask Python group. One of questions from python group is here
... View more
02-21-2024
05:50 AM
|
0
|
1
|
224
|
POST
|
Each ArcGIS Pro community sample has description and screenshots. Take an excursion through the samples and you will find something valuable for your task.
... View more
02-21-2024
04:17 AM
|
1
|
0
|
192
|
POST
|
Sorry. There is no complete solution for your task. You need to go step by step and develop your solution. Start from sample. Change it to meet your requirements. Investigate other samples.
... View more
02-21-2024
04:08 AM
|
0
|
0
|
196
|
POST
|
Hi, Have you take a look at answer.py file? Last line of the file returns result from python code: arcpy.SetParameter(0, sixbynine.compute()) Because there is no input parameters, index of SetParameter method is 0. If your python tool has input parameters, so output index value must be equal to your input parameters count.
... View more
02-21-2024
03:33 AM
|
0
|
3
|
238
|
POST
|
Hi, Look at the ArcGIS Pro community sample InspectorTool
... View more
02-21-2024
03:26 AM
|
0
|
2
|
205
|
POST
|
You use another id in your code sample: esri_file_openFileLocation. It is not esri_core_openFileLocation. With esri_core_openFileLocation ICommand CanExecute with parameter null returns false. It means that you can't execute command. It could be that you need special type of object to pass as parameter for CanExecute and Execute.
... View more
02-20-2024
10:05 PM
|
0
|
1
|
170
|
POST
|
Hi, There is ActiveToolChangedEvent which arrives when active tool changes. Maybe it could help you.
... View more
02-20-2024
09:58 PM
|
0
|
0
|
89
|
Title | Kudos | Posted |
---|---|---|
1 | 2 weeks ago | |
1 | 2 weeks ago | |
1 | 3 weeks ago | |
1 | a month ago | |
1 | 02-12-2024 06:33 AM |
Online Status |
Offline
|
Date Last Visited |
Friday
|