<?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: Label Expression Parser in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/label-expression-parser/m-p/59306#M4724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't do this in ArcMap using Python, but I am pretty sure you can in ArcGIS Pro using the new &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/python-cim-access.htm"&gt;Python CIM access&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will take a bit of time though to figure out exactly where in the JSON object model the information is, and you can then use &lt;STRONG&gt;arcpy.mp&lt;/STRONG&gt; and the &lt;STRONG&gt;getDefinition()&lt;/STRONG&gt; method on a layer object to access it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2020 21:36:10 GMT</pubDate>
    <dc:creator>MarcoBoeringa</dc:creator>
    <dc:date>2020-05-14T21:36:10Z</dc:date>
    <item>
      <title>Label Expression Parser</title>
      <link>https://community.esri.com/t5/python-questions/label-expression-parser/m-p/59304#M4722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there any way to determine using arcpy what the parser is set to? I'm guessing no and that it's more of a arc objects thing.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="648" src="https://community.esri.com/legacyfs/online/492222_parser.png" width="499" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 20:45:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/label-expression-parser/m-p/59304#M4722</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2020-05-14T20:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: Label Expression Parser</title>
      <link>https://community.esri.com/t5/python-questions/label-expression-parser/m-p/59305#M4723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correct, for ArcMap.&amp;nbsp; You can infer it from the expression, e.g., the expression starting with 'def' means it is Python, but there is no ArcPy method or property for retrieving the Parser directly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 21:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/label-expression-parser/m-p/59305#M4723</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-05-14T21:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Label Expression Parser</title>
      <link>https://community.esri.com/t5/python-questions/label-expression-parser/m-p/59306#M4724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't do this in ArcMap using Python, but I am pretty sure you can in ArcGIS Pro using the new &lt;A href="https://pro.arcgis.com/en/pro-app/arcpy/mapping/python-cim-access.htm"&gt;Python CIM access&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will take a bit of time though to figure out exactly where in the JSON object model the information is, and you can then use &lt;STRONG&gt;arcpy.mp&lt;/STRONG&gt; and the &lt;STRONG&gt;getDefinition()&lt;/STRONG&gt; method on a layer object to access it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2020 21:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/label-expression-parser/m-p/59306#M4724</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2020-05-14T21:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Label Expression Parser</title>
      <link>https://community.esri.com/t5/python-questions/label-expression-parser/m-p/59307#M4725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can work with that. Our older mxd’s tend to be vbscript but we’ve used python over the last few years++. I can now tell which is being used and move forward accordingly.&lt;/P&gt;&lt;P&gt;Thanks Joshua&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2020 13:51:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/label-expression-parser/m-p/59307#M4725</guid>
      <dc:creator>ChrisHolmes</dc:creator>
      <dc:date>2020-05-15T13:51:10Z</dc:date>
    </item>
  </channel>
</rss>

