POST
|
Hi, We are developing tool in Arcgis Pro sdk .We have feature class and we are creates lot of fields using Geoprocessing tools like below in code. But when we use geoprocessing tool (management.AddField) and when we ctreate in order fields are very slow created. How can I solve this Geoprocessing tool (management.AddField) slowness problem or can I ctreate fields by another way using pro sdk without Geoprocessing tool (management.AddField) ? Here are the code example (Adding two field in feature class) below: Layer layer = MapView.Active.Map.FindLayers(nameOfShape).FirstOrDefault(); FeatureLayer featureLayer = layer as FeatureLayer; Table table = (layer as FeatureLayer).GetTable(); int fieldLength = 15; bool isNullable = true; var parameters = Geoprocessing.MakeValueArray(tableName, "NAME", "TEXT", null, null, fieldLength, "Name", isNullable ? "NULABLE" : "NON_NULLABLE"); var results = Geoprocessing.ExecuteToolAsync("management.AddField", parameters); int fieldLength1 = 15; var parameters1 = Geoprocessing.MakeValueArray(tableName, "IDREF", "TEXT", null, null, fieldLength1, "Id Ref", isNullable ? "NULABLE" : "NON_NULLABLE"); var results1 = Geoprocessing.ExecuteToolAsync("management.AddField", parameters1); . . . . . . etc. Thanks for helping
... View more
10-08-2018
05:22 AM
|
0
|
1
|
487
|
POST
|
Hi , We using Arcgis Pro SDK for .Net version 2.2.0 We are developing tools for Arcgis Pro. We are using windows forms in it but we can not find parent handler in Arcgis Pro SDK but in ArcObject I can like ((IntPtr)ArcMap.Application.hWnd) . Application therefor forms are sliding down. How can I solve this problem ? Here is below when we use properly windows forms when we develope tools for ArcMap. public class Library { private const int GWL_HWNDPARENT = -8; [DllImport("User32", CharSet = CharSet.Auto)] private static extern int SetWindowLong(IntPtr hWnd, int Index, int Value); public static void SetParentForm(IntPtr parentHandle, IntPtr childHandle) { SetWindowLong(childHandle, GWL_HWNDPARENT, parentHandle.ToInt32()); } } Library.SetParentForm((IntPtr)ArcMap.Application.hWnd, this.anaYolForm.Handle); Thanks For Helping.
... View more
10-01-2018
05:33 AM
|
0
|
2
|
1152
|
POST
|
Hi Duncan , Thanks for answering but I can clone only in code not use geoprocessing tool.Is it possible clone in code ?If yes are there any example code about this issue. Tahanks
... View more
07-31-2018
07:42 AM
|
0
|
1
|
727
|
POST
|
Hi , I have a featureClass I want to clone an update It (featureClass). How can I clone FeatureClass? Are there any example code ? Thanks
... View more
07-30-2018
05:14 AM
|
0
|
3
|
1085
|
POST
|
Why can not you answer this question positively or negatively?
... View more
05-04-2018
07:09 AM
|
0
|
0
|
428
|
POST
|
Do you have any information on this problem? Could this error be an Add-in bug?
... View more
04-24-2018
04:19 AM
|
0
|
0
|
428
|
POST
|
Hi, Does ArcGIS Pro SDK support proprietary data formats by applying plugin data source? For example we have CAD (.NCZ) file, ArcGis Pro does not support this format (.NCZ) but can be done by implementing a plug-in data source using ArcGIS Pro SDK? We can solve this problem in ArcMap (using Plug-in Data Sources with ArcObjects 10 .NET SDK Help ) . How can we solve in ArcGIS Pro SDK? Are there any mechanizm like Plug-in Data Sources like ArcObjects? Thanks Best Regards
... View more
04-20-2018
12:58 PM
|
0
|
3
|
1334
|
POST
|
Hi, We have CAD file (.NCZ files) how can we read and open .NCZ file in ArcGIS Pro ? Are there any posibility to do this from Arcgis Pro ? Thanks for helping
... View more
04-20-2018
07:30 AM
|
0
|
1
|
924
|
POST
|
Hi , I develope command with ArcObject SDK Add-in for 10.5 ArcMap.I created my own polygon element (MyElement) inherit PolygonElementClass , IElement, IPersistStream for Index Maping jobs in ArcMap for customers .But I have problem when I save and open document after adding my Element (MyElement) in GraphicsContainer. Here is below my class and adding to IGraphicsContainer codes. With below code I can Add my own element on the GraphicsContainer but but after save this document ArcMap crashes and gives exception like below. When I Add simple ArcObject Polygon element (IElement element = new PolygonElementClass()) there is not any problem when opening and save document. How can I sove this problem ? Can you help to me ?İs It Add-in support save objects using like IPersistStream ? Here is the codes and pictures below: Codes : public class MyElement : PolygonElementClass , IElement, IPersistStream { public IEnvelope Env public string Name ..... .....properties,functions.etc. } ICompositeGraphicsLayer cGLayer = ArcMap.Document.FocusMap.BasicGraphicsLayer as ICompositeGraphicsLayer; IGraphicsLayer gLayer = cGLayer.AddLayer("Scale_1:1000", null); ...seting scale graphicLayer (ex: 1:1000) IGraphicsContainer gCont = gLayer as IGraphicsContainer; foreach (MyElement myEl in myElArray) { gCont.AddElement(myEl,0); } Creating my Element: Exception after save and open document in Arcmap: Thanks. Best Regards.
... View more
04-19-2018
12:14 AM
|
0
|
2
|
682
|
POST
|
Hi, We have Network Analiysis new project in Arcgis Pro SDK. İn this project Water Network should be specially developed for GIS.Can this product may have a network analysis in its own right using Pro sdk .In short, all the questions below can be done in Pro or pro sdk ? For example : Can network analysis be defined and saved in advance ? Can it be a specialized network analysis tool for network analysis? Can preliminary analyzes be rolled out from this vehicle?Can It activated ? Can the results of the analysis be listed and show the plate with the Selection? Also optionally interrupted Can it be shown using buffer or spatilal join in results such as neighborhood, region. Considering the attributes and topological relationships of building connection points, bolts can network monitoring be done Can network elements included in the Geometric Network be checked for connectivity Can object be searched and listed between network elements with connectivity errors Network analysis can meet the following items in Pro sdk: Selection / colorization of topological objects. Damage to customers in the event of damage(damaged network element automatically determined by the user) must be calculated). Valves that need to be shut down at the time of damage (damaged network element eautomatically must be calculated). If the answers to these questions are yes, does it make ready ArcGIS pro tools or do we have to write tools from ArcGIS Pro SDK? Thanks. Best Regards
... View more
04-12-2018
11:25 PM
|
0
|
1
|
486
|
POST
|
Hi, We want to create this format with the for loop, passing the values that the user has input from the interface into a dynamic array, not the static values as they are shown in the picture.But we are solving problem with passing array in Geoprosessing.ExecutetoolAsync method. Thanks
... View more
02-21-2018
09:57 PM
|
0
|
0
|
365
|
POST
|
Hi , We are develope ArcGis pro sdk commands for Arcgis pro .We want to use Reclassify method but we can not set values dynamicly for Ramap parameter. How Can we set dynamicly (from dynamic list, grid or array values) in RamapValue before set parameter in Reclassify ? Here is below (in picture) manually setting RamapValues with in red rectange: Thanks.
... View more
02-21-2018
07:24 AM
|
0
|
2
|
578
|
POST
|
Thank you for your reply, but I can not understand the sentence you wrote last.Can we solve this problem or can not solve it. Thanks
... View more
02-06-2018
05:41 AM
|
0
|
1
|
1168
|
POST
|
Hi Dan, We are using also Geographic coordinates for draw the right and left offensive roads in our vehicles.Are there any formula for convert (How much is 1 meter in decimal degrees?) Planar units to Geographic coordinates ? Or are there any alternative way to solve this problem ? Thanks
... View more
02-06-2018
04:53 AM
|
0
|
3
|
1168
|
Title | Kudos | Posted |
---|---|---|
1 | 11-06-2022 03:08 AM | |
1 | 08-17-2022 12:00 AM | |
1 | 09-26-2017 05:41 AM |
Online Status |
Offline
|
Date Last Visited |
12-14-2022
12:38 AM
|