Select to view content in your preferred language

Arcpy class for importing styles

1235
3
01-04-2022 09:13 AM
Status: Implemented
Labels (1)
David_Colombini
Emerging Contributor

I was looking over the ArcGISProject class in the ESRI developer docs and was wondering if it's possible to use this class to import a style (or stylx) and set it as a default?  If not, I think this would be very helpful because my company uses custom styles all the time and it is a pain to have to manually import the same style into every project.

Tags (2)
3 Comments
JohannesLindner

You can add styles to your project favorites. That way, they are available in all projects.

JohannesLindner_1-1641368586836.png

 

 

JeffBarrette
Status changed to: In Product Plan

At Pro 3.2 we've added the ability to reference existing styles via the ArcGISProject.listStyleItems() method.  Post 3.2, and hopefully Pro 3.3, we plan to add the capability to add styles to a project like we did with folder connections and databases.

Jeff - Layout and arcpy.mp teams

KoryKramer
Status changed to: Implemented

This is implemented in ArcGIS Pro 3.3. See Your Ideas in ArcGIS Pro 3.3 for a full list of all user ideas you can look forward to! And be sure to check out the release blog and what’s new help topic and video to learn more about all the new features and functionality in the release.