<?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: Surface Label 20 - Split label with identifier in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Surface-Label-20-Split-label-with-identifier/m-p/255685#M7075</link>
    <description>Try using:&lt;BR /&gt;
&lt;BR /&gt;
 string=code + "  " + mat &lt;BR /&gt;
&lt;BR /&gt;
or &lt;BR /&gt;
&lt;BR /&gt;
string = mat + " " + code</description>
    <pubDate>Mon, 23 Jan 2017 06:04:38 GMT</pubDate>
    <dc:creator>Dukatas</dc:creator>
    <dc:date>2017-01-23T06:04:38Z</dc:date>
    <item>
      <title>Surface Label 20 - Split label with identifier</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Surface-Label-20-Split-label-with-identifier/m-p/255684#M7074</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;does anyone know how to edit the Surface Label 20 to provide an option to show before or after an identifier? For Example&lt;BR /&gt;
&lt;BR /&gt;
Full Surface Name in the format code-description, i.e. CT01-300x300 Ceramic Tile Grey&lt;BR /&gt;
&lt;BR /&gt;
So you could label the surface with the code, the description or both.&lt;BR /&gt;
&lt;BR /&gt;
code: CT01&lt;BR /&gt;
description: 300x300 Ceramic Tile Grey&lt;BR /&gt;
both: CT01-300x300 Ceramic Tile Grey&lt;BR /&gt;
&lt;BR /&gt;
The only code I have that does this is below, but I can't figure out how to add it to the Surface Label 20.&lt;BR /&gt;

&lt;PRE&gt;	!======split
len = STRLEN (string)
iDotPos = STRSTR (string, sep)
code = STRSUB (string, 1, iDotPos - 1)
mat = STRSUB (string, iDotPos+1, len-iDotPos)!material

if display_txt = 'code' and code&amp;lt;&amp;gt;"" then
string=code
endif

if display_txt = 'mat' then
string=mat
endif&lt;/PRE&gt;

Any help with this would be greatly appreciated. The aim of this functionality would let one tag materials like a keynote tool but a lot simpler and more integrated into archicad.&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 Jan 2017 02:10:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Surface-Label-20-Split-label-with-identifier/m-p/255684#M7074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-19T02:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: Surface Label 20 - Split label with identifier</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Surface-Label-20-Split-label-with-identifier/m-p/255685#M7075</link>
      <description>Try using:&lt;BR /&gt;
&lt;BR /&gt;
 string=code + "  " + mat &lt;BR /&gt;
&lt;BR /&gt;
or &lt;BR /&gt;
&lt;BR /&gt;
string = mat + " " + code</description>
      <pubDate>Mon, 23 Jan 2017 06:04:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Surface-Label-20-Split-label-with-identifier/m-p/255685#M7075</guid>
      <dc:creator>Dukatas</dc:creator>
      <dc:date>2017-01-23T06:04:38Z</dc:date>
    </item>
  </channel>
</rss>

