<?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: Force Parameter Text in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156928#M15650</link>
    <description>You should also have something in the code to turn off "VP" when there is no vision panel.&lt;BR /&gt;
So maybe something like this is better.&lt;BR /&gt;
&lt;BR /&gt;
if visionpanel = 1 then &lt;BR /&gt;
vp_schedule = "VP" &lt;BR /&gt;
else&lt;BR /&gt;
vp_schedule = ""&lt;BR /&gt;
endif &lt;BR /&gt;
PARAMETERS vp_schedule = vp_schedule</description>
    <pubDate>Thu, 07 Jun 2012 03:36:25 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2012-06-07T03:36:25Z</dc:date>
    <item>
      <title>Force Parameter Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156926#M15648</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;OK, not sure if this is posible but I will give it a go.&lt;BR /&gt;
I am in the process of creating my own multi-use door for use on future projects.&lt;BR /&gt;
What I would like to do is force text within a parameter for use in scheduling.&lt;BR /&gt;
&lt;BR /&gt;
For example, if my door has a vision panel, I would like another parameter to call the code VP&lt;BR /&gt;
&lt;BR /&gt;
ie &lt;BR /&gt;
if visionpanel = 1 then&lt;BR /&gt;
vp_schedule = "VP"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
Obviously this script doesn't work. What do I need to do to get this to work.&lt;BR /&gt;
Do I need to use the Call command?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 08:14:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156926#M15648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T08:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Force Parameter Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156927#M15649</link>
      <description>If I am on the right track here you need to firstly have a text parameter called "vp_schedule" in your parameter list.&lt;BR /&gt;
&lt;BR /&gt;
Then in you master or parameter list you need ...&lt;BR /&gt;
&lt;BR /&gt;
if visionpanel = 1 then &lt;BR /&gt;
vp_schedule = "VP" &lt;BR /&gt;
PARAMETERS vp_schedule = vp_schedule&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
This will set the parameter value.&lt;BR /&gt;
Now you can use this as an additional parameter in your schedules.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 07 Jun 2012 03:31:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156927#M15649</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-06-07T03:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: Force Parameter Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156928#M15650</link>
      <description>You should also have something in the code to turn off "VP" when there is no vision panel.&lt;BR /&gt;
So maybe something like this is better.&lt;BR /&gt;
&lt;BR /&gt;
if visionpanel = 1 then &lt;BR /&gt;
vp_schedule = "VP" &lt;BR /&gt;
else&lt;BR /&gt;
vp_schedule = ""&lt;BR /&gt;
endif &lt;BR /&gt;
PARAMETERS vp_schedule = vp_schedule</description>
      <pubDate>Thu, 07 Jun 2012 03:36:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156928#M15650</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-06-07T03:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Force Parameter Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156929#M15651</link>
      <description>Thank you very much Barry,&lt;BR /&gt;
That is exactly what I want.&lt;BR /&gt;
&lt;BR /&gt;
For some reason the 'LOCK' command isn't greying out the parameter when I open the object however. No big deal though.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again, saved me banging my head against the GDL reference guide</description>
      <pubDate>Thu, 07 Jun 2012 04:34:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156929#M15651</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-07T04:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Force Parameter Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156930#M15652</link>
      <description>&lt;BLOCKQUOTE&gt;Tom wrote:&lt;BR /&gt;For some reason the 'LOCK' command isn't greying out the parameter when I open the object however. No big deal though.
&lt;/BLOCKQUOTE&gt;

In Parameter script type the following (with the quotes) ...&lt;BR /&gt;
&lt;BR /&gt;
LOCK "vp_schedule"&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 07 Jun 2012 07:19:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156930#M15652</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2012-06-07T07:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: Force Parameter Text</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156931#M15653</link>
      <description>Gosh, I must of had a brain freeze yesterday.&lt;BR /&gt;
Thanks</description>
      <pubDate>Thu, 07 Jun 2012 22:58:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Force-Parameter-Text/m-p/156931#M15653</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-07T22:58:02Z</dc:date>
    </item>
  </channel>
</rss>

