|
POST
|
The path I added to previous reply is from ArcObjects SDK path. It must exist on your computer if you can compile yours library. Your path is used for C++ or other COM based solutions. ArcGIS and SDK version 2 first numbers must match. So 10.7 SDK library can’t be used with ArcGIS 10.6.x
... View more
04-12-2019
07:14 AM
|
0
|
3
|
3116
|
|
POST
|
Jin, Try to check properties of ESRI.ArcGIS.ADF.Connection.Local reference . Specific Version property must be set to False. You can also check existence of ESRI.ArcGIS.ADF.Connection.Local library in C:\Program Files (x86)\ArcGIS\DeveloperKit10.6\DotNet folder. 10.7 has that library.
... View more
04-12-2019
06:06 AM
|
0
|
5
|
3116
|
|
POST
|
Hi Jin, Open Configuration manager (right click on solution). Check project and solution platforms. If your project platform Any CPU, so your solution platform must be Any CPU or Mixed Platforms.
... View more
04-12-2019
12:54 AM
|
0
|
7
|
3116
|
|
POST
|
Hi Mody, Look at the piece of code below that return minimum value of specific table field. I hope it will help. var parameters = Geoprocessing.MakeValueArray(pFeatClass, string.Format("[[{0}, MIN]]", sAreaField)); var gpResult = Geoprocessing.ExecuteToolAsync("Statistics_analysis", parameters); double dMin = Convert.ToDouble(gpResult.Result.Values[0]);
... View more
03-22-2019
01:40 AM
|
0
|
4
|
1883
|
|
POST
|
Hi, I would like to choose from disk projection file with prj extension and then use the content of file to create SpatialReference using SpatialReferenceBuilder. OpenItemDialog has only text files filter ItemFilters.textFiles. It allows to select files with extensions txt, csv and tab. Is it possible to add own filter like "*.prj"?
... View more
03-05-2019
07:32 AM
|
0
|
0
|
845
|
|
POST
|
Hi Dominic, I think you can use different geoprocessing tool "Join Field" (Join Field—Data Management toolbox | ArcGIS Desktop ). It works without layers so it does not need to refresh the content of map. But at first you need to make a copy of your data and run join field geoprocessing tool on it because this tool adds joined fields permanently. After your calculations are completed you need to delete copy of your data. I do not know which way will be faster with geoprocessing but it will not refresh your screen
... View more
12-28-2018
12:17 AM
|
0
|
1
|
3223
|
|
POST
|
Hi Dominic, Your code does not work from my add-in from ArcGIS Pro 2.3 Beta. I have change it in my style at it works fine without refreshing. public static bool JoinTable(string sLayerName, string sInField, string sJoinTable, string sJoinField, bool bKeepAll) { try { var gpresult1 = Task.Run(() => { string sJoinType = "KEEP_COMMON"; if (bKeepAll) sJoinType = "KEEP_ALL"; var parameters = Geoprocessing.MakeValueArray(sLayerName, sInField, sJoinTable, sJoinField, sJoinType); return Geoprocessing.ExecuteToolAsync("AddJoin_management", parameters, null, CancelableProgressor.None, GPExecuteToolFlags.AddToHistory); }); return !gpresult1.Result.IsFailed; } catch (Exception ex) { //MessageBox.Show(ex.ToString()); return false; } } I have never used geoprocessing tool naming like you do: "management.AddJoin" . I use naming like this "AddJoin_management".
... View more
12-18-2018
11:06 PM
|
0
|
3
|
3223
|
|
POST
|
Hi Dominic, I use a lot of geoprocessing in my code and GPExecureToolFlags works for me. Could you please send me a piece of code where you call geoprocessing tool?
... View more
12-17-2018
10:39 PM
|
0
|
5
|
3223
|
|
POST
|
I use tools inside group and size attribute works. Another way is to put tools to buttonPalette and buttonPallete has attribute size. It works in my project too.
... View more
12-13-2018
12:37 AM
|
0
|
0
|
3060
|
|
POST
|
Hi Thomas, You can do the same select on featureLayer object: featureLayer.Select(anotherQueryFilter, SelectionCombinationMethod.New); It works in my code.
... View more
12-12-2018
11:11 PM
|
0
|
0
|
1405
|
|
POST
|
Hi Mario. Your buttons have size attribute which is "large". I add the same attribute to your tools: <toolPalette id="ImportSources_ToolPalette" showItemCaption="true" itemsInRow="1"> <tool refID="ImportSources_ByRectangle_tool" size="large"/> <tool refID="ImportSources_ByCircle_tool" size="large"/> <tool refID="ImportSources_ByPolygon_tool" size="large"/> <tool refID="ImportSelectedSources_btn" size="large"/> </toolPalette>
... View more
12-12-2018
03:43 AM
|
0
|
2
|
3060
|
|
POST
|
Hi Dominic, You can use geoprocessing from sdk for joining, but you need to change geoprocessing flags. Do not use GPExecuteToolFlags.AddOutputsToMap, GPExecuteToolFlags.Default or GPExecuteToolFlags.RefreshProjectItems flags. More info here: https://github.com/esri/arcgis-pro-sdk/wiki/ProConcepts-Geoprocessing
... View more
12-12-2018
03:37 AM
|
0
|
1
|
3223
|
|
POST
|
Hi, In previuous code st_in variable is used for file content, in last code - for file path. You need to save file content to file and use it for geoprocessing
... View more
12-10-2018
01:13 AM
|
1
|
0
|
3164
|
|
POST
|
Hi, Have you tried to use your created csv file from ArcGIS Pro toolkit? If it works from ArcGIS Pro toolkit, when problems in your parameters list formatting. Else - problems in your csv file.
... View more
12-10-2018
12:29 AM
|
0
|
2
|
3164
|
|
POST
|
Hi Uma, Thanks for reply. Custom Catalog sample works like in your picture. I see that there is no vertical separator. I have used my own usercontrol before 2.2 version. I have changed only my style to Esri_ListBoxPanelIndicator style in version 2.2 and it works fine. In 2.2 tabcontrol worked with simple IEnumerable which contained my own objects with tab information. As I understand it works now with List of TabControl items only.
... View more
12-09-2018
11:41 PM
|
0
|
0
|
999
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a week ago | |
| 1 | a week ago | |
| 1 | a month ago | |
| 1 | 06-30-2026 01:43 PM | |
| 2 | 04-24-2026 08:33 AM |
| Online Status |
Offline
|
| Date Last Visited |
Tuesday
|