Model becomes script
Starts from the ModelBuilder export (Export To Python File) and rewrites what it leaves out: iterators, logic, logging, error handling and an exit code for the scheduler.
Deliverable: reviewable script, rehearsed on a known caseOcto for geoprocessing with ArcPy
Almost everything done in the ArcGIS Pro toolbox can run without opening the interface: through propy.bat on Windows, through the ArcGIS Server Python 3 runtime on Linux, scheduled and in parallel. Octo turns models into scripts, builds batches per municipality, writes Python toolboxes and reads the logs in the morning. Technical criteria, corrections to the official database and publishing to production stay with authorized people.
Six possible deliverables, drawn from the survey. All of them run on the client's licensed machine, with read access to the official database, and all go to review by whoever is responsible for the data.
Starts from the ModelBuilder export (Export To Python File) and rewrites what it leaves out: iterators, logic, logging, error handling and an exit code for the scheduler.
Deliverable: reviewable script, rehearsed on a known caseParameterizes by municipality, watershed or map sheet, with a rehearsal on a few cases, a simulation of the batch and one process per area, each with its own scratch geodatabase.
Deliverable: batch + report per area + logWrites .pyt tools with parameters, validation and messages, so the team uses in the interface the same code that runs in the nightly batch.
Sets up the task (Run > Schedule in Pro or schtasks with propy.bat) and, in the morning, reads the summary and explains in plain language what ran, what stopped and why.
Finds scripts that depend on Concurrent Use, on CheckOutExtension or on old Python before upgrading to Pro 3.7, which no longer supports Concurrent Use.
Moves headless routines to the ArcGIS Server Python 3 runtime on Linux (package arcgis-server-py3), first checking which tools exist there.
The same Octo cycle, applied to ArcPy. Each arm has a narrow role; deciding the criteria, approving corrections and publishing to production are done by people.
ArcGIS Pro and Server version, license type, extensions, ModelBuilder models, old scripts, scheduled tasks and where the data lives.
Coordinate system, cell size, snap raster, key fields (IBGE code, parcel registration number) and which is the official database and which is the working copy.
Read access to the official database, no password in the script, portal token with a known lifetime. Cadastral and social registries hold personal data: assessed with the client (LGPD) before leaving the environment.
propy.bat or the Server runtime; script tool or .pyt; parallelProcessingFactor or one process per area; Pro scheduling or schtasks.
Python with ArcPy, a log per run, exit code, rehearsal on a few cases and a simulation mode, with the source of each syntax noted in the file.
Compares with a result already done by hand in Pro: same municipality, same criteria. Checks by the number and the map, not by the absence of errors.
Only with your OK, it runs on the licensed machine and publishes to the staging layer. Promotion to production is done by a person.
Pro and Python version, weights, ranges, parameters and the result of each run. The batch for one study is not assumed ready for another.
Octo works with read access and as support. It does not edit the official database, publish to production or issue technical reports or decisions: that belongs to authorized people.
The criteria Octo uses to choose. Always on the client's licensed machine, with the documentation for the installed version.
| Task | Path | Note |
|---|---|---|
| Running an ArcPy script without opening Pro | propy.bat script.py | Uses the active Pro environment |
| Installing an extra package | Clone arcgispro-py3 (conda proclone or conda create --clone ... --pinned) | Do not touch the default environment |
| Turning a script into a tool | Python toolbox (.pyt) or script tool | Same tool for a person and for the batch |
| Reusing an existing model | ModelBuilder > Export To Python File | Iterators and logic are rewritten |
| Running at a set time | Run > Schedule in Pro, or schtasks + .bat | Named User with "Sign in automatically" |
| Speeding up a tool | arcpy.env.parallelProcessingFactor | Only in tools that honor the environment |
| Running on Linux | ArcGIS Server Python 3 runtime (arcgis-server-py3) | Not every tool exists there |
| Publishing a layer by script | FeatureSharingDraft + StageService + UploadServiceDefinition | Staging by script; production with a person |
Three steps. Each one only makes sense after the previous one has shown results in your geoprocessing team.
A proposal, not a promise
You describe the workflow you do in Pro and Octo proposes the script, rehearsed on a case you already know.
Studies repeated by area now run in batch, and routines become Python toolboxes the team uses in the interface.
.pyt toolbox with parameter validationScheduled pipelines in Pro or on ArcGIS Server on Linux, with a summary read by Octo every morning.
Each point below has a source published by the vendor, the project or the responsible agency. The sources are in the next section.
4
points with a published source, each with its reference alongside.
CheckOutExtension page says the function no longer performs any action as of 3.7.Source: ArcGIS Pro FAQ; CheckOutExtension reference (doc.esri.com)pathlib.Path and cursors gained SHAPE@GEOJSON.Source: What's new in ArcGIS Pro 3.7 (doc.esri.com)arcgis-server-py3 at the ArcGIS Server version, with ARCGISHOME pointing to the installation; without the package, the server's Python runs through Wine. Some toolboxes are not included in this runtime.Source: Python 3 runtime for ArcGIS Server on Linux (ArcGIS Enterprise documentation)Octo prepares everything, but does not sign. The document of record stays with whoever is accountable for it.
Gathers, calculates, organizes and produces the documents: spreadsheets, reports, maps and drafts.
Deliverable: material ready for reviewThe licensed professional reviews what Octo delivered before signing. If something doesn't add up, it goes back to Octo with the correction.
Step: review by whoever signsOcto does not sign. Designs, technical reports, ART/RRT, accountability reports and any official document are still signed by the licensed professional at the company or agency: here, the professional of record for the map or survey.
Signature: professional of record for the map or surveyEsri and Microsoft documentation used in the survey, accessed October 29, 2026.
The assessment starts with a model or a study your team already does by hand, without touching the official database. You get a proposal for what can be automated, rehearsed on a known case, and decide with it in hand.