Let me give you some generic advice rather than just provide an answer. The conversion of tool input to Python syntax is sometimes quite complicated, and many tools are quite different, depending on the parameters. The easiest way to get a Python syntax to do what you want is to Run the tool interactivelyGo to the Geoprocessing > Results , right click the completed tool run, and pick "Copy Python Snippet"Paste in to your code and edit in your input variables into what was pasted.After that, hopefully the tool reference / help will have examples for most exceedingly complex operations (example: Calculate Field Examples in the help).
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.