|
POST
|
Have you read that thread: https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-react-to-the-saving-of-an-edit-session/m-p/1087947
... View more
01-17-2023
06:33 AM
|
0
|
0
|
1941
|
|
POST
|
If you are running add-ins from Visual studio it will not show progress dialog ( no matter Debug or Release mode) . Try to run it directly from ArcGISPro.exe executable.
... View more
01-16-2023
07:53 AM
|
0
|
0
|
3183
|
|
POST
|
Hi, Look at the Esri community sdk ModifyNewlyAddedFeatures sample. You need to listen editing events. And there is no need for Save button in your daml. More info about editing events here: https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Editing#row-events
... View more
01-16-2023
07:03 AM
|
1
|
2
|
1968
|
|
POST
|
Hi, I think that you update progress not from UI thread. This link could help you: https://community.esri.com/t5/arcgis-pro-sdk-questions/best-way-to-show-progress/m-p/778671
... View more
01-15-2023
10:29 PM
|
1
|
2
|
3200
|
|
POST
|
Hi, I mean, that in the other place of your code you can read clipboard value, which you have added. You can develop add-ins button with implementing "Paste spatial" and add it to the ArcGIS Pro ribbon/toolbar/group, which you want. If you want what ArcGIS Pro could read your clipboard content, you need to know clipboard content format. Try to copy selected feature from ArcGIS Pro to clipboard. Then from your created addin button try to investigate current clipboard content. Clipboard class has many different methods to read clipboard content. Some links to help you: https://learn.microsoft.com/en-us/dotnet/api/system.windows.clipboard?view=windowsdesktop-7.0 Copy and paste using the clipboard—ArcGIS Pro | Documentation
... View more
01-11-2023
04:39 AM
|
0
|
1
|
4369
|
|
POST
|
Hi, I think you need to serialize geometry to text first (xml, json) and then using Clipboard.SetText(geometry.ToJson()) put it to the clipboard. At the other end to get shape from clipboard use sample code below (for points): string geometryText = Clipboard.GetText();
MapPoint point = MapPointBuilder.FromJson(geometryText);
... View more
01-04-2023
05:01 AM
|
0
|
3
|
4399
|
|
POST
|
CSV is not strong structured format, why you can load csv formatted files using different file extensions. For example, your csv formatted files could have different content. First file columns: X, Y, attribute1, attribute2 Second file columns: attribute, X, Y And etc. So, each csv formatted file with different field order must have different plugin. For strongly formatted files there is no need to have different plugins.
... View more
01-03-2023
11:55 PM
|
0
|
0
|
3089
|
|
POST
|
You can change file extension to csvx or something like that. If content of your file will be csv formatted then you can use code from sample, which uses exactly the same geoprocessing tool as I mentioned earlier.
... View more
01-03-2023
05:57 AM
|
0
|
2
|
3105
|
|
POST
|
There is Esri ArcGIS Pro SDK community sample with exactly csv data: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Map-Authoring/AddToMapCustomItem It adds csv data in List<string> IMappableItem.OnAddToMap(Map map) method.
... View more
01-03-2023
05:36 AM
|
0
|
4
|
3109
|
|
POST
|
Hi, To add csv as feature layer you need to execute xy table to point geoprocessing tool. The same as in ribbon "Add Data" - "XY Point Data"
... View more
01-03-2023
05:07 AM
|
0
|
6
|
3115
|
|
POST
|
Hi, The sample below is from @NarelleChedzey answer in thread. <menus>
<menu id="esri_task_insertMenu" caption="Task" extendedCaption="Ribbon add task items menu" keytip="TA"
largeImage="pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/TaskItem32.png"
smallImage="pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/TaskItem16.png">
<tooltip heading="Task">Add task items to your project.</tooltip>
<button refID="esri_tasks_NewProjectTaskItem" />
<menu refID="esri_tasks_ImportTaskFileMenu"/>
</menu>
<menu id="esri_tasks_ImportTaskFileMenu" caption="Import and Open Task File"
largeImage="pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/GenericImport32.png"
smallImage="pack://application:,,,/ArcGIS.Desktop.Resources;component/Images/GenericImport16.png">
<button refID="esri_tasks_ImportTaskFileBrowse"/>
<dynamicMenu refID="esri_tasks_ImportMenu" inline="true"/>
</menu>
</menus> You can add one menu item to another menu item.
... View more
12-29-2022
11:23 AM
|
0
|
0
|
1102
|
|
POST
|
Hi, It is exposed on ArcGIS Pro 3.1 Beta but it does not work as expected. QueuedTask.Run(() =>
{
ApplicationOptions.GeoprocessingOptions.SetEnableUndoOn(true);
}); I have tried to read new value of property and it still has old value.
... View more
12-28-2022
12:27 AM
|
0
|
1
|
1966
|
|
POST
|
Hi, ArcGIS Pro is not based on ArcObjects. It has own API. So you need to rewrite your workflow using ArcGIS Pro API. You can study Esri community samples related to Workflow management here: https://github.com/Esri/arcgis-pro-sdk-community-samples/tree/master/Workflow ArcGIS Pro API is here .
... View more
12-22-2022
01:49 AM
|
0
|
0
|
1021
|
|
POST
|
Hi, I think you need to switch off visibility for other existing label classes. Look at Esri community sample LabelLineFeatures //Turn off all the label classes except this one
foreach (var lc in listLabelClasses)
{
lc.Visibility = lc.Name == "labelFeatureLayer" ? true : false;
}
... View more
12-21-2022
06:42 AM
|
0
|
0
|
1307
|
|
POST
|
Hi, Try lines below. It works for me: <tab id="PamConfig_Tab1" caption="PAM">
<group refID="PamConfig_Group1" />
<group refID="PamConfig_editing_selectionGroup" />
</tab>
.....
<group id="PamConfig_editing_selectionGroup" caption="Selection" appearsOnAddInTab="false">
<toolPalette id="esri_editing_selectToolPalette" itemsInRow="1" showItemCaption="true" caption="Select" extendedCaption="Open select tool palette">
<tool refID="esri_mapping_selectByRectangleTool" />
<tool refID="esri_mapping_selectByPolygonTool" />
<tool refID="esri_mapping_selectByLassoTool" />
<tool refID="esri_mapping_selectByCircleTool" />
<tool refID="esri_mapping_selectByLineTool" />
<tool refID="esri_mapping_selectByTraceTool"/>
</toolPalette>
<button refID="esri_mapping_clearSelectionButton" size="middle" />
<button refID="esri_mapping_zoomToSelectionButton" size="middle" />
</group>
... View more
12-15-2022
10:38 PM
|
0
|
1
|
2593
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 2 | 04-24-2026 08:33 AM | |
| 1 | 03-23-2026 11:44 AM | |
| 1 | 05-22-2024 11:48 PM |
| Online Status |
Offline
|
| Date Last Visited |
Wednesday
|