AnsweredAssumed Answered

Reference .mxd parameter in ArcGIS Pro's modelbuilder?

Question asked by jdesktop on Aug 8, 2016
Latest reply on Aug 8, 2016 by jdesktop

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?