<?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 Object Parameter in Label in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Object-Parameter-in-Label/m-p/138635#M17862</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Is it possible display a specific parameter of an object in a label, the same way an equipment label automatically displays the object ID?  I would want to display one of the "parameters for listing" inside a furniture object.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/11141i5AAE4EC04683773F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="LabelWithAttribute.png" title="LabelWithAttribute.png" /&gt;</description>
    <pubDate>Mon, 29 Nov 2010 23:04:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-11-29T23:04:52Z</dc:date>
    <item>
      <title>Object Parameter in Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-Parameter-in-Label/m-p/138635#M17862</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Is it possible display a specific parameter of an object in a label, the same way an equipment label automatically displays the object ID?  I would want to display one of the "parameters for listing" inside a furniture object.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/11141i5AAE4EC04683773F/image-size/large?v=v2&amp;amp;px=999" border="0" alt="LabelWithAttribute.png" title="LabelWithAttribute.png" /&gt;</description>
      <pubDate>Mon, 29 Nov 2010 23:04:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-Parameter-in-Label/m-p/138635#M17862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-11-29T23:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Object Parameter in Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-Parameter-in-Label/m-p/138636#M17863</link>
      <description>Yes, takes a bit of coding but here it is.&lt;BR /&gt;
&lt;BR /&gt;
REQUEST ("ASSOCLP_PARVALUE", expr, name_or_index, type, flags, dim1, dim2, p_values)&lt;BR /&gt;
&lt;BR /&gt;
Page 292 of the GDL reference guide.</description>
      <pubDate>Mon, 29 Nov 2010 23:47:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-Parameter-in-Label/m-p/138636#M17863</guid>
      <dc:creator>Ben Cohen</dc:creator>
      <dc:date>2010-11-29T23:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Object Parameter in Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-Parameter-in-Label/m-p/138637#M17864</link>
      <description>This is a little bit beyond my skill set.  But I will work on it.  I would really like to see an example of how it is being used...</description>
      <pubDate>Thu, 02 Dec 2010 16:36:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-Parameter-in-Label/m-p/138637#M17864</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-02T16:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Object Parameter in Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Object-Parameter-in-Label/m-p/138638#M17865</link>
      <description>I got it working (frankly I was suprized).  After I found some examples on the forum I was able to piece somthing together.  The GDL guide really needs more examples to be helpful.  Otherwise it should be called 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;GDL guide for experts that do GDL all the time&lt;E&gt;&lt;/E&gt;.&lt;BR /&gt;
&lt;BR /&gt;
Label object master script:
&lt;PRE&gt;FurnAttribute=REQUEST ("ASSOCLP_PARVALUE", "furn_attrib",index, type, flags, dim1, dim2, para_string) &lt;/PRE&gt;

Label object, text parameter added as text (not sure if necessary): 
&lt;PRE&gt;para_string&lt;/PRE&gt;

Label object 2D script:
&lt;PRE&gt;text2 x1,-y2, para_string&lt;/PRE&gt;

Host objects, text parameter added:
&lt;PRE&gt;furn_attrib&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Dec 2010 19:52:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Object-Parameter-in-Label/m-p/138638#M17865</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-12-02T19:52:53Z</dc:date>
    </item>
  </channel>
</rss>

