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.
You can add styles to your project favorites. That way, they are available in all projects.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.