I am working on model builder and python scripting. I have built a model on arcmap, Its running perfectly fine. I have exported its script file also.
Now I want to add predefined symbology for the output layer (polyline). It has unique values in it.
I already added symbology through layer file in model builder. Its working fine but it has restriction to keep that layer file intact with the model.
Now I want to know that is there any way to predefined symbology for output file in python code or model builder without using the layer file. Anything that I can do with python code?
Thanks in advance
If you are using ArcGIS Pro (version 2.4) you now have access to the CIM (Cartographic Information Model) using Python: https://pro.arcgis.com/en/pro-app/arcpy/mapping/python-cim-access.htm