<?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 Can I skip the value from the label to mark it? in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Can-I-skip-the-value-from-the-label-to-mark-it/m-p/358567#M1362</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm making a label for&amp;nbsp;&lt;SPAN&gt;Finishing materials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;there is a problem to solve that I want to skip the value named AIR but i don't know how to skip it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="soo_0-1665641247243.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30574iCA5648D6936DC1BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="soo_0-1665641247243.png" alt="soo_0-1665641247243.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example, in this picture&amp;nbsp;&lt;SPAN&gt;Even if the slab contains 4 materials, I don't want to label the material named AIR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;this is the scripts i used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;for i = 1 to numText&lt;BR /&gt;&lt;BR /&gt;if (fra(MATthk[n]*1000) &amp;gt; -eps and fra(MATthk[n]*1000) &amp;lt; eps) then&lt;BR /&gt;thk = str("%.0mm", MATthk[n])&lt;BR /&gt;else&lt;BR /&gt;thk = str("%.1mm", MATthk[n])&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;autotxt[i] = "T" + thk + " " + MATname[n]&lt;BR /&gt;autoTHK[i] = MATthk[n]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't see how to exclude the value MATname[n] = "AIR" in the middle of this root.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even if i force it to make it by removing the value, it was only marked as zero, but it was not completely removed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want only three expressions: AA, BB, and CC on my label.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="soo_1-1665641653567.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30575i7B3A11133AE77CF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="soo_1-1665641653567.png" alt="soo_1-1665641653567.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="soo_2-1665641669043.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30576i6FA5E1EB8958E5A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="soo_2-1665641669043.png" alt="soo_2-1665641669043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Like this picture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help me to solve this problem.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 06:18:24 GMT</pubDate>
    <dc:creator>soo</dc:creator>
    <dc:date>2022-10-13T06:18:24Z</dc:date>
    <item>
      <title>Can I skip the value from the label to mark it?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-I-skip-the-value-from-the-label-to-mark-it/m-p/358567#M1362</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm making a label for&amp;nbsp;&lt;SPAN&gt;Finishing materials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;there is a problem to solve that I want to skip the value named AIR but i don't know how to skip it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="soo_0-1665641247243.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30574iCA5648D6936DC1BE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="soo_0-1665641247243.png" alt="soo_0-1665641247243.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example, in this picture&amp;nbsp;&lt;SPAN&gt;Even if the slab contains 4 materials, I don't want to label the material named AIR.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;this is the scripts i used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;for i = 1 to numText&lt;BR /&gt;&lt;BR /&gt;if (fra(MATthk[n]*1000) &amp;gt; -eps and fra(MATthk[n]*1000) &amp;lt; eps) then&lt;BR /&gt;thk = str("%.0mm", MATthk[n])&lt;BR /&gt;else&lt;BR /&gt;thk = str("%.1mm", MATthk[n])&lt;BR /&gt;endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;autotxt[i] = "T" + thk + " " + MATname[n]&lt;BR /&gt;autoTHK[i] = MATthk[n]&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I don't see how to exclude the value MATname[n] = "AIR" in the middle of this root.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Even if i force it to make it by removing the value, it was only marked as zero, but it was not completely removed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want only three expressions: AA, BB, and CC on my label.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="soo_1-1665641653567.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30575i7B3A11133AE77CF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="soo_1-1665641653567.png" alt="soo_1-1665641653567.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="soo_2-1665641669043.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/30576i6FA5E1EB8958E5A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="soo_2-1665641669043.png" alt="soo_2-1665641669043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Like this picture.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Please help me to solve this problem.&lt;/P&gt;&lt;P&gt;thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 06:18:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-I-skip-the-value-from-the-label-to-mark-it/m-p/358567#M1362</guid>
      <dc:creator>soo</dc:creator>
      <dc:date>2022-10-13T06:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: Can I skip the value from the label to mark it?</title>
      <link>https://community.graphisoft.com/t5/GDL/Can-I-skip-the-value-from-the-label-to-mark-it/m-p/358598#M1363</link>
      <description>&lt;P&gt;a simple if statement inside the loop should do the trick:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if (MATname[n] = "Air") then&lt;/P&gt;&lt;P&gt;autotxt[i] =""&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;autotxt[i] = "T" + thk + " " + MATname[n]&lt;BR /&gt;autoTHK[i] = MATthk[n]&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that I asume you loop over autotext[] to get the lines of the label, so you can check for autotext[i] lenght and if it is less than 1 you can skip it.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 10:28:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Can-I-skip-the-value-from-the-label-to-mark-it/m-p/358598#M1363</guid>
      <dc:creator>julienK</dc:creator>
      <dc:date>2022-10-13T10:28:07Z</dc:date>
    </item>
  </channel>
</rss>

