Is there a way to add a custom stylx
-file, I created, to my ArcGIS Pro ModelBuilder process?
I would like to auto style the output layer of my process, after the process is done.
arcgis-desktoparcgis-promodelbuilderstyle
Is there a way to add a custom stylx
-file, I created, to my ArcGIS Pro ModelBuilder process?
I would like to auto style the output layer of my process, after the process is done.
Best Answer
Not directly. The StyleX file is a container of styles. How a style is applied to a feature needs to be defined. You can do that by saving a Layer File (
.lyrx
) that has these mappings. For example, you set a Unique Value Render on a particular field using a symbol defined in the Style file. Once you have this setup, save the layer to the .lyrx and use this file to symbolize your output.Now that you have a .lyrx, there are two ways to use it: