<?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 GDL object related to zone in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-object-related-to-zone/m-p/64235#M37624</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;My fellow GDL gurus,&lt;BR /&gt;
I need to develop a Room Tag that is separate from the Room Tag that comes with zone placement.  I took the current "Room Identifier_NCS" GDL object in ArchiCAD 9 and tweaked it to allow me to place it on a separate layer and drag it between different rooms and have it still pick up the room name and number.  The problem I am running into is that in some case our rooms are too small for the object to fit inside the room.  I would like to be able to place the tag outside the room, and have some type of anchor that remains in the room.  Can anyone help me understand what part of the object knows what zone it is in?  I found that my object uses the center point.&lt;BR /&gt;
&lt;BR /&gt;
See attached object:&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Ben&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 15 Apr 2005 15:23:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2005-04-15T15:23:05Z</dc:date>
    <item>
      <title>GDL object related to zone</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-object-related-to-zone/m-p/64235#M37624</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;My fellow GDL gurus,&lt;BR /&gt;
I need to develop a Room Tag that is separate from the Room Tag that comes with zone placement.  I took the current "Room Identifier_NCS" GDL object in ArchiCAD 9 and tweaked it to allow me to place it on a separate layer and drag it between different rooms and have it still pick up the room name and number.  The problem I am running into is that in some case our rooms are too small for the object to fit inside the room.  I would like to be able to place the tag outside the room, and have some type of anchor that remains in the room.  Can anyone help me understand what part of the object knows what zone it is in?  I found that my object uses the center point.&lt;BR /&gt;
&lt;BR /&gt;
See attached object:&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Ben&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Apr 2005 15:23:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-object-related-to-zone/m-p/64235#M37624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-04-15T15:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: GDL object related to zone</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-object-related-to-zone/m-p/64236#M37625</link>
      <description>try this:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
cu_name="Room Name"&lt;BR /&gt;
cu_number="CU mirco"&lt;BR /&gt;
&lt;BR /&gt;
pen cu_pen&lt;BR /&gt;
IF cu_fontsize = "1/8" THEN cu_fontsizeMM = 3.18 &lt;BR /&gt;
IF cu_fontsize = "3/32" THEN cu_fontsizeMM = 2.39&lt;BR /&gt;
DEFINE STYLE "LabelStandard" Arial, cu_fontsizeMM, 5, 0&lt;BR /&gt;
style LabelStandard&lt;BR /&gt;
&lt;BR /&gt;
rrr2 = REQUEST ("Story", "", index, story_name)&lt;BR /&gt;
rrr3 = REQUEST ("Height_of_style", LabelStandard, CU_Style_Height)&lt;BR /&gt;
rrr4 = REQUEST ("Zone_relations", "", cu_cat_name, cu_code, cu_name, cu_number)&lt;BR /&gt;
cu_len3 =   cu_number &lt;BR /&gt;
&lt;BR /&gt;
IF story_name = "Sub Basement" THEN story_name = "S1"&lt;BR /&gt;
IF story_name = "Sub Sub Basement" THEN story_name = "S2" &lt;BR /&gt;
cu_len = stw(story_name)&lt;BR /&gt;
cu_len1 = stw(cu_name)&lt;BR /&gt;
cu_len2 = stw(cu_len3)&lt;BR /&gt;
&lt;BR /&gt;
TOT_Len = MAX (cu_len,cu_len1,cu_len2)* GLOB_SCALE /1000&lt;BR /&gt;
HSico = CU_Style_Height* GLOB_SCALE /1000/2&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 0,0&lt;BR /&gt;
HOTSPOT2 HSico,HSico : HOTSPOT2 -HSico,HSico&lt;BR /&gt;
HOTSPOT2 -HSico,-HSico: HOTSPOT2 HSico,-HSico&lt;BR /&gt;
&lt;BR /&gt;
!Don't erase this "silly" code&lt;BR /&gt;
ADD2 -Posizione[1][1],-Posizione[1][2]&lt;BR /&gt;
	HOTSPOT2  0,0  !;@)&lt;BR /&gt;
DEL 1&lt;BR /&gt;
&lt;BR /&gt;
unID = 1 + unID : HOTSPOT2 Posizione[1][1],0,unID,Posizione[1][2],129&lt;BR /&gt;
unID = 1 + unID : HOTSPOT2 Posizione[1][1],-1000,unID,Posizione[1][2],3&lt;BR /&gt;
unID = 1 + unID : HOTSPOT2 Posizione[1][1],Posizione[1][2],unID,Posizione[1][2],2&lt;BR /&gt;
unID = 1 + unID : HOTSPOT2 0,Posizione[1][2],unID,Posizione[1][1],129&lt;BR /&gt;
unID = 1 + unID : HOTSPOT2 -1000,Posizione[1][2],unID,Posizione[1][1],3&lt;BR /&gt;
unID = 1 + unID : HOTSPOT2 Posizione[1][1],Posizione[1][2],unID,Posizione[1][1],2&lt;BR /&gt;
&lt;BR /&gt;
ADD2 Posizione[1][1],Posizione[1][2]&lt;BR /&gt;
&lt;BR /&gt;
!--------------Room Name------------------------&lt;BR /&gt;
&lt;BR /&gt;
text2 0,0,cu_name&lt;BR /&gt;
ADD2 0,-CU_Style_Height * GLOB_SCALE /1000&lt;BR /&gt;
&lt;BR /&gt;
!--------------Story Name------------------------&lt;BR /&gt;
text2 0,0,story_name&lt;BR /&gt;
ADD2 0,-CU_Style_Height* GLOB_SCALE /1000&lt;BR /&gt;
&lt;BR /&gt;
!--------------Zone Name-------------------------&lt;BR /&gt;
text2 0,0,cu_len3 &lt;BR /&gt;
&lt;BR /&gt;
!--------------Box-------------------------&lt;BR /&gt;
RECT2 -TOT_Len/2,-(CU_Style_Height* GLOB_SCALE /1000)/2 ,TOT_Len/2,(CU_Style_Height* GLOB_SCALE /1000)*5/2&lt;BR /&gt;
Hotspot2 -TOT_Len/2,-(CU_Style_Height* GLOB_SCALE /1000)/2&lt;BR /&gt;
Hotspot2 -TOT_Len/2,(CU_Style_Height* GLOB_SCALE /1000)*5/2&lt;BR /&gt;
Hotspot2 TOT_Len/2,-(CU_Style_Height* GLOB_SCALE /1000)/2&lt;BR /&gt;
Hotspot2 TOT_Len/2,(CU_Style_Height* GLOB_SCALE /1000)*5/2&lt;BR /&gt;
&lt;BR /&gt;
DEL 3&lt;BR /&gt;
&lt;BR /&gt;
!============== END&lt;BR /&gt;
&lt;BR /&gt;
Parameter ----- type ----------------description&lt;BR /&gt;
Posizione ------ lengh (matrix [1][1] and [1][2]) ---- XY Label position&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
CU mirco sorgato&lt;BR /&gt;
&lt;A href="http://www.CAD3D.it" target="_blank"&gt;www.CAD3D.it&lt;/A&gt;</description>
      <pubDate>Wed, 20 Apr 2005 12:52:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-object-related-to-zone/m-p/64236#M37625</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-04-20T12:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: GDL object related to zone</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-object-related-to-zone/m-p/64237#M37626</link>
      <description>!!!!!??????&lt;BR /&gt;
&lt;BR /&gt;
Have you delete your post?&lt;BR /&gt;
&lt;BR /&gt;
BTW thx for the replay.&lt;BR /&gt;
&lt;BR /&gt;
This is another way for "silly" ;@) solution&lt;BR /&gt;
&lt;BR /&gt;
EPS = .0001&lt;BR /&gt;
PEN 91&lt;BR /&gt;
LINE2   -Posizione[1][1],-Posizione[1][2],-Posizione[1][1]+eps,-Posizione[1][2] &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
cu_name="Room Name" &lt;BR /&gt;
cu_number="CU mirco"&lt;BR /&gt;
.......&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
CU mirco&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.3dsmile.it" target="_blank"&gt;www.3dsmile.it&lt;/A&gt;</description>
      <pubDate>Sat, 10 Dec 2005 00:06:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-object-related-to-zone/m-p/64237#M37626</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-10T00:06:08Z</dc:date>
    </item>
  </channel>
</rss>

