<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Can you create a .style with python? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/can-you-create-a-style-with-python/m-p/57146#M4527</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Geez. Why cant syles just be in json? Always gotta use proprietary formats don't you esri?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2015 18:34:19 GMT</pubDate>
    <dc:creator>ChrisMathers</dc:creator>
    <dc:date>2015-06-30T18:34:19Z</dc:date>
    <item>
      <title>Can you create a .style with python?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-create-a-style-with-python/m-p/57144#M4525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a spread sheet with a bunch of colors in it and I really dont feel like typing them all in. Can I do this automatically with python? I've opened one and it is a binary file so I would need to know the encoding to use struct on it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 18:11:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-create-a-style-with-python/m-p/57144#M4525</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2015-06-30T18:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a .style with python?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-create-a-style-with-python/m-p/57145#M4526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Arcpy does not offer the possibility to create a new style and create new items. See: &lt;A href="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/styleitem-class.htm" title="http://desktop.arcgis.com/en/desktop/latest/analyze/arcpy-mapping/styleitem-class.htm"&gt;StyleItem—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you would require ArcObjects.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 18:27:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-create-a-style-with-python/m-p/57145#M4526</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-06-30T18:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a .style with python?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-create-a-style-with-python/m-p/57146#M4527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Geez. Why cant syles just be in json? Always gotta use proprietary formats don't you esri?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 18:34:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-create-a-style-with-python/m-p/57146#M4527</guid>
      <dc:creator>ChrisMathers</dc:creator>
      <dc:date>2015-06-30T18:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can you create a .style with python?</title>
      <link>https://community.esri.com/t5/python-questions/can-you-create-a-style-with-python/m-p/57147#M4528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would be nice to have that option or access to a finer grained object model in python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For now you could use ArcObjects in Python (see this example: &lt;A href="https://community.esri.com/migration-blogpost/1175"&gt;Create a new MXD through Python.&lt;/A&gt; ). For VB code to manipulate the Styles, see this old post: &lt;A href="http://edndoc.esri.com/arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM_Samples_Docs/Cartography/Styles/d6f0e367-2dd4-4423-98a3-cbb495e83c36.htm" title="http://edndoc.esri.com/arcobjects/9.2/CPP_VB6_VBA_VCPP_Doc/COM_Samples_Docs/Cartography/Styles/d6f0e367-2dd4-4423-98a3-cbb495e83c36.htm"&gt;Add a Symbol to the Style Gallery&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or just use VBA ArcObjects if you have the "license" activate on your system.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2015 19:15:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/can-you-create-a-style-with-python/m-p/57147#M4528</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2015-06-30T19:15:45Z</dc:date>
    </item>
  </channel>
</rss>

