Hello, I have a python tool with a few derived output parameters, these are feature layers that gets linked to shapefiles at the end of the script, and they get a symbology:
arcpy.SetParameterAsText(32, buildings_shapefile_result)
arcpy.SetParameterSymbology(32, lyr_building_risk_a)
This works. However, if I try to add the same shapefile to multiple output feature layers (with different symbology), I only get one of these, probably because ArcGIS Pro cannot have several layers in Contents with the same name. Is there any way to access the feature layer's name right after the above code and change it? I tried a couple of things without success.