POST
|
I have tried to match the python syntax for calling the Locate Features Along Routes tool. However, I am unable to get the tool to adhere to the properties I am trying to implement in the props string. I assume this is a syntax error but I seem to have tried everything. Any ideas? //Locate structures along stream routes string urlStreamRoutes = defaultGdbPath + "\\StreamRoutes"; string urlStructTable = defaultGdbPath + "\\StructureStationing"; var props = "rkey LINE fmp tmp"; var locateArgs = Geoprocessing.MakeValueArray(urlStructBuffer, urlStreamRoutes, streamRouteId, "1 feet", urlStructTable, props, "#", "#", "NO_ZERO", "FIELDS", "M_DIRECTION"); //var locateStructs = await QueuedTask.Run(() => { return Geoprocessing.ExecuteToolAsync("LocateFeaturesAlongRoutes_lr", locateArgs); }); Geoprocessing.OpenToolDialog("LocateFeaturesAlongRoutes_lr", locateArgs);
... View more
11-05-2019
10:02 AM
|
0
|
4
|
776
|
POST
|
The code below causes ArcGIS Pro to crash. This is part of an add-in written in C#. The parameters are calling two FeatureLayers the inFeatures and nearFeatures. I have triple checked the features so my only guess is the Alias name I am using for the tool is wrong but I seem to have tried everything. Any tips? Geoprocessing.OpenToolDialog("analysis.Near", parameters);
... View more
09-04-2019
07:59 AM
|
0
|
2
|
480
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|