AnsweredAssumed Answered

Where can I find info on name and parameters for Geoprocessing tools

Question asked by rad765 on Feb 27, 2018
Latest reply on Feb 27, 2018 by rad765
I try to execute a geoprocessing tool "SplitLineBypoint" and I have the code below, witch do not give me the expected result.
My first question is:
      Where can i find the name/id of the tool. My guess in the code are "analysis.SplitLineAtPoint", but that just my guess.
secondly: Were can I find documentation on the values that I have to pack into the valueArray.
private async Task<bool> SplitPipesByJunctions()
        {
            var valueArray = await QueuedTask.Run(() =>
            {
                mVannledninger = GetLayer("Vannledninger");
                mJunctions = GetLayer("Vann_nett_Junctions");
                mDestVannledninger = GetLayer("Vannledninger_SplitLineAtPoi");
                return Geoprocessing.MakeValueArray(mVannledninger, mJunctions, mDestVannledninger, 0.1 );
            });
            var res = await Geoprocessing.ExecuteToolAsync("analysis.SplitLineAtPoint", valueArray);
            return true;
        }

Outcomes