<?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: Window label with elevation to project zero? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182051#M18174</link>
    <description>Sorry I was wrong. Twice.&lt;BR /&gt;
&lt;BR /&gt;
You work on AC10, I tried with 14, you asked for marker, I tried label.&lt;BR /&gt;
&lt;BR /&gt;
Labels seem to work, markers not.&lt;BR /&gt;
&lt;BR /&gt;
Same object, AC11 it does not work, AC 14 is fine with the following formula, as posted above:&lt;BR /&gt;
&lt;BR /&gt;
WALL_POSITION[3] + ac_glob_elevation&lt;BR /&gt;
&lt;BR /&gt;
Seems you need to upgrade. So far I haven't seen a workaround.</description>
    <pubDate>Mon, 07 Mar 2011 22:49:07 GMT</pubDate>
    <dc:creator>Frank Beister</dc:creator>
    <dc:date>2011-03-07T22:49:07Z</dc:date>
    <item>
      <title>Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182037#M18160</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello&lt;BR /&gt;
&lt;BR /&gt;
I would like to script a window label that would indicate the elevation of window sill relative to project zero.&lt;BR /&gt;
&lt;BR /&gt;
So far I have succeeded in making it work as long as the wall base is the same as the story base, like this:&lt;BR /&gt;
&lt;BR /&gt;
str("%+1.3m",AC_GLOB_ELEVATION+GLOB_HSTORY_ELEV)&lt;BR /&gt;
&lt;BR /&gt;
But I don't know how to make the label read the elevation of the WALL base relative to story base elevation.&lt;BR /&gt;
&lt;BR /&gt;
Does anyone know how this could be achieved, or if it's just impossible?&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:37:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182037#M18160</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182038#M18161</link>
      <description>Try this one:&lt;BR /&gt;
&lt;A href="http://www.selfgdl.de/9_diverse/globals/WINDOW/kompendium.php?glob=ac_wall_elevation" target="_blank"&gt;ac_wall_elevation&lt;/A&gt; or &lt;A href="http://www.selfgdl.de/9_diverse/globals/1_MARKER/kompendium.php?glob=ac_glob_elevation" target="_blank"&gt;ac_glob_elevation&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
And there's a bug in reference height to current story of windows visible in other than home stories.</description>
      <pubDate>Thu, 24 Feb 2011 13:56:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182038#M18161</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2011-02-24T13:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182039#M18162</link>
      <description>&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;  I am having no luck with ac_wall_elevation... &lt;BR /&gt;
My string now looks like this:&lt;BR /&gt;
&lt;BR /&gt;
str("%+1.3m",AC_GLOB_ELEVATION+GLOB_HSTORY_ELEV+AC_WALL_ELEVATION)&lt;BR /&gt;
&lt;BR /&gt;
I have also tried adding the parameter "ac_wall_elevation" in both the label AND the window object parameters&lt;BR /&gt;
&lt;BR /&gt;
However, when I change the wall elevation (and the window ascends and descends with the wall) the label does not change... the number shown is still as if the wall base was the same as the story base...&lt;BR /&gt;
&lt;BR /&gt;
 &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt;</description>
      <pubDate>Wed, 02 Mar 2011 11:46:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182039#M18162</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-02T11:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182040#M18163</link>
      <description>Maybe it doesn't matter at all because GDL is not case sensitive as far as I know, but the "GLOB_XXXXX" variables are always all UPPERCASE, the "ac_xxxxx" variables are always all lowercase.</description>
      <pubDate>Thu, 03 Mar 2011 21:57:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182040#M18163</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2011-03-03T21:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182041#M18164</link>
      <description>No the case doesn't seem to matter... I tried changing it consistently to lower case - no effect. And it seems lower_case, UPPER_CASE, and Mixed_Case are used interchangeably without problems, in the objects I am trying to tweak. &lt;BR /&gt;
But thanks anyway for the suggestion!&lt;BR /&gt;
Really I find it hard to believe that a marker associated with a window would not be able to query the elevation of the parent wall? But maybe they didn't come to think of that when they wrote the gdl specs. Well for now I must resort to writing the value manually. &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 04 Mar 2011 08:16:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182041#M18164</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-04T08:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182042#M18165</link>
      <description>Maybe it is too many levels.&lt;BR /&gt;
I mean, a Window knows certain variables about the Wall it is in.&lt;BR /&gt;
A Window label knows certain variables about the Windows it is associated with.&lt;BR /&gt;
But a Window label to know about the Wall into which its associated Window is placed: could be a limitation.&lt;BR /&gt;
I will forward this to GS.</description>
      <pubDate>Fri, 04 Mar 2011 18:25:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182042#M18165</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2011-03-04T18:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182043#M18166</link>
      <description>is this what you are looking for?&lt;BR /&gt;
&lt;BR /&gt;
WIDO_RSIDE_SILL_HEIGHT+WALL_POSITION[3]</description>
      <pubDate>Fri, 04 Mar 2011 20:47:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182043#M18166</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-04T20:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182044#M18167</link>
      <description>I have lost a lot of time in finding the following bug:&lt;BR /&gt;
&lt;BR /&gt;
"HOME_STORY, used in marker objects, always returns the home story of the wall, not of the window. A wall, visible over three stories can have in each story other openings. The markers of the openings return always the home story of the wall."&lt;BR /&gt;
&lt;BR /&gt;
Maybe there are more bugs in this ambient. Just keep a focus on this and try it in further versions. Just a hint.</description>
      <pubDate>Sat, 05 Mar 2011 21:53:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182044#M18167</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2011-03-05T21:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182045#M18168</link>
      <description>Try "ac_glob_elevation - length&lt;BR /&gt;
elevation of the base line of the opening"&lt;BR /&gt;
&lt;BR /&gt;
Found here&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/14/LibDevGuide/Appendix_ACParams.html#ac_lp_dwmarker" target="_blank"&gt;&lt;LINK_TEXT text="http://www.graphisoft.com/ftp/techsuppo ... p_dwmarker"&gt;http://www.graphisoft.com/ftp/techsupport/documentation/developer_docs/BasicLibraryDoc/14/LibDevGuide/Appendix_ACParams.html#ac_lp_dwmarker&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Sat, 05 Mar 2011 22:52:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182045#M18168</guid>
      <dc:creator>Ben Cohen</dc:creator>
      <dc:date>2011-03-05T22:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182046#M18169</link>
      <description>Thank you all for your replies!&lt;BR /&gt;
&lt;BR /&gt;
Ben: ac_glob_elevation only tells me the height of the window sill from the wall bottom. I get that working all right.&lt;BR /&gt;
&lt;BR /&gt;
F_beister: my windows are in the home story of the walls so your bug does not affect my case. Anyhow I got the window marker to read the elevation of the home story all right. The problem is, my window marker cannot seem to get hold of the measurement from the story base level to the wall bottom level.&lt;BR /&gt;
&lt;BR /&gt;
Master script: I tried your suggestion, with the result that it always returns +0.000. Apparently these variables are not available to a window marker?&lt;BR /&gt;
&lt;BR /&gt;
If anyone still has the patience to make any suggestions, they are more than welcome! It may also be that there is some stupid mistake in my code, my GDL skill is mostly limited to tweaking existing objects so I don't always quite understand everything that's going on there.</description>
      <pubDate>Sun, 06 Mar 2011 17:57:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182046#M18169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-06T17:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182047#M18170</link>
      <description>Try combining it with &lt;BR /&gt;
&lt;BR /&gt;
ac_sill_to_anchor_level - length&lt;BR /&gt;
&lt;BR /&gt;
I don't think these variables are available in version 10.</description>
      <pubDate>Sun, 06 Mar 2011 23:04:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182047#M18170</guid>
      <dc:creator>Ben Cohen</dc:creator>
      <dc:date>2011-03-06T23:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182048#M18171</link>
      <description>I gave it a try. I tried this dump lines in an empty dw-marker:&lt;BR /&gt;

&lt;PRE&gt;text2 0,2.5,WIDO_RSIDE_SILL_HEIGHT
text2 0,2.0,GLOB_ELEVATION
text2 1,1.5,WALL_POSITION[3]
text2 0,1.0,GLOB_HSTORY_ELEV
text2 1,0.5,ac_glob_elevation
text2 0,0.0,ac_wall_elevation
&lt;/PRE&gt;

Don't forget to create for each ac_xxx-parameters an entry in the parameter list, if they are not listed as blue parameters anyway!&lt;BR /&gt;
&lt;BR /&gt;
This should do it for you:&lt;BR /&gt;

&lt;PRE&gt;baseheight = WALL_POSITION[3] + ac_glob_elevation&lt;/PRE&gt;

Inside the window script it would be&lt;BR /&gt;

&lt;PRE&gt;baseheight = WALL_POSITION[3] + GLOB_ELEVATION&lt;/PRE&gt;

But this does not work in markers. They need to use the ac_glob_elevation, because this special parameter works as pass-through of the GLOB_ELEVATION value of the window into the marker script.</description>
      <pubDate>Sun, 06 Mar 2011 23:31:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182048#M18171</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2011-03-06T23:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182049#M18172</link>
      <description>F.Beister, I tried your code and the only variables that return anything other than zero are ac_glob_elevation and GLOB_HSTORY_ELEV.&lt;BR /&gt;
&lt;BR /&gt;
The same goes for Ben's ac_sill_to_anchor_level: zero.  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_sad.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
I am beginning to think it is a question of program version.&lt;BR /&gt;
&lt;BR /&gt;
We do have one workstation at the office with 13 installed. I will have to give it a try to see what difference it makes.</description>
      <pubDate>Mon, 07 Mar 2011 10:06:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182049#M18172</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-07T10:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182050#M18173</link>
      <description>If you like, send me the marker. I will have a short look on it.</description>
      <pubDate>Mon, 07 Mar 2011 13:57:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182050#M18173</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2011-03-07T13:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182051#M18174</link>
      <description>Sorry I was wrong. Twice.&lt;BR /&gt;
&lt;BR /&gt;
You work on AC10, I tried with 14, you asked for marker, I tried label.&lt;BR /&gt;
&lt;BR /&gt;
Labels seem to work, markers not.&lt;BR /&gt;
&lt;BR /&gt;
Same object, AC11 it does not work, AC 14 is fine with the following formula, as posted above:&lt;BR /&gt;
&lt;BR /&gt;
WALL_POSITION[3] + ac_glob_elevation&lt;BR /&gt;
&lt;BR /&gt;
Seems you need to upgrade. So far I haven't seen a workaround.</description>
      <pubDate>Mon, 07 Mar 2011 22:49:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182051#M18174</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2011-03-07T22:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182052#M18175</link>
      <description>OK, thanks for the confirmation! &lt;BR /&gt;
I guess we'll make do with the old version until we see what 15 has to offer. So far the upgrades since v.10 have been lackluster from the point of view of our needs and return for investment, and we decided to rather save the money... Well this is going off topic. Anyway, thanks for all the help!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 08 Mar 2011 07:30:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182052#M18175</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-08T07:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182053#M18176</link>
      <description>Just a small clarification (after you solved the problem alright...).&lt;BR /&gt;
&lt;BR /&gt;
The following isn't considered as a bug. Windows inherit the home storey from the containing wall. All the rest can be calculated based on elevation just as you did.&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;I have lost a lot of time in finding the following bug:&lt;BR /&gt;
&lt;BR /&gt;
"HOME_STORY, used in marker objects, always returns the home story of the wall, not of the window. A wall, visible over three stories can have in each story other openings. The markers of the openings return always the home story of the wall."&lt;BR /&gt;
&lt;BR /&gt;
Maybe there are more bugs in this ambient. Just keep a focus on this and try it in further versions. Just a hint.&lt;/BLOCKQUOTE&gt;

Regs,</description>
      <pubDate>Tue, 08 Mar 2011 07:56:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182053#M18176</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2011-03-08T07:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: Window label with elevation to project zero?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182054#M18177</link>
      <description>&lt;IMG src="http://www.energie-form.de/stuff/elevation.jpg" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
The picture shows a multiple story wall in AC11 and AC14. Left is a window in basement, right in the 1st floor. The wall is 0.5m above project zero. each window is labeled by a marker (top) AND a label (bottom), each with the same gdl code:&lt;BR /&gt;

&lt;PRE&gt;s=0.5*GLOB_SCALE/100*1.15

text2 0,6*s,"GLOB_CSTORY_ELEV="+str("%.3",GLOB_CSTORY_ELEV)
text2 0,5*s,"GLOB_HSTORY_ELEV="+str("%.3",GLOB_HSTORY_ELEV)
text2 0,4*s,"GLOB_ELEVATION="+str("%.3",GLOB_ELEVATION)
text2 0,3*s,"WALL_POSITION[3]="+str("%.3",WALL_POSITION[3])
text2 0,2*s,"GLOB_HSTORY_ELEV="+str("%.3",GLOB_HSTORY_ELEV)
text2 0,1*s,"ac_glob_elevation="+str("%.3",ac_glob_elevation)
text2 0,0*s,"ac_wall_elevation="+str("%.3",ac_wall_elevation)

text2 0,-2*s,"Elevation to project zero:"+str("%.3",WALL_POSITION[3]+ac_glob_elevation) &lt;/PRE&gt;

You see, that &lt;B&gt;WALL_POSITION[3]&lt;/B&gt; does not work for markers in AC11, but for labels. In AC14 &lt;B&gt;WALL_POSITION[3]+ac_glob_elevation&lt;/B&gt; brings the right value in both environments.&lt;BR /&gt;
&lt;BR /&gt;
@zsolt&lt;BR /&gt;
I will have alook tonight into the bug tracking system. It IS considered as a bug. I will have a look on the problem again, but it WAS a problem, when I tried to get a correct value of a label in a certain circumstance.</description>
      <pubDate>Wed, 09 Mar 2011 07:47:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Window-label-with-elevation-to-project-zero/m-p/182054#M18177</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2011-03-09T07:47:16Z</dc:date>
    </item>
  </channel>
</rss>

