|
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
|
1173
|
|
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
|
6264
|
|
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
|
1495
|
|
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
|
4367
|
|
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
|
3205
|
|
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
|
4428
|
|
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
|
10
|
1
|
31821
|
|
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
|
1114
|
|
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
|
1465
|
|
POST
|
Just found this on a reddit post. I have not tested it yet. We have one very picky user and want to have this information ready if needed. C:\Users\USERNAME\AppData\Local\ESRI\ArcGIS.Desktop.Config.daml https://www.reddit.com/r/gis/comments/9gl9vr/does_arcgis_pro_have_a_way_to_save_customization/
... View more
07-03-2019
11:13 AM
|
0
|
1
|
2334
|
|
POST
|
Did you ever find the equivalent of the normal.mxt for Pro?
... View more
07-03-2019
09:45 AM
|
0
|
3
|
2334
|
|
POST
|
I am looking for the same thing, but for recovery reasons. I have had several times over the last 15 years where a computer crashed and I had used a Sata to Usb hard drive converter cable to retrieve the normal.mxt so their customization's will be set up on the new machine. Is there an equivalent to the normal.mxt file for this purpose in Pro? I am not sure saving a Project Template every time they change the feel of their Pro projects is the answer.
... View more
07-03-2019
09:30 AM
|
0
|
0
|
4263
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 1 | 03-23-2026 08:11 AM | |
| 1 | 03-23-2026 07:55 AM | |
| 7 | 03-18-2026 12:15 PM | |
| 1 | 03-11-2026 07:51 AM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|