<?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 information in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76130#M39205</link>
    <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;
Is this what you want to do?&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

It looks to be similar, but it may point me in the right direction.</description>
    <pubDate>Wed, 08 Dec 2004 19:44:23 GMT</pubDate>
    <dc:creator>Red</dc:creator>
    <dc:date>2004-12-08T19:44:23Z</dc:date>
    <item>
      <title>Story information</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76128#M39203</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Does anyone have an example they can share that would show the following.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="#00c8ff"&gt;&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;&lt;B&gt;Story information&lt;/B&gt; &lt;BR /&gt;
GLOB_HSTORY_ELEV B_ elevation of the home story &lt;BR /&gt;
home story is the one the object is placed on&lt;BR /&gt;
GLOB_HSTORY_HEIGHT Q_ height of the home story&lt;BR /&gt;
home story is the one the object is placed on&lt;BR /&gt;
GLOB_CSTORY_ELEV Q~ elevation of the current story&lt;BR /&gt;
current story is the one currently shown in the Floor Plan window&lt;BR /&gt;
GLOB_CSTORY_HEIGHT R~ height of the current story &lt;BR /&gt;
current story is the one currently shown in the Floor Plan window&lt;BR /&gt;
GLOB_CH_STORY_DIST S~ relative position of the current story to the home story&lt;BR /&gt;
current story is the one currently shown in the Floor Plan window &lt;E&gt;&lt;/E&gt;&lt;/FONT&gt;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
To my understanding it is possible that have part of an object show up on one story and part of it on another. Correct me if I'm wrong.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Example:&lt;BR /&gt;
The object that I'm working with is a Glu-lam and on its on story I would like for it to show the size ( 5 1/8 x 17 7/8 ), but when it is shown one story down the text is not needed. Is there away to achieve this with the variables above.&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:12:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76128#M39203</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2023-05-24T10:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Story information</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76129#M39204</link>
      <description>Red,&lt;BR /&gt;
I have a library part of a fireplace and chimney.&lt;BR /&gt;
When I am in the home story the object shows a firebox and&lt;BR /&gt;
masonry infill around the fire box and &lt;BR /&gt;
a dashed line for the chimney above.&lt;BR /&gt;
When I go up one or more stories the object shows &lt;BR /&gt;
just the chimney cross-section.&lt;BR /&gt;
&lt;BR /&gt;
In the parameter list I made an integer type parameter named "sstory"&lt;BR /&gt;
"Show on stories above home story"&lt;BR /&gt;
In the 2D script I made a parameter and initialized it   "stor=s~"&lt;BR /&gt;
(GLOB_CH_STORY_DIST S~).&lt;BR /&gt;
Then I made the following "If" condition,&lt;BR /&gt;
IF STOR&amp;gt;0 AND STOR&amp;lt;=Sstory THEN ....&lt;BR /&gt;
followed by the code for just the chimney.&lt;BR /&gt;
This seems to work for this fireplace object.&lt;BR /&gt;
Is this what you want to do?&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 08 Dec 2004 19:41:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76129#M39204</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-12-08T19:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Story information</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76130#M39205</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;
Is this what you want to do?&lt;BR /&gt;
Peter Devlin&lt;/BLOCKQUOTE&gt;

It looks to be similar, but it may point me in the right direction.</description>
      <pubDate>Wed, 08 Dec 2004 19:44:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76130#M39205</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2004-12-08T19:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Story information</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76131#M39206</link>
      <description>Red,&lt;BR /&gt;
It occurs to me that all you have to do is, in the 2D script,&lt;BR /&gt;
write:&lt;BR /&gt;
If s~=0 then&lt;BR /&gt;
(the code for displaying the size of the glulam)&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
Wouldn't that do it?&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Wed, 08 Dec 2004 19:57:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76131#M39206</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-12-08T19:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Story information</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76132#M39207</link>
      <description>Ok I got another question now. Is there anyway to script a fill that will adjust to the text length.</description>
      <pubDate>Wed, 08 Dec 2004 21:22:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76132#M39207</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2004-12-08T21:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: Story information</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76133#M39208</link>
      <description>Red,&lt;BR /&gt;
If I understand you correctly, the stw() function is what you need.&lt;BR /&gt;
On page 119 of the GDL reference manual version AC 8.1&lt;BR /&gt;
there is an example for using  the stw() (string width) function.&lt;BR /&gt;
The example encloses some text with a rectangle and the &lt;BR /&gt;
rectangle's width dimension is controlled by the return values&lt;BR /&gt;
from the stw() function.&lt;BR /&gt;
You could just substitute the dimensions of a fill &lt;BR /&gt;
for those of the rectangle using the example code the way it is.&lt;BR /&gt;
&lt;BR /&gt;
Peter Devlin&lt;BR /&gt;
PS Did you get the glulam to show the way you wanted&lt;BR /&gt;
depending on story?</description>
      <pubDate>Wed, 08 Dec 2004 21:45:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76133#M39208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-12-08T21:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Story information</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76134#M39209</link>
      <description>On the following web page there is detailed info on each of these Global GDL variables:&lt;BR /&gt;
&lt;A href="http://www.graphisoft.com/support/archicad/archiguide/generalparameters.html" target="_blank"&gt;&lt;LINK_TEXT text="http://www.graphisoft.com/support/archi ... eters.html"&gt;http://www.graphisoft.com/support/archicad/archiguide/generalparameters.html&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Thu, 09 Dec 2004 10:50:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76134#M39209</guid>
      <dc:creator>Laszlo Nagy</dc:creator>
      <dc:date>2004-12-09T10:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Story information</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76135#M39210</link>
      <description>Thanks for the info because I believe my GDL Manual grew legs and walked off.</description>
      <pubDate>Thu, 09 Dec 2004 13:14:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76135#M39210</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2004-12-09T13:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Story information</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76136#M39211</link>
      <description>&lt;BLOCKQUOTE&gt;Peter wrote:&lt;BR /&gt;
PS Did you get the glulam to show the way you wanted&lt;BR /&gt;
depending on story?&lt;/BLOCKQUOTE&gt;

Yes I did and thanks for the help.</description>
      <pubDate>Thu, 09 Dec 2004 14:32:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Story-information/m-p/76136#M39211</guid>
      <dc:creator>Red</dc:creator>
      <dc:date>2004-12-09T14:32:52Z</dc:date>
    </item>
  </channel>
</rss>

