<?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: Wrapping Text For Faux Label in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Wrapping-Text-For-Faux-Label/m-p/48186#M34337</link>
    <description>You have to define PARAGRAPHs, whch are different styled snippets of text. This PARAGRAPHs you merge by their name to TEXTBLOCKs. This you can place with the RICHTEXT2 command.&lt;BR /&gt;
Yes, line wrapping, spacing, tabulators, left/right margin etc. is possible. But it is much more complex than TEXT2. No fast answer from me. Try it an post the code, if you run in troubles.&lt;BR /&gt;
Do you know, how you get the information from the main object?</description>
    <pubDate>Thu, 23 Mar 2006 23:34:45 GMT</pubDate>
    <dc:creator>Frank Beister</dc:creator>
    <dc:date>2006-03-23T23:34:45Z</dc:date>
    <item>
      <title>Wrapping Text For Faux Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wrapping-Text-For-Faux-Label/m-p/48184#M34335</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I would like to create a GDL that looks like the standard text label, but gets is text from the object it's attached to.  The picture below demonstrates what I want.  The 4"x4"... text will exist in the Column's parameters.&lt;BR /&gt;
&lt;BR /&gt;
I've seen how this can be done with the Label tool and a single line of text, or a typical marker shape, but I want it to look and act like the standard (text) Label tool -- which means the ability to wrap, and the user can change the wrap width.  I'm not familiar with the Rich Text functions, so can somebody please point me in the right direction?&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/71965i5A9D7A49F5DA2AE8/image-size/large?v=v2&amp;amp;px=999" border="0" alt="LabelSample.gif" title="LabelSample.gif" /&gt;</description>
      <pubDate>Thu, 23 Mar 2006 17:41:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wrapping-Text-For-Faux-Label/m-p/48184#M34335</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-23T17:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Wrapping Text For Faux Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wrapping-Text-For-Faux-Label/m-p/48185#M34336</link>
      <description>&lt;BLOCKQUOTE&gt;Jay wrote:&lt;BR /&gt;I would like to create a GDL that looks like the standard text label, but gets is text from the object it's attached to.  The picture below demonstrates what I want.  The 4"x4"... text will exist in the Column's parameters.&lt;BR /&gt;
&lt;BR /&gt;
I've seen how this can be done with the Label tool and a single line of text, or a typical marker shape, but I want it to look and act like the standard (text) Label tool -- which means the ability to wrap, and the user can change the wrap width.  I'm not familiar with the Rich Text functions, so can somebody please point me in the right direction?&lt;/BLOCKQUOTE&gt;

I think what you would need is a variable that holds the entire string and a stretchable hotspot that controls the width of the note.&lt;BR /&gt;
&lt;BR /&gt;
You would then need to calculate how many words fit in the width at the current scale, and place them one line at a time.&lt;BR /&gt;
&lt;BR /&gt;
You can do all of this with the basic TEXT2 function. I do not believe the new RICHTEXT function can do any kind of linewrapping, but I could be wrong.</description>
      <pubDate>Thu, 23 Mar 2006 18:22:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wrapping-Text-For-Faux-Label/m-p/48185#M34336</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-03-23T18:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Wrapping Text For Faux Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wrapping-Text-For-Faux-Label/m-p/48186#M34337</link>
      <description>You have to define PARAGRAPHs, whch are different styled snippets of text. This PARAGRAPHs you merge by their name to TEXTBLOCKs. This you can place with the RICHTEXT2 command.&lt;BR /&gt;
Yes, line wrapping, spacing, tabulators, left/right margin etc. is possible. But it is much more complex than TEXT2. No fast answer from me. Try it an post the code, if you run in troubles.&lt;BR /&gt;
Do you know, how you get the information from the main object?</description>
      <pubDate>Thu, 23 Mar 2006 23:34:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wrapping-Text-For-Faux-Label/m-p/48186#M34337</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2006-03-23T23:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wrapping Text For Faux Label</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Wrapping-Text-For-Faux-Label/m-p/48187#M34338</link>
      <description>To get the information from the main object, in the Label code you must have a REQUEST call like the following...&lt;BR /&gt;

&lt;PRE&gt;iReturn = REQUEST("ASSOCLP_PARVALUE", "Material_DCA", NameInd, iType, iFlag, iDim1, iDim2, sNote)&lt;/PRE&gt;

...where "Material_DCA" is the parameter whose value I want.  sNote will contain the value.</description>
      <pubDate>Fri, 24 Mar 2006 00:44:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Wrapping-Text-For-Faux-Label/m-p/48187#M34338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-03-24T00:44:26Z</dc:date>
    </item>
  </channel>
</rss>

