As everybody, I use Calculate Field regularly in ArcGIS Pro.
I wonder if it is possible to print messages in the Code Block section. I used the print() statment and the syntax is correct. After running the Calculate Field tool, if I click on the View Details, I cannot see the print messages I wished. This is purely informative and this helps to understand the calculation in details...
Have never tried, but perhaps:
I already tried the arcpy.AddMessage() but this one does not work in Code Block...
Would a combination of arcpy.AddMessage and arcpy.GetMessages work?