<?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: Get Parameters Using GDL? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8308#M41289</link>
    <description>Well, that LOOKS like it would work.  I've encountered one problem, though: I can't get Check Script to like anything I type.  What I currently have in my script is:&lt;BR /&gt;
&lt;BR /&gt;
Number = REQUEST ("ASSOCLP_PARVALUE", "Rating", ParmIndex, 4, 0, ParmDim1, ParmDim2, ParmValue)&lt;BR /&gt;
&lt;BR /&gt;
When I Check Script it always gives me two errors:&lt;BR /&gt;
  1 - Missing variables at line....&lt;BR /&gt;
  2 - Missing parameters after function at line...&lt;BR /&gt;
&lt;BR /&gt;
It has precisely the right number of arguments.  I've tried substituting variable for the hard values.  I've even added extra varialbe just to see if I could get "Missing variables..." to go away.&lt;BR /&gt;
&lt;BR /&gt;
What am I missing?</description>
    <pubDate>Tue, 24 Feb 2004 02:30:16 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-02-24T02:30:16Z</dc:date>
    <item>
      <title>Get Parameters Using GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8304#M41285</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;How do I get a parameter from one GDL using onother GDL?  I want to create an ID tag that uses a parameter (not ID or GLOB_ID) as it's value.  How do I do that?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 23 Feb 2004 20:38:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8304#M41285</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-02-23T20:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Get Parameters Using GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8305#M41286</link>
      <description>Some things are possible, others are not. You need to be more specific about what you want to do.&lt;BR /&gt;
&lt;BR /&gt;
You can pass parameters from to a library part called as a macro using (for example):&lt;BR /&gt;
&lt;BR /&gt;
CALL `door_knob` PARAMETERS door_knob_type = `round`, door_knob_backset = 2 3/4"&lt;BR /&gt;
&lt;BR /&gt;
Aside from the GLOB_USER_1 through GLOB_USER_20 global parameters there is no way (AFAIK) to pass parameters back up to the calling part.&lt;BR /&gt;
&lt;BR /&gt;
There may be some other tricks depending on exactly what you want to do.</description>
      <pubDate>Mon, 23 Feb 2004 20:58:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8305#M41286</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-02-23T20:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get Parameters Using GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8306#M41287</link>
      <description>For example, if I have a GDL with a parameter called JAYS_PARAM, and I want to use that parameter's text as the text for a label GDL that I have created myself, how do I reference JAYS_PARAM in the lable GDL?</description>
      <pubDate>Mon, 23 Feb 2004 22:39:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8306#M41287</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-02-23T22:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get Parameters Using GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8307#M41288</link>
      <description>If the library part containing JAYS_PARAM calls the label part, it can pass the parameter to it. It does appear to be possible to extract the parameter value of a library part in its associated label using the &lt;B&gt;REQUEST("ASSOCLP_PARVALUE", ...&lt;/B&gt; function. &lt;BR /&gt;
&lt;BR /&gt;
Look in the GDL Reference Manual, Appendix, Special Functions. It should do what you want. I haven't used it myself yet so I can't be sure of the details. I have stayed away from the label tool because of its frustrating limitations. Maybe now I'll take another look at it since this seems like a very interesting function.&lt;BR /&gt;
&lt;BR /&gt;
Let us know how it works for you.</description>
      <pubDate>Tue, 24 Feb 2004 00:48:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8307#M41288</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-02-24T00:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get Parameters Using GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8308#M41289</link>
      <description>Well, that LOOKS like it would work.  I've encountered one problem, though: I can't get Check Script to like anything I type.  What I currently have in my script is:&lt;BR /&gt;
&lt;BR /&gt;
Number = REQUEST ("ASSOCLP_PARVALUE", "Rating", ParmIndex, 4, 0, ParmDim1, ParmDim2, ParmValue)&lt;BR /&gt;
&lt;BR /&gt;
When I Check Script it always gives me two errors:&lt;BR /&gt;
  1 - Missing variables at line....&lt;BR /&gt;
  2 - Missing parameters after function at line...&lt;BR /&gt;
&lt;BR /&gt;
It has precisely the right number of arguments.  I've tried substituting variable for the hard values.  I've even added extra varialbe just to see if I could get "Missing variables..." to go away.&lt;BR /&gt;
&lt;BR /&gt;
What am I missing?</description>
      <pubDate>Tue, 24 Feb 2004 02:30:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8308#M41289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-02-24T02:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get Parameters Using GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8309#M41290</link>
      <description>It LOOKS correct according to the GDL manual. The manual may be wrong (it's been known to happen). Things to try:&lt;BR /&gt;
&lt;BR /&gt;
1. Delete the first comma. Some functions don't use commas after the function name.&lt;BR /&gt;
&lt;BR /&gt;
2. Try the first argument ("Rating") without the quotation marks.&lt;BR /&gt;
&lt;BR /&gt;
These may be shots in the dark but are worth a try.&lt;BR /&gt;
&lt;BR /&gt;
Has anybody out there used this function successfully?</description>
      <pubDate>Tue, 24 Feb 2004 03:44:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8309#M41290</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-02-24T03:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: Get Parameters Using GDL?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8310#M41291</link>
      <description>I did a lot more experimentation and discovered that &lt;B&gt;ALL &lt;/B&gt;of the arguments to the Request function should be variables.  The way the manual is worded, I thought that I had to supply some of the values.  That's why the example in my first post kept failing.&lt;BR /&gt;
&lt;BR /&gt;
My line now reads like this:&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="darkred"&gt;ParmNum = REQUEST ("ASSOCLP_PARVALUE" ,"Frame_Type", Var1, Var2, Var3, Var4, Var5, ParmValue) &lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
I'm not using any of the intermediate arguments, only ParmValue, so the variable names are lame.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for your help!</description>
      <pubDate>Tue, 24 Feb 2004 18:00:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Get-Parameters-Using-GDL/m-p/8310#M41291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-02-24T18:00:50Z</dc:date>
    </item>
  </channel>
</rss>

