|
POST
|
Hi Jack, It is possible to get your combobox in ArcGIS Pro way, but there is no samples with combobox. var comboBox = FrameworkApplication.GetPlugInWrapper("your_combox_id"); I have checked it returns wrapper with CommandType value ComboBox, but I don't what to do next. For example, cast to your combobox class or something like that. You can investigate that way.
... View more
08-20-2020
11:29 PM
|
2
|
0
|
1650
|
|
POST
|
Hi Jack, Take a look at: https://community.esri.com/thread/209438-combo-box-reload
... View more
08-20-2020
10:25 PM
|
2
|
3
|
1650
|
|
POST
|
Hi Sara, You can use ILayerGeneralProperties by casting from ILayer type object. More info here: https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ILayerGeneralProperties.htm
... View more
08-18-2020
10:37 PM
|
1
|
0
|
729
|
|
POST
|
Hi Matt, How to use windows forms controls in wpf application you can find here: https://www.wpf-tutorial.com/misc-controls/the-windowsformshost-control/. But you need to read Summary part of that web page.
... View more
08-18-2020
10:24 PM
|
1
|
1
|
1926
|
|
POST
|
Hi Daniel, Set background and foreground of DatePicker to esri colors: Background="{DynamicResource Esri_TextStyleDisabledBrush}" Foreground="{DynamicResource Esri_TextSelectionHighlightBrush}" I copied code from my progress dialog, but you can find right values here: http://esri.github.io/arcgis-pro-sdk/content/brushescolors/brushes.html
... View more
07-27-2020
12:44 AM
|
1
|
0
|
2050
|
|
POST
|
Hi Thomas, Geoprocessing function name is AddXY_management. You can run tool from geoprocessing dockpane, then go to history and Copy Python command. For example: arcpy.management.AddXY("PopulationPoints") Then change library and function names by places and add underscore between them.
... View more
07-27-2020
12:22 AM
|
0
|
0
|
1510
|
|
POST
|
I have found one sample, you can follow it and check if it works: https://forum.esri-cis.ru/index.php?qa=36329&qa_1=identify Site in Russian language, but code in VB At first work with IIdentifyDialog variable (until ClearLayers). After cast it to IIdentifyDialog2 variable and try your workflow
... View more
06-22-2020
04:31 AM
|
0
|
0
|
1469
|
|
POST
|
Hi Sai, ArcGIS Pro SDK recommends use of 'using' when you work with database objects. It will manage object life cycle. Try change your code like this: using (var feat = featCursor.Current) { //Modify feature attributes feat.Store(); context.Invalidate(feat); }
... View more
06-21-2020
10:40 PM
|
0
|
1
|
1599
|
|
POST
|
Hi Matthias, IIdentifyDialog2 works with tables, when IIdentifyDialog works with layers. https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#CartoUI_library.htm
... View more
06-21-2020
10:34 PM
|
0
|
2
|
1469
|
|
POST
|
Hi Anuj, 10.8 Desktop .Net SDK is based on different .Net framework version (4.5.2). ArcGIS 10.2 based on 3.5.1. Calling application (ArcMap) .NET version must be greater or equal tool .NET version. Your ArcGIS Destop and ArcObjects SDK version must match. You can build tool on 10.2 and run it on 10.8 (with some changes to ArcMap config file), but not opposite.
... View more
06-16-2020
11:44 PM
|
0
|
0
|
1332
|
|
POST
|
Hi Daniel, Code from SDK ConstructionTool sample works fine, but it doesn't use cursor. // create a new edit operation to encapsulate the string field modifications var modifyStringsOperation = new EditOperation { Name = String.Format("Modify string field '{0}' in layer {1}.", stringFieldName, mapMember.Key.Name) }; ICollection<long> oidSet = new List<long>(); var iCnt = 0; // with each ObjectID of the selected feature foreach (var oid in currentSelectedFeatures[mapMember.Key]) { // set up a new dictionary with fields to modify var modifiedAttributes = new Dictionary<string, object> { // add the name of the string field and the new attribute value to the dictionary // in this example a random string is used {stringFieldName, string.Format("Update {0}", ++iCnt)} }; // put the modify operation on the editor stack modifyStringsOperation.Modify(mapMember.Key, oid, modifiedAttributes); oidSet.Add(oid); } // execute the modify operation to apply the changes await modifyStringsOperation.ExecuteAsync();
... View more
06-09-2020
05:45 AM
|
0
|
1
|
2361
|
|
POST
|
Hi Berndt. Have you tried like this: strMsgs += Await QueuedTask.Run(Return getDefs()) I don't know VB Net syntax, but you must return value from your QueedTask.Run. Another way: strMsgs += Await QueuedTask.Run(Function() Return getDefs() End Function) In c# we use {} instead of Function() End Function. About await and async. You can use Result from QueedTask.Run. Then you do not need add async. Like this: strMsgs += QueuedTask.Run(Function() .... End Function).Result I found info for c# but I think it could be suitable and for VB Net: https://www.exprodat.com/blogs/33195/ (Enabling Edit and Continue section)
... View more
06-09-2020
12:20 AM
|
1
|
2
|
5150
|
|
POST
|
Hi Simon, Have you tried to set docking attributes(dock="group" dockWith="esri_core_contentsDockPane") in config.daml file? Enter your own dockpane id instead of esri_core_contentsDockPane. More info here: https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Dockpanes
... View more
06-08-2020
11:58 AM
|
0
|
2
|
1856
|
|
POST
|
Hi, Sample for IDETable, but it will work and for IDEFeatureClass IGPUtilities gputilities = new GPUtilitiesClass(); IDETable TargetTable = (IDETable)gputilities.MakeDataElement(pathToTable, null, null); pathToTable = Path.Combine(pWorkspace.PathName, tableName);
... View more
06-08-2020
04:44 AM
|
0
|
0
|
1152
|
|
POST
|
Hi Mark, Add-in is renamed zip file which contains Install folder with your add-in dll and it libraries. If you compiled add-in dll with library references which have attribute "Copy local" true, then your add-in always will load libraries from zip. To use newest libraries you need to put them to GAC, o before using load them from well known location.
... View more
05-28-2020
06:26 AM
|
0
|
0
|
1476
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 4 weeks ago | |
| 1 | 06-30-2026 10:14 PM | |
| 1 | 06-30-2026 01:43 PM | |
| 2 | 04-24-2026 08:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|