<?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: how to hide my parameters programmatically. in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/how-to-hide-my-parameters-programmatically/m-p/47508#M28465</link>
    <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
The parameter names should be in quotes if you hide or lock;&lt;BR /&gt;
&lt;BR /&gt;
if mySetting= "Hide them" then&lt;BR /&gt;
  hideparameter "myParam1", "myParam2"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if mySetting= "Lock them" then&lt;BR /&gt;
   lock "myParam1", "myParam2"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if mySetting= "Change them" then&lt;BR /&gt;
   parameters myParam1="No quotes here", myParam2="Or here"&lt;BR /&gt;
endif</description>
    <pubDate>Mon, 10 Mar 2008 19:44:34 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-03-10T19:44:34Z</dc:date>
    <item>
      <title>how to hide my parameters programmatically.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/how-to-hide-my-parameters-programmatically/m-p/47506#M28463</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;something like this&lt;BR /&gt;
&lt;BR /&gt;
if marker="Section"&lt;BR /&gt;
   hide parameter&lt;BR /&gt;
else&lt;BR /&gt;
  visible parameter&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
any suggestion?&lt;BR /&gt;
&lt;BR /&gt;
tnx&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Mar 2008 07:04:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/how-to-hide-my-parameters-programmatically/m-p/47506#M28463</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-10T07:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide my parameters programmatically.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/how-to-hide-my-parameters-programmatically/m-p/47507#M28464</link>
      <description>&lt;BLOCKQUOTE&gt;mackyboy wrote:&lt;BR /&gt;any suggestion?&lt;/BLOCKQUOTE&gt;
close . . .&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;!!   if these are the parameters you want to hide...

myParameter1 = 1
myParameter2 = 2
myParameter3 = 3

!!   ...this is the code

if marker = "Section" then
     hideparameter   myParameter1, myParameter2, myParameter3
endif

!!   you don't need a "showparameter" control because
!!   it will always be visible unless you hide it.
!!   i.e. if 'marker' is NOT "Section" it will be visible.



!!   you may also want to lock them at the same time...

if marker = "Section" then
     hideparameter   myParameter1, myParameter2, myParameter3
     lock   myParameter1, myParameter2, myParameter3
endif

!!   ...or you can simply lock them without the hiding so that
!!   the user knows that they exist. may be an option?&lt;/PRE&gt;

be sure to put this kind of code in the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;parameter script&lt;E&gt;&lt;/E&gt;. you may also want to check out page 185 of the GDL reference guide ( Help&amp;gt;AC11 GDL Reference Guide ).&lt;BR /&gt;
&lt;BR /&gt;
~/archiben</description>
      <pubDate>Mon, 10 Mar 2008 08:16:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/how-to-hide-my-parameters-programmatically/m-p/47507#M28464</guid>
      <dc:creator>__archiben</dc:creator>
      <dc:date>2008-03-10T08:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide my parameters programmatically.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/how-to-hide-my-parameters-programmatically/m-p/47508#M28465</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
The parameter names should be in quotes if you hide or lock;&lt;BR /&gt;
&lt;BR /&gt;
if mySetting= "Hide them" then&lt;BR /&gt;
  hideparameter "myParam1", "myParam2"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if mySetting= "Lock them" then&lt;BR /&gt;
   lock "myParam1", "myParam2"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
if mySetting= "Change them" then&lt;BR /&gt;
   parameters myParam1="No quotes here", myParam2="Or here"&lt;BR /&gt;
endif</description>
      <pubDate>Mon, 10 Mar 2008 19:44:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/how-to-hide-my-parameters-programmatically/m-p/47508#M28465</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-10T19:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to hide my parameters programmatically.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/how-to-hide-my-parameters-programmatically/m-p/47509#M28466</link>
      <description>many thanks</description>
      <pubDate>Tue, 11 Mar 2008 03:06:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/how-to-hide-my-parameters-programmatically/m-p/47509#M28466</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-03-11T03:06:34Z</dc:date>
    </item>
  </channel>
</rss>

