HI,
I have made a script tool which runs several geoprocessing functions in a row. The final result is a new feature class. At the end of the script I need it open the feature class, and then apply symbology from another layer. I have not been able to get it to open a feature class in the map from within the script. I have tried several ideas from forum but have not had nay luck. Most throw errors. The following allows the program to complete but does nothing. Thanks in advance for the help.
aprx = arcpy.mp.ArcGISProject("CURRENT")
aprxMap = aprx.listMaps()[0]
aprxMap.addDataFromPath(outpath)