<?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 Marker Autotext in Documentation</title>
    <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271807#M42474</link>
    <description>My object is a new file. I think I copied bits from the GS markers. Basic Story Marker?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
    <pubDate>Wed, 27 Mar 2019 02:41:35 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2019-03-27T02:41:35Z</dc:date>
    <item>
      <title>Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271802#M42469</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
Is there a way to have the story levels displayed as "RL+..."? I figured that I would be able to use the &amp;lt;toAltvalue&amp;gt; autotext but the marker does not recognise it and hence just returns it as a text line...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 May 2023 13:49:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271802#M42469</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2023-05-19T13:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271803#M42470</link>
      <description>Solved in GDL by modifying lines 89 to 92 in the 2D script to return &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;"RL +" + textElevation&lt;/B&gt;&lt;E&gt;&lt;/E&gt; instead of &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;"+" + textElevation&lt;/B&gt;&lt;E&gt;&lt;/E&gt; when the reference is set to &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Sea Level&lt;E&gt;&lt;/E&gt;.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Wed, 19 Dec 2018 03:49:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271803#M42470</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-12-19T03:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271804#M42471</link>
      <description>Hi Ling,&lt;BR /&gt;
I just found this old thread as I was also trying to find a way to add the "RL" prefix to my story settings. I cannot find the gdl file that contains the code you describe. I have extracted the Archicad 22 Library, but am stumped.&lt;BR /&gt;
What is the name of the file is the file that you edited?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Graeme</description>
      <pubDate>Tue, 26 Mar 2019 05:09:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271804#M42471</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-26T05:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271805#M42472</link>
      <description>I think this might have been in a &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;Custom Story Marker&lt;E&gt;&lt;/E&gt; of which I believe I had based on the default AC21 one. The default marker does not seem to have this ability and my custom one does. I cannot remember where that default one is located though, probably somewhere under &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;"ArchiCAD21 Library =&amp;gt; Object Library 21 =&amp;gt; Object Library 21 =&amp;gt; Macros 21"&lt;/B&gt;&lt;E&gt;&lt;/E&gt;&lt;I&gt;&lt;/I&gt;. If so, the line references are actually from 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;Master Script&lt;E&gt;&lt;/E&gt; and may not line up as I have added things in but I appears to be pretty close.&lt;BR /&gt;
&lt;BR /&gt;
Unsure whether I can share my object here as my guess is that more than half of 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;Master Script&lt;E&gt;&lt;/E&gt; a direct copy of theirs, even if the 2D script is completely different. The sharing policy still is not very clear...&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Tue, 26 Mar 2019 07:27:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271805#M42472</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-03-26T07:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271806#M42473</link>
      <description>Hi Ling,&lt;BR /&gt;
&lt;BR /&gt;
I am happy to do my own GDL editing, but I cannot find any file in the default AC22 library that controls the story settings. It must have an odd name that is not obvious to me.&lt;BR /&gt;
If you can tell me the name of the GDL file that you edited, that would help me.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Graeme</description>
      <pubDate>Tue, 26 Mar 2019 23:41:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271806#M42473</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-26T23:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271807#M42474</link>
      <description>My object is a new file. I think I copied bits from the GS markers. Basic Story Marker?&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Wed, 27 Mar 2019 02:41:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271807#M42474</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-03-27T02:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271808#M42475</link>
      <description>Thanks for the reply. I finally found it - I had to locate it via the 'Open object by sub-type' command in the GDL toolbar (I was trying to locate the gsm file on the hard disk, but it is hidden). I created a clone "Built-in Story Marker.gsm".&lt;BR /&gt;
&lt;BR /&gt;
I will read through it and see what I can do to edit as I wish.</description>
      <pubDate>Wed, 27 Mar 2019 22:58:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271808#M42475</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-27T22:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271809#M42476</link>
      <description>I had forgotten about the "open object by sub-type" option...&lt;BR /&gt;
&lt;BR /&gt;
I think I changed to following lines&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;if bShowPlus then
	if name_place_int = 2 then	! On The line
			if AC_StoryElevation &amp;gt; 0 then txt_str_d = "+" + txt_str_d
			if abs(AC_StoryElevation) &amp;lt; EPS then txt_str_d = "±" + txt_str_d
		else
			if AC_StoryElevation &amp;gt; 0 then txt_str_u = "+" + txt_str_u
			if abs(AC_StoryElevation) &amp;lt; EPS then txt_str_u = "±" + txt_str_u
	endif
endIf
&lt;/PRE&gt;

&lt;BR /&gt;
to&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;If lvlRL = 1 then
		lock "bShowPlus"
			if name_place_int = 2 then	! On The line
					if AC_StoryElevation + GLOB_PROJECT_ALTITUDE &amp;gt; 0 then txt_str_d = "RL +" + txt_str_d
					if abs(AC_StoryElevation + GLOB_PROJECT_ALTITUDE) &amp;lt; EPS then txt_str_d = "RL ±" + txt_str_d
					if AC_StoryElevation + GLOB_PROJECT_ALTITUDE &amp;lt; 0 then txt_str_d = "RL " + txt_str_d
				else
					if AC_StoryElevation + GLOB_PROJECT_ALTITUDE &amp;gt; 0 then txt_str_u = "RL +" + txt_str_u
					if abs(AC_StoryElevation + GLOB_PROJECT_ALTITUDE) &amp;lt; EPS then txt_str_u = "RL ±" + txt_str_u
					if AC_StoryElevation + GLOB_PROJECT_ALTITUDE &amp;lt; 0 then txt_str_u = "RL " + txt_str_u
			endif
	else
		if bShowPlus then
			if name_place_int = 2 then	! On The line
					if AC_StoryElevation &amp;gt; 0 then txt_str_d = "+" + txt_str_d
					if abs(AC_StoryElevation) &amp;lt; EPS then txt_str_d = "±" + txt_str_d
				else
					if AC_StoryElevation &amp;gt; 0 then txt_str_u = "+" + txt_str_u
					if abs(AC_StoryElevation) &amp;lt; EPS then txt_str_u = "±" + txt_str_u
			endif
		endIf
endif&lt;/PRE&gt;

&lt;BR /&gt;
&lt;B&gt;lvlRL&lt;/B&gt; being a new parameter used to toggle the display of "RL" depending on the markers reference. There might be a way to directly reference the reference level point to get it to toggle this automatically.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Thu, 28 Mar 2019 01:21:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271809#M42476</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-03-28T01:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271810#M42477</link>
      <description>Hi Ling,&lt;BR /&gt;
&lt;BR /&gt;
Thanks for that, but I had already accomplished a similar result with a slightly different approach. I created a new parameter for the text prefix "iElevationPrefix" with options 'RL', 'SFL' or 'FFL'. I was able to modify the interface script as well so I can select it there if I want it.&lt;BR /&gt;
&lt;BR /&gt;
Just tested it and it works nicely!&lt;BR /&gt;
&lt;BR /&gt;
Regards,</description>
      <pubDate>Thu, 28 Mar 2019 02:24:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271810#M42477</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-03-28T02:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271811#M42478</link>
      <description>Nice. I had not started looking at the interface script when I made my marker. Might eventually get around to updating it, or integrating my scripts into theirs.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Thu, 28 Mar 2019 02:55:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/271811#M42478</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-03-28T02:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/338246#M51339</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you be able to share the code for your patch here? Seems like a great solution.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 01:08:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/338246#M51339</guid>
      <dc:creator>pb_archarch</dc:creator>
      <dc:date>2022-05-13T01:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/338248#M51341</link>
      <description>&lt;P&gt;"Anonymous" would imply that the user in question did not migrate their account when the forum platform changed...&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 01:19:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/338248#M51341</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-05-13T01:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/338250#M51343</link>
      <description>&lt;P&gt;Ah - would you know how to set up this solution?&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 01:43:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/338250#M51343</guid>
      <dc:creator>pb_archarch</dc:creator>
      <dc:date>2022-05-13T01:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Story Marker Autotext</title>
      <link>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/338257#M51345</link>
      <description>&lt;P&gt;Text wise, I have shared what I think were the relevant changes in my &lt;A href="https://community.Graphisoft.com/t5/Document-Visualize-forum/Story-Marker-Autotext/m-p/271809/highlight/true#M42476" target="_self"&gt;previous comment.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;UI wise, look through the&amp;nbsp;&lt;EM&gt;Interface&lt;/EM&gt;&amp;nbsp;&lt;EM&gt;Script&lt;/EM&gt; for a set of two&amp;nbsp;&lt;STRONG&gt;UI_Infield&lt;/STRONG&gt;s and a&amp;nbsp;&lt;STRONG&gt;UI_Outfield&lt;/STRONG&gt; that should include the line&amp;nbsp;&lt;STRONG&gt;UI_Outfield "Story Elevation Text"&lt;/STRONG&gt;, if your object is the same as the image posted by the now anonymous user minus the prefix, else some similar comment to do with text. Copy the lines down and increase the first numbers by an increment common to the previous sets. Insert your new variables into the two&amp;nbsp;infields and your display text into the oufield. In the case of my script, the infield with a similar Y value to the outfield would be&amp;nbsp;&lt;STRONG&gt;lvlRL&lt;/STRONG&gt; creating a checkbox next to a text label. These second infield would be for your&amp;nbsp;&lt;STRONG&gt;Values&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/STRONG&gt;of RL, SFL and FFL. I did not have a parameter for this so you would need to set it up in the&amp;nbsp;&lt;EM&gt;Parameter Script&lt;/EM&gt; then add the relevant&amp;nbsp;&lt;STRONG&gt;IF&lt;/STRONG&gt; statements and variables to the &lt;EM&gt;2D Script&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 02:16:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Story-Marker-Autotext/m-p/338257#M51345</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-05-13T02:16:06Z</dc:date>
    </item>
  </channel>
</rss>

