|
POST
|
Kory, You linked me back and forth to both my question and idea. So is the answer no we cannot see our multi-lined attributes in Pro?
... View more
08-05-2019
05:53 AM
|
0
|
1
|
5106
|
|
POST
|
You could also try adding the XY layer to the map with the python script using addLayer and then use the XML tool, if you do not want to use paths or two different scripts. I just don't think the ExecuteTool can add any outputs until the full python script has been executed. Good luck! I might be over thinking things and someone can correct me.
... View more
08-02-2019
12:23 PM
|
0
|
0
|
1793
|
|
POST
|
I am saying execute both tools in the python script using paths. Then add what ever resulting data you want at the end in .NET using the method I gave you. With the SDK ExecuteTool I don't think you can add outputs in the middle of a python script and then start it back up where it left off. The ExecuteTool runs the entire python script and then adds the output.
... View more
08-02-2019
11:58 AM
|
0
|
0
|
1793
|
|
POST
|
You are trying to add multiple outputs from the python script into the map. The first is the XY event tool results, which you need to for the XML tool results. So if you want to do it that way you will need two run to different scritps in two different Tasks probably. The SDK ExecuteTool will wait for the script to completely run before adding any outputs, it probably cannot know to stop python after one tool is ran and add the output and then restart python until the next output of the next tool. So in this case yes you will need two scripts.
... View more
08-02-2019
11:55 AM
|
0
|
2
|
1793
|
|
POST
|
If you have the path of the resulting XY layer path you should be able to just get it from the path and not the Map. From the Code samples: out_Layer = "firestations_layer" saved_Layer = r"c:\output\firestations.lyr" Use arcpy.SaveToLayerFile_management(out_Layer, saved_Layer) when saving the XY layer. Then use arcpy.env.workspace = r"c:\output\". Finally use layers = arcpy.ListFiles("*.lyr*") to get the Parameter layer.
... View more
08-02-2019
11:44 AM
|
0
|
2
|
3276
|
|
POST
|
Do you not specify the path of the xy layer results in the python script or are you using in memory?
... View more
08-02-2019
11:27 AM
|
0
|
4
|
3276
|
|
POST
|
Yes this would work and only be a couple additional lines of code.
... View more
08-02-2019
11:23 AM
|
0
|
0
|
1793
|
|
POST
|
Jamal West wrote: I shouldn't need to manually add the layer via sdk given that the ExecuteToolAsync is supposed to add the layer when it creates it. Using that means I have to generate the filename on the c#side or return it from my python tool. Do you know how to return it? In python I know how to generate unique file names, not in c# or the arcgis pro sdk. Agreed! Just showing you the way I know how. Yes I do think you can get the results from a python script over to the .NET, but the only way I personally would know how is if the python script is executed from the .NET solution. I think I have done this, let me take a look and think it over.
... View more
08-02-2019
11:06 AM
|
0
|
6
|
3276
|
|
POST
|
"a" is the path to the new layer created from the execution of the tool. await QueuedTask.Run(() =>
{
Map map = MapView.Active.Map;
LayerFactory.Instance.CreateLayer(new Uri(a), map);
});
... View more
08-02-2019
10:45 AM
|
0
|
13
|
3276
|
|
IDEA
|
Currently in Pro if your attribute is multi-lined you cannot see past the first line without editing or hovering it. In ArcMap you can simply change the cell height.
... View more
07-29-2019
10:49 AM
|
27
|
3
|
2980
|
|
POST
|
When you say short term work around do you mean that it is in the short term plan to be able to work with same annotation feature classes in both platforms?
... View more
07-29-2019
10:37 AM
|
0
|
1
|
5106
|
|
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
|
5106
|
|
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
|
1476
|
|
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
|
5975
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-17-2026 01:08 PM | |
| 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 |
Offline
|
| Date Last Visited |
Thursday
|