laptop and a wrench

Bug

Typing '\n' on the code block when using the Calculate Value tool (ModelBuilder) causes the parser to execute the command and split the script.

Zuletzt veröffentlicht: February 20, 2019 ArcGIS Pro
Bug-ID-Nummer BUG-000120152
EingereichtFebruary 19, 2019
Zuletzt geändertMay 31, 2023
Gilt fürArcGIS Pro
Gefunden in Version2.3
Server-PlattformWindows OS
Client-Plattform10.0 64 Bit
StatusIn Product Plan

Zusätzliche Informationen

Use the Python’s os.linesep property in code block import os and in the writer = use lineterminator=os.linesep instead of the lineterminator=r'\n'

Schritte zur Reproduzierung

Bug-ID: BUG-000120152

Software:

  • ArcGIS Pro

Hilfe von ArcGIS-Expert*innen erhalten

Technischen Support kontaktieren

Die Esri Support-App herunterladen

Zu den Download-Optionen

Weitere Informationen zu diesem Thema erkunden