<?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 Request(?) opening direction in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583520#M6167</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm creating a label that shows the&amp;nbsp;'opening centerheight value'&amp;nbsp;of an opening (created with the opening tool) in a wall (horizontal direction). This works fine. But openings can also be used in slabs (vertical direction) and I want to use the same label for these. If 'Opening centerheight values' is used in slabs the label goes corrupt and I actualy dont need this value in slabs. So if i can know the direction of a opening, i can exclude this part of the script.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Is there a way to find out in wich direction the opening is used?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For now i'm using a boolean in the label properties, I hope I can do it automaticly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DNU_0-1704961994108.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/51782i6025443E05C028B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DNU_0-1704961994108.png" alt="DNU_0-1704961994108.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 11:29:33 GMT</pubDate>
    <dc:creator>DNU</dc:creator>
    <dc:date>2024-09-26T11:29:33Z</dc:date>
    <item>
      <title>Request(?) opening direction</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583520#M6167</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm creating a label that shows the&amp;nbsp;'opening centerheight value'&amp;nbsp;of an opening (created with the opening tool) in a wall (horizontal direction). This works fine. But openings can also be used in slabs (vertical direction) and I want to use the same label for these. If 'Opening centerheight values' is used in slabs the label goes corrupt and I actualy dont need this value in slabs. So if i can know the direction of a opening, i can exclude this part of the script.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Is there a way to find out in wich direction the opening is used?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For now i'm using a boolean in the label properties, I hope I can do it automaticly.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DNU_0-1704961994108.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/51782i6025443E05C028B9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DNU_0-1704961994108.png" alt="DNU_0-1704961994108.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 11:29:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583520#M6167</guid>
      <dc:creator>DNU</dc:creator>
      <dc:date>2024-09-26T11:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Request(?) opening direction</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583549#M6168</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;For labels you must use GLOB_ELEM_TYPE to define the different values&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;! ==============================================================================
! values for GLOB_ELEM_TYPE
! ==============================================================================
ELEM_TYPE_LABEL			= 0
ELEM_TYPE_OBJECT		= 1
ELEM_TYPE_LAMP			= 2
ELEM_TYPE_WINDOW		= 3
ELEM_TYPE_DOOR			= 4
ELEM_TYPE_WALL			= 5
ELEM_TYPE_COLUMNPARENT	= 6
ELEM_TYPE_SLAB			= 7
ELEM_TYPE_ROOF			= 8
ELEM_TYPE_FILL			= 9
ELEM_TYPE_MESH			= 10
ELEM_TYPE_ZONE			= 11
ELEM_TYPE_BEAMPARENT	= 12
ELEM_TYPE_CW			= 13
ELEM_TYPE_CWFRAME		= 14
ELEM_TYPE_CWPANEL		= 15
ELEM_TYPE_CWJUNCT		= 16
ELEM_TYPE_CWACC			= 17
ELEM_TYPE_SHELL			= 18
ELEM_TYPE_SKYLIGHT		= 19
ELEM_TYPE_MORPH			= 20
ELEM_TYPE_STAIR			= 21
ELEM_TYPE_ST_TREAD		= 22
ELEM_TYPE_ST_RISER		= 23
ELEM_TYPE_ST_STRUCT		= 24
ELEM_TYPE_RAILING		= 25
ELEM_TYPE_OPENING		= 26
ELEM_TYPE_COLUMNSEGMENT	= 27
ELEM_TYPE_BEAMSEGMENT	= 28



IF GLOB_ELEM_TYPE = ELEM_TYPE_WALL THEN
...
ELSE
...
ENDIF&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Jan 2024 13:16:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583549#M6168</guid>
      <dc:creator>Yves</dc:creator>
      <dc:date>2024-01-11T13:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Request(?) opening direction</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583550#M6169</link>
      <description>&lt;P&gt;Hi Yves&lt;/P&gt;&lt;P&gt;The label is always linked to the opening (created with the opening tool).&amp;nbsp;&lt;BR /&gt;So the result will always be GLOB_ELEM_TYPE = 26.&lt;BR /&gt;GLOB_ELEM_TYPE doens't give any information about the direction of the object or information of the elements linked to the opening.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 13:24:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583550#M6169</guid>
      <dc:creator>DNU</dc:creator>
      <dc:date>2024-01-11T13:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Request(?) opening direction</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583564#M6171</link>
      <description>&lt;P&gt;Effectively …&lt;BR /&gt;Sorry&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 15:02:22 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583564#M6171</guid>
      <dc:creator>Yves</dc:creator>
      <dc:date>2024-01-11T15:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Request(?) opening direction</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583615#M6172</link>
      <description>&lt;P&gt;Why did you double post? Anyway, gonna answer here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, first of all, no. Sadly there is no (known to me) way to determine in what element the labeled opening sits in. I hope this will be available at some point.&lt;/P&gt;
&lt;P&gt;Until then however there is a bit of a stupid workaround: Use "&lt;CODE&gt;haskey(OPENING_CENTERHEIGHT_VALUES.toProjectZero)&lt;/CODE&gt;". If resolving to NO it is an opening in slab.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 20:45:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583615#M6172</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2024-01-11T20:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Request(?) opening direction</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583646#M6173</link>
      <description>&lt;P&gt;Hi Lucas&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, this workaround works perfect for my problem.&lt;BR /&gt;The other post is about the geometry (shape) of the opening (rectangular, circular, polygonal).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 07:44:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583646#M6173</guid>
      <dc:creator>DNU</dc:creator>
      <dc:date>2024-01-12T07:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: Request(?) opening direction</title>
      <link>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583685#M6174</link>
      <description>&lt;P&gt;Ah my bad, I misread. Shouldn't post when too tired &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 11:21:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Request-opening-direction/m-p/583685#M6174</guid>
      <dc:creator>runxel</dc:creator>
      <dc:date>2024-01-12T11:21:02Z</dc:date>
    </item>
  </channel>
</rss>

