execute_arcpy_code
Execute ArcPy geoprocessing code in ArcGIS Pro's native Python environment and retrieve output, errors, and exceptions.
Instructions
在 ArcGIS Pro Python 环境中执行 ArcPy 代码并返回 stdout、stderr 与异常信息。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| workspace | No | ||
| project_path | No | ||
| open_current_project | No | ||
| timeout_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||