<?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 Table object with text options in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576311#M5877</link>
    <description>&lt;P&gt;Hi all, I'm trying to make a table like object where I can select any or all of the rows to have them show in the object (ie, only axon, stria and easylap), and have the rows reduce and the text move up so there are no gaps. Ideally, I'd like all the row options to be built into the object because if it's written in, I can't trust that anyone using it would go back and add the correct notes if the claddings change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I feel like this is a long shot, but it's just so clunky as is, especially because it's highly unlikely that all of the options would be used on the one house, so you end up with a lot of useless information. So I would love some help because I have no idea where to even start with this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="KatherineC97_0-1700457413015.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/49218iF0F14BCBF93A893A/image-size/large?v=v2&amp;amp;px=999" role="button" title="KatherineC97_0-1700457413015.png" alt="KatherineC97_0-1700457413015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Sep 2024 08:19:45 GMT</pubDate>
    <dc:creator>KatherineC97</dc:creator>
    <dc:date>2024-09-24T08:19:45Z</dc:date>
    <item>
      <title>Table object with text options</title>
      <link>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576311#M5877</link>
      <description>&lt;P&gt;Hi all, I'm trying to make a table like object where I can select any or all of the rows to have them show in the object (ie, only axon, stria and easylap), and have the rows reduce and the text move up so there are no gaps. Ideally, I'd like all the row options to be built into the object because if it's written in, I can't trust that anyone using it would go back and add the correct notes if the claddings change.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I feel like this is a long shot, but it's just so clunky as is, especially because it's highly unlikely that all of the options would be used on the one house, so you end up with a lot of useless information. So I would love some help because I have no idea where to even start with this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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="KatherineC97_0-1700457413015.png" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/49218iF0F14BCBF93A893A/image-size/large?v=v2&amp;amp;px=999" role="button" title="KatherineC97_0-1700457413015.png" alt="KatherineC97_0-1700457413015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:19:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576311#M5877</guid>
      <dc:creator>KatherineC97</dc:creator>
      <dc:date>2024-09-24T08:19:45Z</dc:date>
    </item>
    <item>
      <title>Re: Table object with text options</title>
      <link>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576318#M5878</link>
      <description>&lt;P&gt;First question is, can you script GDL objects?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 06:32:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576318#M5878</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-11-20T06:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Table object with text options</title>
      <link>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576319#M5879</link>
      <description>&lt;P&gt;I can do a bit, but I am by no means an expert&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 06:42:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576319#M5879</guid>
      <dc:creator>KatherineC97</dc:creator>
      <dc:date>2023-11-20T06:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Table object with text options</title>
      <link>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576320#M5880</link>
      <description>&lt;P&gt;Arrays, temp arrays and loops.&lt;BR /&gt;&lt;BR /&gt;I have never tried it, but I figure you could make it so that you can remove any row during the array rewrites. Have one row in your array that is all 1s with the last value being 0 and when modified, is copied to a temp array. You then use this temp array to duplicate your main array for each value of 1 till it reaches a 0. Then run another copy that is offset in order to remove the 0. If a zero is not found, you increase the array size and define the last value as 0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 06:42:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576320#M5880</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-11-20T06:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table object with text options</title>
      <link>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576329#M5881</link>
      <description>&lt;P&gt;OK.&lt;/P&gt;
&lt;P&gt;You could probably make use of arrays as Lingwiser has suggested, but I like to keep it simple.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The row of titles is a given, so that can just be coded as text with lines to form the boxes - you will always have this.&lt;/P&gt;
&lt;P&gt;Then I would have boolean switches for each of the other rows, hardiplank, linear, axon, etc.&lt;/P&gt;
&lt;P&gt;This way the user can choose to turn on/off what they want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I would script the title row.&lt;/P&gt;
&lt;P&gt;Then use ADD2 to move down by one line.&lt;/P&gt;
&lt;P&gt;Then ...&amp;nbsp; IF hardiplank_switch = 1 then .... script that row ... ADD2 down one line ... ENDIF&lt;/P&gt;
&lt;P&gt;IF linear_switch = 1 then .... script that row ... ADD2 down one line ... ENDIF&lt;/P&gt;
&lt;P&gt;IF axon_switch = 1 then .... script that row ... ADD2 down one line ... ENDIF&lt;/P&gt;
&lt;P&gt;... etc. for all of your rows.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This way you will always have the title and only those rows the user switches on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to get fancy you can allow the font and size to be chosen, then you can adjust widths by checking STW (string width) of all or just the widest column text, and also adjust the line height to allow for the font height.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is what i would do, but there will be many other ways as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 07:17:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576329#M5881</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-11-20T07:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Table object with text options</title>
      <link>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576337#M5882</link>
      <description>&lt;P&gt;Depends if you have a fixed maximum number for rows I guess and if you care about how new values are ordered. If you have less than 10 at most, I might have the user input how many rows they want, then link the value of each column to a VALUES command. Though beyond 5, I might consider using a basic array to store the values rather than have a parameter for each and every cell.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2023 08:11:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Table-object-with-text-options/m-p/576337#M5882</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-11-20T08:11:20Z</dc:date>
    </item>
  </channel>
</rss>

