I am working on a model in ModelBuilder in ArcGIS Pro 3.6 using ArcGIS Enterprise 11.1. I was able to export the model to a Python script yesterday, but when I try to export it today, the script is missing. It's also missing when I open it in the Python Window. All I see is the following:
#Required only when there are SubModel(s)
import sys
sys.path.append(r"C:\Users\{pcname}\AppData\Local\Temp\ArcGISProTemp19784")
# -*- coding: utf-8 -*-
"""
Generated by ArcGIS ModelBuilder on : 2025-12-10 18:35:25
"""
The only change I've made since yesterday was adding Make Feature Layer at the beginning of the model. I removed that extra step and I am receiving the same result. Anyone with insight?