<?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: Requesting Door Leaf Dimension in Marker Object in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211122#M13437</link>
    <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I can't test it, but think declaring the variable first might help;&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;leafwidth= ""
leaf_w = request ("ASSOCLP_PARVALUE", "ac_leaf_width", index_lw, type_lw, flags_lw, dim1_lw, dim2_lw, leafwidth)
&lt;/PRE&gt;

Alternatively you could create a string type parameter 'leafwidth'&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.</description>
    <pubDate>Mon, 04 Nov 2013 18:34:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-11-04T18:34:15Z</dc:date>
    <item>
      <title>Requesting Door Leaf Dimension in Marker Object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211121#M13436</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am trying to 'output' door leaf dimension to use in a 'Dimension Marker'.&lt;BR /&gt;
&lt;BR /&gt;
I have no problems with getting the width and height :&lt;BR /&gt;
l1a = STR("%.0mm",AC_WIDO_B_SIZE)&lt;BR /&gt;
l1b = STR("%.0mm",AC_WIDO_A_SIZE)&lt;BR /&gt;
&lt;BR /&gt;
However I cannot figure out how to output the 'ac_leaf_width' as it is not part of the Marker Parameters but the Door Object Parameters.&lt;BR /&gt;
&lt;BR /&gt;
I tried using this request which I noticed on another marker (AUS D&amp;amp;W Marker) and GDL Reference seems to suggest the command to request object's parameters for listing:&lt;BR /&gt;
leaf_w = request ("ASSOCLP_PARVALUE", "ac_leaf_width",&lt;BR /&gt;
index_lw, type_lw, flags_lw, dim1_lw, dim2_lw, leafwidth)&lt;BR /&gt;
&lt;BR /&gt;
But it does not let me 'output' 'leafwidth' parameter.&lt;BR /&gt;
&lt;BR /&gt;
I'm not sure what I'm doing wrong.&lt;BR /&gt;
Can anyone enlighten me please?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.&lt;BR /&gt;
&lt;BR /&gt;
Jakub&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/73813i1F80C6BC780C3433/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2013-11-04 at 4.44.05 PM.png" title="Screen Shot 2013-11-04 at 4.44.05 PM.png" /&gt;</description>
      <pubDate>Wed, 24 May 2023 08:51:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211121#M13436</guid>
      <dc:creator>jakubc7</dc:creator>
      <dc:date>2023-05-24T08:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting Door Leaf Dimension in Marker Object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211122#M13437</link>
      <description>Hello,&lt;BR /&gt;
&lt;BR /&gt;
I can't test it, but think declaring the variable first might help;&lt;BR /&gt;

&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;leafwidth= ""
leaf_w = request ("ASSOCLP_PARVALUE", "ac_leaf_width", index_lw, type_lw, flags_lw, dim1_lw, dim2_lw, leafwidth)
&lt;/PRE&gt;

Alternatively you could create a string type parameter 'leafwidth'&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.</description>
      <pubDate>Mon, 04 Nov 2013 18:34:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211122#M13437</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-04T18:34:15Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting Door Leaf Dimension in Marker Object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211123#M13438</link>
      <description>Thanks for the reply Juha.&lt;BR /&gt;
&lt;BR /&gt;
Declaring the parameter first seems to get rid of the "uninitialised" error, however it still doesn't assign the ac_leaf_width value to that parameter.&lt;BR /&gt;
&lt;BR /&gt;
Thinking about it, how does ArchiCAD/GDL know which object to get the parameter from. I suppose ac_leaf_width could be used in more than one object. Do I have to specify which object to get the parameter from?&lt;BR /&gt;
&lt;BR /&gt;
I'm attaching my object as well as the gs_DW_Marker.gsm where they seem to do it successfully ... but it is a much more complex process that I cannot follow &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 05 Nov 2013 01:01:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211123#M13438</guid>
      <dc:creator>jakubc7</dc:creator>
      <dc:date>2013-11-05T01:01:05Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting Door Leaf Dimension in Marker Object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211124#M13439</link>
      <description>markers</description>
      <pubDate>Tue, 05 Nov 2013 01:02:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211124#M13439</guid>
      <dc:creator>jakubc7</dc:creator>
      <dc:date>2013-11-05T01:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: Requesting Door Leaf Dimension in Marker Object</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211125#M13440</link>
      <description>Ohh wow ... I feel a little silly.&lt;BR /&gt;
The whole time I've been testing the "Marker" on a window &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;BR /&gt;
&lt;BR /&gt;
The request seems to work fine on a door object.&lt;BR /&gt;
&lt;BR /&gt;
leafwidth=0&lt;BR /&gt;
leaf_w = request ("ASSOCLP_PARVALUE", "ac_leaf_width",&lt;BR /&gt;
index_lw, type_lw, flags_lw, dim1_lw, dim2_lw, leafwidth)&lt;BR /&gt;
&lt;BR /&gt;
I used the 1st line so that I do not get an error when working with a window.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for trying to help &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 05 Nov 2013 05:34:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Requesting-Door-Leaf-Dimension-in-Marker-Object/m-p/211125#M13440</guid>
      <dc:creator>jakubc7</dc:creator>
      <dc:date>2013-11-05T05:34:10Z</dc:date>
    </item>
  </channel>
</rss>

