|
POST
|
Hi, All information related to LinearReferencing you can found in ArcGIS Pro SDK API reference Suggestions for your code migration you can find here.
... View more
01-28-2025
11:29 PM
|
1
|
0
|
1712
|
|
POST
|
Hi, For now, my answer to your additionally question is it possible to create a job from the SDK. Yes, it is possible. There is CreateNewJob method from JobsManager. // CreateJob returns an ID of a new job
// it is a passed a valid job type ID as an integer
var wfCon = await WorkflowModule.ConnectAsync();
var jobManager = wfCon.GetManager<JobsManager>();
var jobID = jobManager.CreateNewJob(jobTypeID);
... View more
01-28-2025
10:40 PM
|
0
|
2
|
1495
|
|
POST
|
Hi, You are talking about CIMLabelClass Expression method. Link contains samples. I would recommend using CIM viewer for questions related to layer symbology. Change something in ArcGIS Pro layer symbology and find changed part in CIM objects tree of CIM Viewer. Download CIM Viewer code from here. Video about CIM Viewer here.
... View more
01-28-2025
05:38 AM
|
1
|
0
|
837
|
|
POST
|
Hi, Your code works fine. There are some reasons why you can't create featureclass within geodatabase: 1. analysis.Path ends with "\". I would recommend to use Path.Combine method to construct full path. 2. Your geodatabase already contains "NewLayer" featureclass. I would recommend to use ExecuteToolAsync method with GPToolExecuteEventHandler parameter as in API reference sample. It will show issues with input parameters. System.Threading.CancellationTokenSource _cts;
string ozone_points = @"C:\data\ca_ozone.gdb\O3_Sep06_3pm";
string[] args = { ozone_points, "OZONE", "", "in_memory\\raster", "300",
"EMPIRICAL", "300", "5", "5000",
"NBRTYPE=StandardCircular RADIUS=310833.272442914 ANGLE=0 NBR_MAX=10 SECTOR_TYPE=ONE_SECTOR",
"PREDICTION", "0.5", "EXCEED", "", "K_BESSEL" };
string tool_path = "ga.EmpiricalBayesianKriging";
_cts = new System.Threading.CancellationTokenSource();
var result = await Geoprocessing.ExecuteToolAsync(tool_path, args, null, _cts.Token,
(event_name, o) => // implement delegate and handle events
{
switch (event_name)
{
case "OnValidate": // stop execute if any warnings
if ((o as IGPMessage[]).Any(it => it.Type == GPMessageType.Warning))
_cts.Cancel();
break;
case "OnProgressMessage":
string msg = string.Format("{0}: {1}", new object[] { event_name, (string)o });
System.Windows.MessageBox.Show(msg);
_cts.Cancel();
break;
case "OnProgressPos":
string msg2 = string.Format("{0}: {1} %", new object[] { event_name, (int)o });
System.Windows.MessageBox.Show(msg2);
_cts.Cancel();
break;
}
});
var ret = result;
_cts = null;
... View more
01-25-2025
11:18 AM
|
0
|
0
|
891
|
|
POST
|
Hi, You can open "New WEB layer" using ID (esri_sharing_SharingAsWEBLayerCXMUBtn) var commandId = "esri_sharing_SharingAsWEBLayerCXMUBtn";
IPlugInWrapper wrapper = FrameworkApplication.GetPlugInWrapper(commandId);
var command = wrapper as ICommand;
if ((command != null) && command.CanExecute(null))
command.Execute(null); Another way is to open geoprocessing tool dialog using Geoprocessing.OpenToolDialog
... View more
01-20-2025
10:57 PM
|
0
|
3
|
1139
|
|
POST
|
Hi, You can use Alter Field geoprocessing tool: Alter Field (Data Management)—ArcGIS Pro | Documentation How to call geoprocessing tool here: ExecuteToolAsync(String,IEnumerable<String>,IEnumerable<KeyValuePair<String,String>>,CancelableProgressor,GPExecuteToolFlags) Method—ArcGIS Pro
... View more
01-20-2025
10:39 PM
|
1
|
1
|
1714
|
|
POST
|
Sorry. it was commented out in daml. Maybe it was implemented in earlier versions. To handle cursor in stereo mapping you need to use keyboard key '~'. Tilde (~) Temporarily turn off fixed pointer mode. This turns off the fixed pointer mode to allow you to perform other tasks. To return to the fixed pointer mode, press the Tilde key again. Note: There is no need to press the Shift key. This shortcut applies to United States standard keyboards. Other types of keyboards may have a different character on the key. For detailed information, verify which key the VK_OEM_3 (Microsoft virtual key code) is mapped to for your keyboard. So, you can try to simulate keyboard pressing. Stereo map—ArcGIS Pro | Documentation
... View more
01-08-2025
01:05 AM
|
1
|
0
|
1227
|
|
POST
|
Hi, Try "esri_datasourcesraster_stereoCursorModeFixed". Module id="esri_datasourcesraster".
... View more
01-07-2025
06:05 AM
|
0
|
0
|
1240
|
|
POST
|
Hi, I think you can use logic from that thread. Instead of Distance you can check minimum difference in time between points. You can get both value (time and distance) on the same cycle. Here is how to obtain the difference in time.
... View more
01-02-2025
06:08 AM
|
1
|
0
|
1824
|
|
POST
|
Hi, Have you seen that ideas thread? There are helpful settings here. Author recommends output_as_image set to False and set other parameters for smaller size.
... View more
01-02-2025
05:14 AM
|
0
|
1
|
3129
|
|
POST
|
Hi, I have downloaded the solution from here. Link is used from your page ("Download solution"). Replaced API key with my own and it works on Windows.
... View more
01-02-2025
12:22 AM
|
0
|
0
|
1363
|
|
POST
|
Hi, As stated in the documentation EventTableConfiguration class is available in ArcGIS Pro 3.4 or higher.
... View more
12-18-2024
10:29 PM
|
2
|
1
|
1196
|
|
POST
|
You need to compile core host application for each ArcGIS Pro SDK which use newest .NET version:
ArcGIS Pro SDK 2.9.x - .NET Framework 4.8
ArcGIS Pro SDK 3.0.x - ArcGIS Pro SDK 3.2.x - .NET 6.0
ArcGIS Pro SDK 3.3.x - ArcGIS Pro SDK 3.4.x - .NET 8.0
... View more
12-15-2024
10:29 PM
|
0
|
0
|
1682
|
|
POST
|
Hi,
Are you trying to open geodatabase from core host application? Same error is here.
Check project .NET version. For 3.1.x was .NET 6.
... View more
12-12-2024
07:21 AM
|
0
|
2
|
1725
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 4 weeks ago | |
| 1 | 03-23-2026 11:44 AM | |
| 1 | 05-22-2024 11:48 PM | |
| 1 | 02-27-2026 10:33 AM | |
| 1 | 01-07-2026 10:44 AM |
| Online Status |
Offline
|
| Date Last Visited |
Friday
|