<?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: Story Display in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202544#M27131</link>
    <description>Try this for a bit better explanation:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.archicadwiki.com/Global%20GDL%20Parameters#StoryInformation" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://www.archicadwiki.com/Global%20GDL%20Parameters#StoryInformation" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;&amp;lt;LINK_TEXT text=&amp;quot;http://www.archicadwiki.com/Global%20GD ... nformation&amp;quot;&amp;gt;http://www.archicadwiki.com/Global%20GDL%20Parameters#StoryInformation&amp;lt;/LINK_TEXT&amp;gt;&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;&lt;LINK_TEXT text="http://www.archicadwiki.com/Global%20GD ... nformation"&gt;http://www.archicadwiki.com/Global%20GDL%20Parameters#StoryInformation&lt;/LINK_TEXT&gt;&lt;E&gt;&lt;/E&gt;</description>
    <pubDate>Mon, 03 Nov 2008 17:42:15 GMT</pubDate>
    <dc:creator>Laszlo Nagy</dc:creator>
    <dc:date>2008-11-03T17:42:15Z</dc:date>
    <item>
      <title>Story Display</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202537#M27124</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am trying to script a 2d library part  in AC11 that would let me control the stories it displays on,, ie. 1,2,3, (nor 4 and 5) then 6, 7,8.  &lt;BR /&gt;
&lt;BR /&gt;
Any Ideas?&lt;BR /&gt;
&lt;BR /&gt;
Alternatively, I would settle for just a sequential range ie, 1 through 6&lt;BR /&gt;
&lt;BR /&gt;
Tomas&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Oct 2008 14:23:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202537#M27124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-30T14:23:04Z</dc:date>
    </item>
    <item>
      <title>Re: Story Display</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202538#M27125</link>
      <description>The stories that placed parts &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;can&lt;E&gt;&lt;/E&gt; show on are defined in the "Show on Stories:" setting in the Info Box or settings dialog, but the options are limited. Normally the symbol will display on all the allowed/selected stories unless it is coded to do otherwise in the 2D script.&lt;BR /&gt;
&lt;BR /&gt;
Unfortunately there is no custom setting for library parts as there are for slabs and roofs. You may be able to do something by choosing "All Relevant Stories" and controlling which stories are "relevant" in the scripts, but I have not tried this and don't know how ArchiCAD determines which stories are relevant nor whether they can be discontinuous. The first thing to test is to see if "relevance" is determined by the 2D script, the 3D script or both. It's an interesting problem. I wish I had time to work it out myself.&lt;BR /&gt;
&lt;BR /&gt;
Good luck. Please post back if you figure it out.</description>
      <pubDate>Thu, 30 Oct 2008 16:19:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202538#M27125</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-30T16:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Story Display</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202539#M27126</link>
      <description>From the GDL reference guide p133 AC11 &amp;amp; p162 AC12 -&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;All Relevant Stories: The element will be shown and editable on&lt;BR /&gt;
all stories which it &lt;B&gt;physically&lt;/B&gt; intersects. When available, this will&lt;BR /&gt;
be your preferred option most of the time.&lt;/BLOCKQUOTE&gt;

Sounds like it is 3d based.</description>
      <pubDate>Thu, 30 Oct 2008 17:04:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202539#M27126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-30T17:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: Story Display</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202540#M27127</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;From the GDL reference guide p133 AC11 &amp;amp; p162 AC12&lt;/BLOCKQUOTE&gt;

Rubbish! I meant the AC Reference Guide! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Sorry &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_redface.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 31 Oct 2008 15:31:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202540#M27127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-10-31T15:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Story Display</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202541#M27128</link>
      <description>Are you talking about something 3D interacting with stories and the cut plane? It doesn't sound like you are, it sounds like you want to turn a symbol off and on.&lt;BR /&gt;
&lt;BR /&gt;
The key is the global variable GLOB_CH_STORY_DIST (S~), which describes the relationship between the currently displayed story and the object's home story. I don't know if this will do everything you want. You will have to tell it explicitly what stories to show on; parameters for ranges and skipping stories will be clunky but should work in theory.&lt;BR /&gt;
&lt;BR /&gt;
The object would be shown on All Stories, then you would have IF/THEN conditionals to draw the geometry, or not, based on the current story.&lt;BR /&gt;
&lt;BR /&gt;
When viewing the object's home story, S~ = 0. One story up, S~ = 1. Two stories up, S~=2. One story down, S~ = -1. Etc.&lt;BR /&gt;
&lt;BR /&gt;
Simplest case, you have a checkbox for a parameter, showOnStoryAbove.&lt;BR /&gt;

&lt;PRE&gt;IF S~=0 THEN !! always show on home story
!! draw stuff
ENDIF
IF S~=1 AND showOnStoryAbove=1 THEN
!! draw stuff
ENDIF&lt;/PRE&gt;

(You'd never do that, you'd just use the story display setting.)&lt;BR /&gt;
&lt;BR /&gt;
More complicated, an integer parameter for showOnHowManyStoriesUp:&lt;BR /&gt;

&lt;PRE&gt;IF S~=0 THEN !! always show on home story
!! draw stuff
ENDIF
IF S~&amp;gt;0 AND S~&amp;lt;= showOnHowManyStoriesUp THEN
!! draw stuff
ENDIF&lt;/PRE&gt;

A gap followed by another range would be more complex again.&lt;BR /&gt;
&lt;BR /&gt;
To be clear, S~ relates to the home story of the object, not to story 1 or anything like that. So the user would be indicating stories relative to the object, not to the actual story structure of the project. (You could convert S~ to the absolute story by using the "Story" REQUEST.)&lt;BR /&gt;
&lt;BR /&gt;
I think you will get a weird behavior on stories where the code stops anything from being drawn. (E.g., the current story is 6 stories up and the object should only show through 5.) I think you get a dot like the object was missing or erroneous. In the past I have seen that cause errors on 'showing' stories. For safety, always have the object draw something, even if it's just a tiny line with a non-printing pen.</description>
      <pubDate>Fri, 31 Oct 2008 16:37:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202541#M27128</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2008-10-31T16:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Story Display</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202542#M27129</link>
      <description>'Relevance' for objects in AC12:&lt;BR /&gt;
&lt;BR /&gt;
'All Relevant stories' is a new option for objects in 12; it isn't present in 11. But it doesn't appear to do anything. I can't see new globals or REQUESTs relating to it. The &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Standard Elevator 12&lt;E&gt;&lt;/E&gt; doesn't seem to take advantage of it, I thought maybe it should, for example.&lt;BR /&gt;
&lt;BR /&gt;
You can determine 'relevance' w/r/t stories and cutplanes using the various story globals, but there's nothing automatic available that I can see.&lt;BR /&gt;
&lt;BR /&gt;
??</description>
      <pubDate>Fri, 31 Oct 2008 16:45:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202542#M27129</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2008-10-31T16:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Story Display</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202543#M27130</link>
      <description>&lt;BLOCKQUOTE&gt;james wrote:&lt;BR /&gt;The key is the global variable GLOB_CH_STORY_DIST (S~), which describes the relationship between the currently displayed story and the object's home story.&lt;BR /&gt;
&lt;BR /&gt;
....&lt;/BLOCKQUOTE&gt;

If only the GDL reference guide explained things with as much clarity - if at all. It contains practically nothing on the usage of this function! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_evil.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Thank you James.</description>
      <pubDate>Sat, 01 Nov 2008 02:49:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202543#M27130</guid>
      <dc:creator>vistasp</dc:creator>
      <dc:date>2008-11-01T02:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Story Display</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202544#M27131</link>
      <description>Try this for a bit better explanation:&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.archicadwiki.com/Global%20GDL%20Parameters#StoryInformation" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://www.archicadwiki.com/Global%20GDL%20Parameters#StoryInformation" target="_blank"&gt;&lt;/A&gt;&lt;A href="&amp;lt;/s&amp;gt;&amp;lt;LINK_TEXT text=&amp;quot;http://www.archicadwiki.com/Global%20GD ... nformation&amp;quot;&amp;gt;http://www.archicadwiki.com/Global%20GDL%20Parameters#StoryInformation&amp;lt;/LINK_TEXT&amp;gt;&amp;lt;e&amp;gt;"&gt;&lt;/A&gt;&lt;/S&gt;&lt;LINK_TEXT text="http://www.archicadwiki.com/Global%20GD ... nformation"&gt;http://www.archicadwiki.com/Global%20GDL%20Parameters#StoryInformation&lt;/LINK_TEXT&gt;&lt;E&gt;&lt;/E&gt;</description>
      <pubDate>Mon, 03 Nov 2008 17:42:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-Display/m-p/202544#M27131</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2008-11-03T17:42:15Z</dc:date>
    </item>
  </channel>
</rss>

