<?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: GDL object with option in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589040#M6337</link>
    <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/105790"&gt;@needretail&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have labelled your post as "Library Part Maker".&lt;/P&gt;
&lt;P&gt;I don't think library part maker can do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or are you looking for a solution using Library Part Maker or are you just scripting in GDL.&lt;/P&gt;
&lt;P&gt;Cuba has given you a solution for this.&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;
&lt;P&gt;Also I moved this post to the GDL forum.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2024 15:25:32 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2024-02-20T15:25:32Z</dc:date>
    <item>
      <title>GDL object with option</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589020#M6335</link>
      <description>&lt;P&gt;I´m trying to make a object like "2 in 1". Want to be able to have an "on and off" function i.e. that you can chosse whether a part sholud be visible or not. How do I achieve this?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2024 08:13:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589020#M6335</guid>
      <dc:creator>needretail</dc:creator>
      <dc:date>2024-09-24T08:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: GDL object with option</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589025#M6336</link>
      <description>&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Add a boolean parameter "switch"&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Replace the line text2.... by the part you want to show in option 1 and 2&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;2d script =&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt; switch &lt;/SPAN&gt;&lt;SPAN&gt;THEN&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; text2&lt;/SPAN&gt; &lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"switch = on"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; ELSE&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; text2&lt;/SPAN&gt; &lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;"switch = off"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;ENDIF&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 20 Feb 2024 14:55:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589025#M6336</guid>
      <dc:creator>cuba</dc:creator>
      <dc:date>2024-02-20T14:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: GDL object with option</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589040#M6337</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/105790"&gt;@needretail&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You have labelled your post as "Library Part Maker".&lt;/P&gt;
&lt;P&gt;I don't think library part maker can do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or are you looking for a solution using Library Part Maker or are you just scripting in GDL.&lt;/P&gt;
&lt;P&gt;Cuba has given you a solution for this.&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;
&lt;P&gt;Also I moved this post to the GDL forum.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 15:25:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589040#M6337</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-02-20T15:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: GDL object with option</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589042#M6338</link>
      <description>&lt;P&gt;Thanks for the answer! The object that u sent i couldnt open...? and I can´t find the line text2... in my script.&lt;/P&gt;&lt;P&gt;Could you pls give me more information?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 15:37:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589042#M6338</guid>
      <dc:creator>needretail</dc:creator>
      <dc:date>2024-02-20T15:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: GDL object with option</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589044#M6339</link>
      <description>&lt;P&gt;Which AC version are you using?&lt;/P&gt;
&lt;P&gt;Replace the text2 line with your script.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2024 15:40:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589044#M6339</guid>
      <dc:creator>cuba</dc:creator>
      <dc:date>2024-02-20T15:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: GDL object with option</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589145#M6351</link>
      <description>&lt;P&gt;Add a signature to your profile with things like your AC version and some basic computer info as some things maybe software or hardware specific. See link in mine for more info.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 02:27:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589145#M6351</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2024-02-21T02:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: GDL object with option</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589155#M6354</link>
      <description>&lt;P&gt;AC26&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 07:10:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589155#M6354</guid>
      <dc:creator>needretail</dc:creator>
      <dc:date>2024-02-21T07:10:01Z</dc:date>
    </item>
    <item>
      <title>Re: GDL object with option</title>
      <link>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589156#M6355</link>
      <description>&lt;P&gt;What cuba was suggesting is to create a boolean parameter called "switch' or "show_object" - call it what you want.&lt;/P&gt;
&lt;P&gt;Then in your 2D and/or 3D scripts you can say ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;IF switch = 1 THEN
      ........ !!add your object script here - it will run if the switch is on
  ELSE
      END !!this will show nothing when the switch is off
ENDIF&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2024 07:20:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/GDL-object-with-option/m-p/589156#M6355</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2024-02-21T07:20:48Z</dc:date>
    </item>
  </channel>
</rss>

