laptop and a wrench

Bug

The Python code for creating a query layer in ArcGIS Pro only returns z-values if a map is open in the project, despite z-values being enabled in the script.

ArcGIS Pro
Bug ID Number BUG-000167269
SubmittedMay 7, 2024
Last ModifiedNovember 2, 2025
Applies toArcGIS Pro
Version found3.2
Operating SystemWindows OS
Operating System Version11.0 64 bit
Version Fixed3.7
StatusFixed

Additional Information

This issue is addressed in ArcGIS Pro 3.7.

Workaround

Run the code with a map open.

Steps to Reproduce

Bug ID: BUG-000167269

Software:

  • ArcGIS Pro

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options