<?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: help w/ GLOB_ELEVATION in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/help-w-GLOB-ELEVATION/m-p/16338#M40816</link>
    <description>&lt;BLOCKQUOTE&gt;IF ddoutlet=1 and SYMB_POS_Z&amp;lt;18" OR GLOB_ELEVATION&amp;gt;18" THEN GOSUB 200&lt;/BLOCKQUOTE&gt;

The SYMB_POS_Z&amp;lt;18" condition means that when your outlet is below 18" relative to project zero GOSUB 200 runs.&lt;BR /&gt;
&lt;BR /&gt;
The basement is presumably below +18" elevation.</description>
    <pubDate>Wed, 24 Mar 2004 22:50:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-03-24T22:50:57Z</dc:date>
    <item>
      <title>help w/ GLOB_ELEVATION</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-w-GLOB-ELEVATION/m-p/16337#M40815</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I have this code (the following is just a section of it). It works fine unless I put the object on a basement story. The object looks to see if it is located 18" above the story foor and if it is then the height (18") is not shown. If the object is located at a height not equal to 18" then it lists the height in inches. But when I put the object on the basement floor it gives me the height of 18". How come and how can I fix it so that it doesn't show me the height when it is 18" above any story?&lt;BR /&gt;
&lt;BR /&gt;
Thanks for any help,&lt;BR /&gt;
Michele&lt;BR /&gt;
THe code is as follows:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!GLOB_ELEVATION!to each story&lt;BR /&gt;
!SYMB_POS_Z!to project zero &lt;BR /&gt;
IF ddoutlet=1 and SYMB_POS_Z&amp;lt;18" OR GLOB_ELEVATION&amp;gt;18" THEN GOSUB 200&lt;BR /&gt;
IF ddoutlet=0 and SYMB_POS_Z&amp;lt;18" OR GLOB_ELEVATION&amp;gt;18" THEN GOSUB 100&lt;BR /&gt;
IF ddoutlet=1 and GLOB_ELEVATION=18" THEN GOSUB 400 &lt;BR /&gt;
IF ddoutlet=0 and GLOB_ELEVATION=18" THEN GOSUB 300&lt;BR /&gt;
!IF out=1 and GLOB_ELEVATION=18" THEN GOSUB 500!220 outlet on&lt;BR /&gt;
!IF out=0 and GLOB_ELEVATION=18" THEN GOSUB 550!220 outlet off&lt;BR /&gt;
&lt;BR /&gt;
FRAGMENT2  ALL, 0&lt;BR /&gt;
&lt;BR /&gt;
END:&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
100:!!OUTLET&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE STYLE_1 "Arial", 35 * MIN (a, b), 7, 0&lt;BR /&gt;
&lt;BR /&gt;
STYLE STYLE_1&lt;BR /&gt;
PEN cpen&lt;BR /&gt;
rot2 -symb_rotangle&lt;BR /&gt;
unID = 1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 0, d_y,unID, d_x,1+128 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 -1, d_y,unID, d_x,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 d_x,d_y,unID, d_x,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 d_x, 0,unID, d_y,1+128 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 d_x, -1,unID, d_y,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 d_x,d_y,unID, d_y,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ADD2 d_x, d_y&lt;BR /&gt;
TEXT2 0, 0, STR("%fi", GLOB_ELEVATION)&lt;BR /&gt;
DEL 2&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Mar 2004 22:37:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-w-GLOB-ELEVATION/m-p/16337#M40815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-03-24T22:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: help w/ GLOB_ELEVATION</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-w-GLOB-ELEVATION/m-p/16338#M40816</link>
      <description>&lt;BLOCKQUOTE&gt;IF ddoutlet=1 and SYMB_POS_Z&amp;lt;18" OR GLOB_ELEVATION&amp;gt;18" THEN GOSUB 200&lt;/BLOCKQUOTE&gt;

The SYMB_POS_Z&amp;lt;18" condition means that when your outlet is below 18" relative to project zero GOSUB 200 runs.&lt;BR /&gt;
&lt;BR /&gt;
The basement is presumably below +18" elevation.</description>
      <pubDate>Wed, 24 Mar 2004 22:50:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-w-GLOB-ELEVATION/m-p/16338#M40816</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-03-24T22:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: help w/ GLOB_ELEVATION</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-w-GLOB-ELEVATION/m-p/16339#M40817</link>
      <description>So how do I state that I want it to look at the story zero. It works when I put the object on a second or 3rd story and that is more than 18" above project zero.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Michele</description>
      <pubDate>Wed, 24 Mar 2004 23:20:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-w-GLOB-ELEVATION/m-p/16339#M40817</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-03-24T23:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: help w/ GLOB_ELEVATION</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-w-GLOB-ELEVATION/m-p/16340#M40818</link>
      <description>If I understand what to want to do, then:&lt;BR /&gt;
&lt;BR /&gt;
&lt;B&gt;IF ddoutlet=1 and GLOB_ELEVATION#18" THEN GOSUB 200&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Should do the trick.&lt;BR /&gt;
&lt;BR /&gt;
I assume your subroutine at line 200 is the symbol with the non-standard elevation text shown ("unless otherwise noted", right?). So all you should need is the test to see if the elevation above the home story is 18" or not. I honestly don't understand the purpose to the test for being below 18" to project zero.</description>
      <pubDate>Thu, 25 Mar 2004 01:27:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-w-GLOB-ELEVATION/m-p/16340#M40818</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-03-25T01:27:36Z</dc:date>
    </item>
  </channel>
</rss>

