|
POST
|
Robert, 2.3 and 2.4. Weekly I get questions from users of how do I do this thing I could do in ArcMap in Pro. Most of the time it turns out you cannot. I see post on here everyday with the same problem. Many of the times it is simple things just like this. You would think be able to simply read an entire attribute wouldn't be a problem. Another big thing for us is that we cannot make it so it is only one ESRI platform our users will have to learn. With ArcMap and Pro annotations not being compatible on both it makes it very hard for us to justify spending this much on ESRI products much longer if we have to train everyone on both.
... View more
07-29-2019
09:58 AM
|
0
|
3
|
4362
|
|
POST
|
I doubt it. Details, results and message boxes are probably all just text capable. I have done something similar by using Tkinter to create a hyperlink button. Here is a link to the sample I used. You could also create a Task and have it create a popup with your html code.
... View more
07-25-2019
10:05 AM
|
0
|
0
|
1052
|
|
POST
|
There are several ways to do this. Use the Project tool in the Data Management Tools. Or right click the shapefile -> Data -> Export Features, in the Environments tab change the Output Coordinate System to the Geographic coordinate system you need.
... View more
07-25-2019
06:52 AM
|
3
|
0
|
5144
|
|
POST
|
You need to get creative in the name field. They have a ridiculous amount of keywords you cannot use, over 1000 of them and grows with each new release. "DATE" is one of them. Look around row 190 on the types sheet for the Reserved Keywords section.
... View more
07-25-2019
06:21 AM
|
0
|
1
|
897
|
|
POST
|
How can I display multi-lined attributes in Pro? In ArcMap you do it by changing the cell height. It is NOT a wrap text scenario. It was created in the text properties (see below). I also have some other multi-line attributes which were created using python \n with the same problem. How can I change the appearance of the cell height in Pro? Is this just yet another thing they decided not to include in Pro? Text properties in ArcMap: How to change in ArcMap: Pro?: Kory Kramer
... View more
07-24-2019
12:37 PM
|
3
|
11
|
5390
|
|
POST
|
ArcGIS API for JavaScript Mentioned a group which could probably help you better. To clarify, do you mean you want to click a button first then click on the map to get the location?
... View more
07-23-2019
09:42 AM
|
0
|
0
|
1178
|
|
POST
|
This thread might be of some help. https://community.esri.com/thread/230605-how-do-i-remove-the-180th-meridian-line-on-my-map-of-russia
... View more
07-23-2019
09:29 AM
|
0
|
0
|
3604
|
|
POST
|
Sean, In the sdk pro concepts it has an example to cut still https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing. Will this example still work in 2.3 +. The second example shows Clip, Cut, and Planarize edits on a single feature also combined into a single edit operation: //Multiple operations can be performed by a single
//edit operation.
var op = new EditOperation();
op.Name = "Clip, Cut, and Planarize Features";
//Combine three operations, one after the other...
op.Clip(featureLayer, oid, clipPoly);
op.Cut(featureLayer, oid, cutLine);
op.Planarize(featureLayer, new List<long>() { oid});
//Execute them all together
await op.ExecuteAsync();
if (!op.IsSucceeded) {
//TODO: get the op.ErrorMessage, inform the user
}
... View more
07-23-2019
09:06 AM
|
0
|
1
|
2773
|
|
POST
|
They depreciated it for Split only, see this thread https://community.esri.com/thread/225070-ability-to-split-polygon-features-with-arcgis-pro-sdk . How ever if you go to the sdk editing concepts it still shows examples of cut and nothing about split https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing. So perhaps one can still write an add-in using cut as a work around? They should recreate a cut tool in Pro tool as it did not seem to be causing any problems. Go and vote https://community.esri.com/ideas/16837-cut-polygon-tool-for-pro.
... View more
07-23-2019
08:57 AM
|
1
|
1
|
3772
|
|
POST
|
Right click the field in the attribute table and open "Fields" -> Click on the Number Format and click the three dots (...).
... View more
07-22-2019
09:42 AM
|
9
|
1
|
30504
|
|
POST
|
https://github.com/Esri/arcgis-pro-sdk Download the examples. Map tool is the one you want. I believe under Map Exploration there is an actual map tool select example. To select only one I usually just add a message box if (_selectedFeature.SelectionCount > 1)
{
ArcGIS.Desktop.Framework.Dialogs.MessageBox.Show("Select One Point Only", "Try Again");
return;
} For linking your python code I have only found using a Python Toolbox works for me in the Pro SDK, not a stand alone script. Not saying it cannot be done. Put the Toolbox in the solution and call it by doing something like below. This is pretty much exactly the same as in the documentation for the SDK. public async Task<IGPResult> ExecuteModel()
{
var progDlg = new ProgressDialog("Running Geoprocessing Tool", "Cancel");
progDlg.Show();
var progSrc = new CancelableProgressorSource(progDlg);
var pathPython = System.IO.Path.GetDirectoryName((new System.Uri(Assembly.GetExecutingAssembly().CodeBase)).AbsolutePath);
pathPython = Uri.UnescapeDataString(pathPython);
System.Diagnostics.Debug.WriteLine(pathPython);
var tool_path = System.IO.Path.Combine(pathPython, @"ToolboxName.pyt\Tool");
var parameters = Geoprocessing.MakeValueArray();
IGPResult gp_result = await Geoprocessing.ExecuteToolAsync(tool_path, parameters, null, new CancelableProgressorSource(progDlg).Progressor);
Geoprocessing.ShowMessageBox(gp_result.Messages, tool_path, gp_result.IsFailed ? GPMessageBoxStyle.Error : GPMessageBoxStyle.Default);
return gp_result;
} I highly recommend the Extending ArcGIS Pro with Add-Ins instructor-led course. I only knew Python before I took it and was able to produce the Pro C# SDK Add-ins in no time at all.
... View more
07-03-2019
11:56 AM
|
1
|
0
|
921
|
|
POST
|
Use the Feature Class to Feature Class with the Field Map parameter. To remove fields during processing, delete output fields from the Field Map. This will not affect the input.
... View more
07-03-2019
11:28 AM
|
1
|
0
|
1314
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 12-23-2025 07:43 AM | |
| 1 | 12-18-2025 12:18 PM | |
| 1 | 04-12-2021 09:58 AM | |
| 2 | 03-18-2025 10:32 AM | |
| 1 | 07-28-2020 11:56 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|