<?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 Label Transformers with Sizes in Electric Questions</title>
    <link>https://community.esri.com/t5/electric-questions/label-transformers-with-sizes/m-p/649743#M606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Electric Utility.&lt;/P&gt;&lt;P&gt;We depict transformers as a single symbol.&amp;nbsp; There could be one, two or three transformers at that location.&lt;/P&gt;&lt;P&gt;I would like to label all the sizes at that location along with their phase designation.&lt;/P&gt;&lt;P&gt;(i.e. &lt;EM&gt;A:25&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;B:25&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;C:25&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;The phase designation is within the attribute data but the sizes are in a domain.&lt;/P&gt;&lt;P&gt;How would you get the domain values to appear in the label when displayed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Feb 2018 14:27:10 GMT</pubDate>
    <dc:creator>BrentBordelon</dc:creator>
    <dc:date>2018-02-13T14:27:10Z</dc:date>
    <item>
      <title>Label Transformers with Sizes</title>
      <link>https://community.esri.com/t5/electric-questions/label-transformers-with-sizes/m-p/649743#M606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Electric Utility.&lt;/P&gt;&lt;P&gt;We depict transformers as a single symbol.&amp;nbsp; There could be one, two or three transformers at that location.&lt;/P&gt;&lt;P&gt;I would like to label all the sizes at that location along with their phase designation.&lt;/P&gt;&lt;P&gt;(i.e. &lt;EM&gt;A:25&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;B:25&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;C:25&lt;/EM&gt;)&lt;/P&gt;&lt;P&gt;The phase designation is within the attribute data but the sizes are in a domain.&lt;/P&gt;&lt;P&gt;How would you get the domain values to appear in the label when displayed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Feb 2018 14:27:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/electric-questions/label-transformers-with-sizes/m-p/649743#M606</guid>
      <dc:creator>BrentBordelon</dc:creator>
      <dc:date>2018-02-13T14:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: Label Transformers with Sizes</title>
      <link>https://community.esri.com/t5/electric-questions/label-transformers-with-sizes/m-p/649744#M607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the code I use to label transformers.&amp;nbsp;If there are multiple transformers at a single location I use a semicolon to separate them in the BankKva attribute&amp;nbsp;field, for example and AC phase transformer bank could be 25;0;50 and would display as A-25;C-50.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function FindLabel ( [PhaseCode], [BankKva] )&lt;BR /&gt;&amp;nbsp;dim kva&lt;BR /&gt;&amp;nbsp;kva = [PhaseCode]&lt;BR /&gt;&amp;nbsp; if kva = "AB" then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FindLabel = "A-" &amp;amp; split([BankKva],";")(0)&amp;amp;";"&amp;amp; "B-" &amp;amp; split([BankKva],";")(1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; elseif kva = "AC" then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FindLabel = "A-" &amp;amp; split([BankKva],";")(0)&amp;amp;";"&amp;amp; "C-" &amp;amp; split([BankKva],";")(2)&lt;/P&gt;&lt;P&gt;&amp;nbsp; elseif kva = "BC" then&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FindLabel = "B-" &amp;amp; split([BankKva],";")(1)&amp;amp;";"&amp;amp; "C-" &amp;amp; split([BankKva],";")(2)&lt;/P&gt;&lt;P&gt;&amp;nbsp; else&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FindLabel = kva&amp;nbsp; &amp;amp; "-" &amp;amp; [BankKva] &lt;BR /&gt;&amp;nbsp; end if&lt;BR /&gt;End Function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Feb 2018 13:17:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/electric-questions/label-transformers-with-sizes/m-p/649744#M607</guid>
      <dc:creator>PaulSottile</dc:creator>
      <dc:date>2018-02-23T13:17:40Z</dc:date>
    </item>
  </channel>
</rss>

