Hello everybody
I want to python code import to model builder, how can i do that?
I want to add this code to the model builder
python code
>>> arcpy.DisconnectUser("Database Connections\\172.16.200.86_IPTAL_CBS-SA.sde", "ALL")
Im using arcmap 10.4.1
Put the code in a Python script file (*.py) and create a script tool with the py file as source (What is a script tool?—Help | ArcGIS for Desktop ). Then you can add the script tool to your model as an additional process.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.