<?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: MultiLine Text in Script in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190653#M23885</link>
    <description>&lt;BLOCKQUOTE&gt;lec1212 wrote:&lt;BR /&gt;/.......Is it possible to get a "return" to work so I can have another&lt;BR /&gt;
line of text below what I've shown in the attached script?&lt;/BLOCKQUOTE&gt;
If memory serves me well it was ML who suggested to us &lt;FONT size="150"&gt;&lt;FONT color="#0900FF"&gt;\n&lt;/FONT&gt;&lt;/FONT&gt; as shown in attached &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Works in 99% of cases. Not custom dimensions or label ID &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_cry.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
Add for a 3rd line works also.  ---\n---\n---&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/16917i2D7AF86C0D2F0C80/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Multi line text.png" title="Multi line text.png" /&gt;</description>
    <pubDate>Fri, 18 Sep 2009 00:25:02 GMT</pubDate>
    <dc:creator>Rod Jurich</dc:creator>
    <dc:date>2009-09-18T00:25:02Z</dc:date>
    <item>
      <title>MultiLine Text in Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190651#M23883</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello,&lt;BR /&gt;
Is it possible to get a "return" to work so I can have another&lt;BR /&gt;
line of text below what I've shown in the attached script?&lt;BR /&gt;
Thanks&lt;BR /&gt;
lec&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/9524i0376206589373EDA/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Heliocopter-1.png" title="Heliocopter-1.png" /&gt;</description>
      <pubDate>Thu, 17 Sep 2009 20:54:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190651#M23883</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-17T20:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: MultiLine Text in Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190652#M23884</link>
      <description>Two ways I know of:&lt;BR /&gt;
&lt;BR /&gt;
1. Use the PARAGRAPH statement and associated text functions. I found these to be complicated to get working correctly but once I sorted it out they worked nicely.&lt;BR /&gt;
&lt;BR /&gt;
2. Parse the text procedurally. This goes something like:&lt;BR /&gt;

&lt;PRE&gt;FOR i = 1 TO STRLEN(string_parameter)
    char = SUBSTR(string_parameter, i, 1)
    IF char = " " THEN   ! find space character
        ! do something
    ENDIF
NEXT i&lt;/PRE&gt;

The details of course depend on what you want to do. This is the method I used before the multi-line text functions were introduced. I still use it in simple cases or where I need special control over parsing the text.&lt;BR /&gt;
&lt;BR /&gt;
EDIT: Three ways...&lt;BR /&gt;
&lt;BR /&gt;
3. Use two parameters. One for line one and the other for line two.</description>
      <pubDate>Thu, 17 Sep 2009 21:20:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190652#M23884</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-17T21:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: MultiLine Text in Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190653#M23885</link>
      <description>&lt;BLOCKQUOTE&gt;lec1212 wrote:&lt;BR /&gt;/.......Is it possible to get a "return" to work so I can have another&lt;BR /&gt;
line of text below what I've shown in the attached script?&lt;/BLOCKQUOTE&gt;
If memory serves me well it was ML who suggested to us &lt;FONT size="150"&gt;&lt;FONT color="#0900FF"&gt;\n&lt;/FONT&gt;&lt;/FONT&gt; as shown in attached &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
Works in 99% of cases. Not custom dimensions or label ID &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_cry.gif" style="display : inline;" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
Add for a 3rd line works also.  ---\n---\n---&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/16917i2D7AF86C0D2F0C80/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Multi line text.png" title="Multi line text.png" /&gt;</description>
      <pubDate>Fri, 18 Sep 2009 00:25:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190653#M23885</guid>
      <dc:creator>Rod Jurich</dc:creator>
      <dc:date>2009-09-18T00:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: MultiLine Text in Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190654#M23886</link>
      <description>Hi Rod&lt;BR /&gt;
Thanks for simple approach as I'm not a gdl guy.&lt;BR /&gt;
However so far I've only got the box shown in screen shot.&lt;BR /&gt;
And I have tried many variations (spaces-no spaces etc) (just for fun) with no success yet.&lt;BR /&gt;
Thanks for the idea though.&lt;BR /&gt;
lec&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/12904i320F59E3A8B87C1B/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Untitled.png" title="Untitled.png" /&gt;</description>
      <pubDate>Fri, 18 Sep 2009 04:51:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190654#M23886</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-18T04:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: MultiLine Text in Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190655#M23887</link>
      <description>I think this may be because it is 3D text and not 2D as in Rod's example.&lt;BR /&gt;
Interestingly \t works (tab).&lt;BR /&gt;
But then that is not forcing a new line.&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 18 Sep 2009 05:17:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190655#M23887</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2009-09-18T05:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: MultiLine Text in Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190656#M23888</link>
      <description>Yep works fine if you add the text to the 2D view.&lt;BR /&gt;
Must just be a 3D thing.&lt;BR /&gt;
Barry.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/14638i0237A9D4614BEA0B/image-size/large?v=v2&amp;amp;px=999" border="0" alt="text.jpg" title="text.jpg" /&gt;</description>
      <pubDate>Fri, 18 Sep 2009 05:23:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190656#M23888</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2009-09-18T05:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: MultiLine Text in Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190657#M23889</link>
      <description>Thanks for additional info Barry.&lt;BR /&gt;
lec</description>
      <pubDate>Fri, 18 Sep 2009 06:12:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190657#M23889</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-18T06:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: MultiLine Text in Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190658#M23890</link>
      <description>I am having a related problem. I have read in a string from an external source. The string had a return/new line in it. It is showing up in the library part as the square shown above, so I know that it is there. I am looking to Parse the string and seperate it into 2 strings based on the new line. Shouldn't be a problem, however when I search the string for either "\n" or "\new line" it returns 0 (not found). Is there something I am missing or is it just not possible to search for the new line character.</description>
      <pubDate>Mon, 19 Oct 2009 18:21:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190658#M23890</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-19T18:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: MultiLine Text in Script</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190659#M23891</link>
      <description>I ended up using a workaround of searching for all alpha-numeric characters and if the character was not one, then just assuming that that is the new line character. Not the best solution, but it will work for now.</description>
      <pubDate>Mon, 19 Oct 2009 19:36:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/MultiLine-Text-in-Script/m-p/190659#M23891</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-19T19:36:05Z</dc:date>
    </item>
  </channel>
</rss>

