<?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: ac_toplevel / ac_bottomlevel and all relevant stories in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174442#M17591</link>
    <description>Tobias:&lt;BR /&gt;
&lt;BR /&gt;
See this thread, it may help, one of the developers chimed in:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=182499" target="_blank"&gt;All Relevant Stories for ArchiCAD Objects?&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
David</description>
    <pubDate>Mon, 14 Feb 2011 13:14:08 GMT</pubDate>
    <dc:creator>David Maudlin</dc:creator>
    <dc:date>2011-02-14T13:14:08Z</dc:date>
    <item>
      <title>ac_toplevel / ac_bottomlevel and all relevant stories</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174441#M17590</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi!&lt;BR /&gt;
&lt;BR /&gt;
I've read some threads about this.&lt;BR /&gt;
&lt;BR /&gt;
In parameterscript I set ac_bottomlevel = Z~ and ac_toplevel = Z~+ZZYZX, so far, so good.&lt;BR /&gt;
&lt;BR /&gt;
But, &lt;BR /&gt;
Lets say I put my object on story 1, bottom and top are above story 1 but under cutlevel and under story 2.&lt;BR /&gt;
Then change Show on story : all relevant stories, then my 2d part of my object are visible on my topfloor only, +18000 up, but my 3d is on right place, regardless of my "Floor plan cut plane" settings.&lt;BR /&gt;
&lt;BR /&gt;
Is this the bug you are talking about in earlier thread about this or what goes wrong?&lt;BR /&gt;
&lt;BR /&gt;
Regards Tobias&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 14 Feb 2011 11:24:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174441#M17590</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-14T11:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: ac_toplevel / ac_bottomlevel and all relevant stories</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174442#M17591</link>
      <description>Tobias:&lt;BR /&gt;
&lt;BR /&gt;
See this thread, it may help, one of the developers chimed in:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?p=182499" target="_blank"&gt;All Relevant Stories for ArchiCAD Objects?&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Mon, 14 Feb 2011 13:14:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174442#M17591</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2011-02-14T13:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: ac_toplevel / ac_bottomlevel and all relevant stories</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174443#M17592</link>
      <description>Thanks David, but I've read that thread and done the tip they talk about their. &lt;BR /&gt;
My toplevel and bottomlevel are showing right value, even zzyzx, bottomlevel are = Z~ and toplevel are bottomlevel + zzyzx like I wrote above.&lt;BR /&gt;
&lt;BR /&gt;
The problem is that the object start acting weird then I turn all relevant stories on. Even with normal setup in floor plan cut plane the objects shows only on topfloor even if bottomlevel and toplevel of object are on homestory of the object. And that story are 18 meters under topstory.&lt;BR /&gt;
&lt;BR /&gt;
Parameterscript :
&lt;PRE&gt;PARAMETERS ac_bottomlevel = Z~
PARAMETERS ac_toplevel = Z~+ZZYZX&lt;/PRE&gt;

Do I need to do some changes of my 2d script code?</description>
      <pubDate>Mon, 14 Feb 2011 13:27:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174443#M17592</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-14T13:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: ac_toplevel / ac_bottomlevel and all relevant stories</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174444#M17593</link>
      <description>Hej TurboGlider,&lt;BR /&gt;
&lt;BR /&gt;
I think this should work, hoppas det fungerar.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!--new length type parameter 'gs_cutplane_height'&lt;BR /&gt;
!--the item height is zzyzx&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!--master script&lt;BR /&gt;
eps= 0.001&lt;BR /&gt;
gs_cutplane_height = GLOB_CSTORY_ELEV - GLOB_HSTORY_ELEV - GLOB_ELEVATION + GLOB_CUTPLANES_INFO[1] &lt;BR /&gt;
parameters gs_cutplane_height= gs_cutplane_height&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!--2D script&lt;BR /&gt;
if (GLOB_CUTPLANES_INFO[1]+eps)&amp;gt;=0&amp;amp;(GLOB_CUTPLANES_INFO[1])&amp;lt;zzyzx then&lt;BR /&gt;
&lt;BR /&gt;
        !--we're cutting thru the item&lt;BR /&gt;
&lt;BR /&gt;
else&lt;BR /&gt;
&lt;BR /&gt;
    if (GLOB_CUTPLANES_INFO[1]+eps)&amp;gt;0 then&lt;BR /&gt;
&lt;BR /&gt;
        !--we're cutting below the item&lt;BR /&gt;
&lt;BR /&gt;
    else&lt;BR /&gt;
&lt;BR /&gt;
        !--we're cutting above the item&lt;BR /&gt;
&lt;BR /&gt;
    endif&lt;BR /&gt;
&lt;BR /&gt;
endif</description>
      <pubDate>Wed, 16 Feb 2011 21:37:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174444#M17593</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-02-16T21:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: ac_toplevel / ac_bottomlevel and all relevant stories</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174445#M17594</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
No wonder it works in a weird way. ac_toplevel and ac_bottom_level start from the object origin of the object. So when you use the SYMB_POS_Z global variable in them, you trigger their duplicated usage!&lt;BR /&gt;
&lt;BR /&gt;
In a normal standing element the parameter script can be this simple:
&lt;PRE&gt;PARAMETERS ac_bottomlevel = 0
PARAMETERS ac_toplevel = ZZYZX&lt;/PRE&gt;

In a hanging object/lamp the parameter script should contain this:
&lt;PRE&gt;PARAMETERS ac_bottomlevel = -ZZYZX
PARAMETERS ac_toplevel = 0&lt;/PRE&gt;

And so on...&lt;BR /&gt;
&lt;BR /&gt;
Regs,&lt;BR /&gt;
Zsolt&lt;BR /&gt;
&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;TurboGlider wrote:&lt;BR /&gt;Thanks David, but I've read that thread and done the tip they talk about their. &lt;BR /&gt;
My toplevel and bottomlevel are showing right value, even zzyzx, bottomlevel are = Z~ and toplevel are bottomlevel + zzyzx like I wrote above.&lt;BR /&gt;
&lt;BR /&gt;
The problem is that the object start acting weird then I turn all relevant stories on. Even with normal setup in floor plan cut plane the objects shows only on topfloor even if bottomlevel and toplevel of object are on homestory of the object. And that story are 18 meters under topstory.&lt;BR /&gt;
&lt;BR /&gt;
Parameterscript :
&lt;PRE&gt;PARAMETERS ac_bottomlevel = Z~
PARAMETERS ac_toplevel = Z~+ZZYZX&lt;/PRE&gt;

Do I need to do some changes of my 2d script code?&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 25 Feb 2011 11:54:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/ac-toplevel-ac-bottomlevel-and-all-relevant-stories/m-p/174445#M17594</guid>
      <dc:creator>ztaskai</dc:creator>
      <dc:date>2011-02-25T11:54:16Z</dc:date>
    </item>
  </channel>
</rss>

