<?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: &amp;quot;RICHTEXT&amp;quot; and &amp;quot;TEXTBLOCK&amp;quot; in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74504#M39170</link>
    <description>STYLE{2} is the key. Thanks for the clue. I wouldn't call it a workaround; it's just what you have to do!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; The manual says its 'recommended' for use with PARAGRAPH. I would amend that to 'required'. And you can't use the same style def for plain TEXT2s, because of the anchor argument. It seems we will need redundant style definitions in some cases. I won't complain, if I can get PARAGRAPH to give me complex, plain language, multiline, correctly aligned labels. Back to work...</description>
    <pubDate>Tue, 08 Mar 2005 20:47:53 GMT</pubDate>
    <dc:creator>James Murray</dc:creator>
    <dc:date>2005-03-08T20:47:53Z</dc:date>
    <item>
      <title>"RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74500#M39166</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Has anyone seen or used these new GDL commands yet?&lt;BR /&gt;
&lt;BR /&gt;
I saw them in the GDL Manual, but could not find any trace of them in the object library.&lt;BR /&gt;
&lt;BR /&gt;
I was hoping to find a little more context or application for them. I would love to think that RICHTEXT could have a use in making Zones appear in sections (if there was a 3D script in Zones.....)&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 06 Dec 2004 20:32:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74500#M39166</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2004-12-06T20:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74501#M39167</link>
      <description>TEXTBLOCK, which must be used with RICHTEXT/RICHTEXT2, and is made very powerful by, but doesn't require, PARAGRAPH, allows you to control the width, character spacing, and width factor of text.&lt;BR /&gt;
&lt;BR /&gt;
This new element provides several of the new attributes of the improved AC9 text element, and the PARAGRAPH command provides the rest, ie, the ability to switch styles in midstream. PARAGRAPH also allows you to concatenate strings greater than 255 characters into one element, maybe it would help with your other string question?&lt;BR /&gt;
&lt;BR /&gt;
RICHTEXT/2 places the text. TEXTBLOCK defines the text "shape" (position, spacing, angle, width), and content. The content can be a regular string, like with TEXT2, or it can be a previously defined PARAGRAPH. TEXTBLOCK doesn't place text on its own.&lt;BR /&gt;
&lt;BR /&gt;
The PARAGRAPH can contain an arbitrary number of strings, switching pens and styles willy-nilly along the way.&lt;BR /&gt;
&lt;BR /&gt;
It seems to me like a lot of commands to deploy the new attributes, but what do I know. The width control is most welcome.&lt;BR /&gt;
&lt;BR /&gt;
Here's some script:
&lt;PRE&gt;! 2D SCRIPT

txtsz=txtpt/2.8346 !Points to mm
DEFINE STYLE 'sty1' 'Arial',txtsz,5,0
DEFINE STYLE 'sty2' 'Times',txtsz*0.8,5,2
DEFINE STYLE 'sty3' 'Times',txtsz*1.1,5,3


PARAGRAPH "par1" 1, 0, 0, 0, 1.0, 1.0
	PEN 52
	SET STYLE "sty1"
	"At last, passage paid, and luggage safe, we stood on board the schooner. " "Hoisting sail, it glided down the Acushnet river. " 
	PEN 42
	SET STYLE "sty2"
	"On one side, New Bedford rose in terraces of streets, their ice- covered trees all glittering in the clear, cold air. " 
	PEN 32
	"Huge hills and mountains of casks on casks were piled upon her wharves, " 
	"and side by side the world-wandering whale ships lay silent and safely moored at last; "
	"while from others came a sound of carpenters and coopers, " 
	"with blended noises of fires and forges to melt the pitch, "
	"all betokening that new cruises were on the start; "
	"that one most perilous and long voyage ended, only begins a second; "
	"and a second ended, only begins a third, and so on, for ever and for aye. " 
	SET STYLE "sty3"
	"Such is the endlessness, yea, the intolerableness of all earthly effort."
ENDPARAGRAPH

TEXTBLOCK "block1" 100, 1, 0, 1.0, 1.0, 1, "par1"

RICHTEXT2 0,0, "block1"
&lt;/PRE&gt;

Mind the quote marks.&lt;BR /&gt;
&lt;BR /&gt;
The 2D view is attached.&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/16739i63C5159D2BA906D0/image-size/large?v=v2&amp;amp;px=999" border="0" alt="paragraph.jpg" title="paragraph.jpg" /&gt;</description>
      <pubDate>Tue, 07 Dec 2004 01:03:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74501#M39167</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2004-12-07T01:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74502#M39168</link>
      <description>A couple of bugs in the new text commands:&lt;BR /&gt;
&lt;BR /&gt;
In TEXTBLOCK, if a string or a string variable is used for the content argument, the resulting RICHTEXT element is doubled in height, making it hard to manage its placement. If a PARAGRAPH is used, the height is correct.&lt;BR /&gt;
&lt;BR /&gt;
PARAGRAPH doesn't fully accept string variables, only actual strings. If a variable is used, the content displays correctly, but the style and pen are not applied.&lt;BR /&gt;
&lt;BR /&gt;
So, trying to build a RICHTEXT from a string variable:&lt;BR /&gt;
&lt;BR /&gt;
TEXTBLOCK doesn't work because using the variable messes up the height.&lt;BR /&gt;
&lt;BR /&gt;
PARAGRAPH -&amp;gt; TEXTBLOCK doesn't work because using the variable messes up the style.&lt;BR /&gt;
&lt;BR /&gt;
If I code around the height problem and then GS fixes it, it will fry all the placed instances unless I update my code simultaneously. Um, no.&lt;BR /&gt;
&lt;BR /&gt;
With these issues, the commands appear useless for anything other than modeling pages of books. Unless I'm missing something.&lt;BR /&gt;
&lt;BR /&gt;
Rather than post a bunch of code bits and screenshots, here's an object that shows the problems.</description>
      <pubDate>Fri, 17 Dec 2004 12:06:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74502#M39168</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2004-12-17T12:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74503#M39169</link>
      <description>Work around... see below.&lt;BR /&gt;
Allows variable text in paragraph definition.&lt;BR /&gt;
&lt;BR /&gt;
	PARAGRAPH "AAAAAA" 2, 1, 1, 1, 1&lt;BR /&gt;
			SET STYLE{2} "znamestyle"&lt;BR /&gt;
			PEN ZONAPEN&lt;BR /&gt;
&lt;BR /&gt;
			"" + ROOM_NAME&lt;BR /&gt;
	ENDPARAGRAPH&lt;BR /&gt;
&lt;BR /&gt;
	TEXTBLOCK "BBBBBB123" tbWidth, 8, 0, 1, 1, 1, &lt;BR /&gt;
		"AAAAAA"&lt;BR /&gt;
&lt;BR /&gt;
	RICHTEXT2 0", 0", "BBBBBB123"</description>
      <pubDate>Fri, 25 Feb 2005 17:55:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74503#M39169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-02-25T17:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74504#M39170</link>
      <description>STYLE{2} is the key. Thanks for the clue. I wouldn't call it a workaround; it's just what you have to do!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_wink.gif" style="display : inline;" /&gt; The manual says its 'recommended' for use with PARAGRAPH. I would amend that to 'required'. And you can't use the same style def for plain TEXT2s, because of the anchor argument. It seems we will need redundant style definitions in some cases. I won't complain, if I can get PARAGRAPH to give me complex, plain language, multiline, correctly aligned labels. Back to work...</description>
      <pubDate>Tue, 08 Mar 2005 20:47:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74504#M39170</guid>
      <dc:creator>James Murray</dc:creator>
      <dc:date>2005-03-08T20:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74505#M39171</link>
      <description>You can check the new syntax too if you drag and drop a peace of text with different styles and colors into the 2d-script of a new object.</description>
      <pubDate>Thu, 10 Mar 2005 16:38:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74505#M39171</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2005-03-10T16:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74506#M39172</link>
      <description>Can anyone help me with the following?&lt;BR /&gt;

&lt;BLOCKQUOTE&gt;MUL2 A_,A_&lt;BR /&gt;
&lt;BR /&gt;
PEN 18&lt;BR /&gt;
DEFINE STYLE TEXT_1 gs_text_font,2.38,3,1&lt;BR /&gt;
&lt;BR /&gt;
SET STYLE TEXT_1&lt;BR /&gt;
TEXT2 0,0,"01100 - "&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE TEXT_2 gs_text_font,2.38,1,0&lt;BR /&gt;
&lt;BR /&gt;
SET STYLE TEXT_2&lt;BR /&gt;
TEXT2 0,0,note&lt;BR /&gt;
&lt;BR /&gt;
IF add_desc THEN&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE{2} TEXT_3 gs_text_font,2.38,0&lt;BR /&gt;
PARAGRAPH "PARA" 1,0,0,0,1&lt;BR /&gt;
SET STYLE{2} TEXT_3&lt;BR /&gt;
desc_1&lt;BR /&gt;
ENDPARAGRAPH&lt;BR /&gt;
&lt;BR /&gt;
TEXTBLOCK "block1" 40,1,0,.8,1,1,"PARA"&lt;BR /&gt;
RICHTEXT2 0,-0.004,"block1"&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
END&lt;/BLOCKQUOTE&gt;

I'm trying to create a CSI note that will allow a custom multi-line descriptor below the standard text (in this case, desc_1="Additional Descriptor(s) Here").  I can't seem to control the height of the descriptor text -- what am I doing wrong?&lt;BR /&gt;
&lt;BR /&gt;
Any help would be very much appreciated -- LJY</description>
      <pubDate>Wed, 17 Aug 2005 18:23:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74506#M39172</guid>
      <dc:creator>Laura Yanoviak</dc:creator>
      <dc:date>2005-08-17T18:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74507#M39173</link>
      <description>&lt;BLOCKQUOTE&gt;Laura wrote:&lt;BR /&gt; I can't seem to control the height of the descriptor text -- what am I doing wrong?&lt;/BLOCKQUOTE&gt;

Hallo Laura,&lt;BR /&gt;
nothing wrong in your script. Just as James already has described above, due to bug Styles for variables don't work in PARAGRAPH -&amp;gt; TEXTBLOCK.&lt;BR /&gt;
I have tested that not only for strings in GDL Scripting dilaog, but also for imported from external file strings. The last also don't help in this case. So you have to use other GDL commands!&lt;BR /&gt;
&lt;BR /&gt;
P.S.: What a nice slavic surname?</description>
      <pubDate>Sat, 20 Aug 2005 09:55:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74507#M39173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-20T09:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74508#M39174</link>
      <description>Thanks -- good to know prior to creating the 100 or so objects we'll need for our CSI note library.&lt;BR /&gt;
&lt;BR /&gt;
Yes -- my grandparents came to this country from Slovakia...</description>
      <pubDate>Sat, 20 Aug 2005 16:45:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74508#M39174</guid>
      <dc:creator>Laura Yanoviak</dc:creator>
      <dc:date>2005-08-20T16:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74509#M39175</link>
      <description>@Laura if she is listening or someone else:&lt;BR /&gt;
&lt;BR /&gt;
Where is &lt;B&gt;SET STYLE{2}&lt;/B&gt; from? It is not described in the manual. After the syntax rules it means, that it's a second version of  &lt;B&gt;SET STYLE&lt;/B&gt;, but it's not described in the manual. What's the difference? Should it be used in RICHTEXT/PARAGRAPH-Context?</description>
      <pubDate>Tue, 20 Dec 2005 08:32:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74509#M39175</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-12-20T08:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74510#M39176</link>
      <description>&lt;BLOCKQUOTE&gt;F. wrote:&lt;BR /&gt;
Where is &lt;B&gt;SET STYLE{2}&lt;/B&gt; from? It is not described in the manual. After the syntax rules it means, that it's a second version of  &lt;B&gt;SET STYLE&lt;/B&gt;, but it's not described in the manual. What's the difference? Should it be used in RICHTEXT/PARAGRAPH-Context?&lt;/BLOCKQUOTE&gt;

Hallo Frank,&lt;BR /&gt;
&lt;BR /&gt;
look at the attached screenshot! Read all Red marked topics!&lt;BR /&gt;
GS has written, but not well described &amp;amp; not easy organized that part of manuel.&lt;BR /&gt;
Same problem if at the first time you try to understand different "3D Basic Shapes" (prisms, walls, etc.).&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/7149iDC1E8DD302F689F4/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Set style2.jpg" title="Set style2.jpg" /&gt;</description>
      <pubDate>Tue, 20 Dec 2005 10:13:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74510#M39176</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-12-20T10:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74511#M39177</link>
      <description>Hello Zohrab,&lt;BR /&gt;
&lt;BR /&gt;
thanks for your reply. But this I have not asked for. The commands you have linked to are well known, but if you read exactly the posting of Laura above you will mention, that she uses &lt;B&gt;SET STYLE{2}&lt;/B&gt;, not &lt;B&gt;SET STYLE&lt;/B&gt;. This command is as far as I can see not described in the printed, online or PDF manual, but it's obvisiously allowed.&lt;BR /&gt;
&lt;BR /&gt;
Frank</description>
      <pubDate>Tue, 20 Dec 2005 11:04:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74511#M39177</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-12-20T11:04:38Z</dc:date>
    </item>
    <item>
      <title>Re: "RICHTEXT" and "TEXTBLOCK"</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74512#M39178</link>
      <description>I've actually been working on a block and I'd like to have some text that gets automatically... sized, I guess. To explain it in other words, I need to have some text that will always be displayed as 2 (or selectable number of) lines deep (i.e.: 2 words on top line &amp;amp; 2 on the bottom). I suppose a dimension string would be an example of this, where the top will always have the dimension and the bottom would have a qualifier (V.I.F., hold, etc). &lt;BR /&gt;
 &lt;BR /&gt;
Can this be done? If so, how? I've tried briefly playing around with the RICHTEXT and PARAGRAPH when I had some time (it's temporarily on hold now), but I couldn't find any setting that would let you limit/dictate the height of a paragraph. Am I missing something?</description>
      <pubDate>Fri, 27 Jan 2006 18:02:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/quot-RICHTEXT-quot-and-quot-TEXTBLOCK-quot/m-p/74512#M39178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-01-27T18:02:57Z</dc:date>
    </item>
  </channel>
</rss>

