Watershed Delineation と Longest Flowpath for Watersheds を modelbuilder の 1 つのツールに統合します。カスタムツールは Watershed Delineation の部分のみ実行でき、Longest Flowpath for Watersheds の部分は実行できません。実行後のメッセージは図に示されています。この問題をどのように修正できますか?数ヶ月前までは正常に実行できていたようですが、今はできません。<\/P>
Please provide ArcGIS Pro and Arc Hydro tools versions you are using. And if you have previous software versions when your MB did work.
We'll try to recreate the problem on our end and see what the issue might be. Notice that your "Line Parameters from 2D Line" tool in the model builder is not being correctly validated - so there is something wrong there.
My ArcGIS Pro version is 2.8.29751 and Arc Hydro tools version is 2.8.17,I deleted the "Line Parameters from 2D Line" tool, but it still doesn't work, the new prompt is this "('line 309', 'c:\\program files\\arcgis\\pro\\Resources\\ArcToolbox\\ Scripts\\archydro\\longestflowpathforwatersheds.py', 'OSError: "" does not exist')”
I tried your modified MB (running on Pro 2.9.2/AH 2.9.55) and was able to make it work. I have added the result of watershed delineation (watershed polygon and watershed point FC) not only as input into the longest flowpath tool but also as a precondition for it to run. i also exposed every input and output as a parameter in the model so you can explicitly assign them. see if that helps.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.