I am trying to save the following python script as a tool to be incorporated into modelbuilder within Pro:
mxd = arcpy.mapping.MapDocument(r"C:\Project\Project.mxd")
arcpy.mapping.ExportToPNG(mxd, r"C:\Project\Output\Project.png")
It works in ArcMap but I'm not sure how to do it in Pro since it does not use .mxd files.
How can I access the map document in Pro and run a tool that traditionally uses an .mxd?