<?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: 2d object labeling in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27858#M34829</link>
    <description>&lt;BLOCKQUOTE&gt;4thorns wrote:&lt;BR /&gt;Looking thru the help files I found out that ffi is feet &amp;amp; fractional inches. Unfortunately it wouldnt list the fractions on the first try so I'll have to work on that one.&lt;/BLOCKQUOTE&gt;

The fractions depend on what accuracy you want. For 1/2" rounding try "%0.2ffi", and for 1/4" rounding try "%0.4ffi". Hope I'm getting this right. As for posting questions and being a beginner, take a number and join the line... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
    <pubDate>Fri, 17 Feb 2006 00:38:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2006-02-17T00:38:15Z</dc:date>
    <item>
      <title>2d object labeling</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27855#M34826</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;In this case nb=a(length)&lt;BR /&gt;
&lt;BR /&gt;
If labl then &lt;BR /&gt;
DEFINE STYLE "mytext" "ariel", x_B, 1, 0 &lt;BR /&gt;
set style "mytext" &lt;BR /&gt;
Text2 2", lw+1/2", x_A &lt;BR /&gt;
endif &lt;BR /&gt;
&lt;BR /&gt;
If labl2 then &lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE "mytext1" "ariel", x_B, 1, 0 &lt;BR /&gt;
set style "mytext1" &lt;BR /&gt;
TEXT2 a-1'-2", lw+1/2", STR ("%ffi",nb) &lt;BR /&gt;
&lt;BR /&gt;
If labl3 then &lt;BR /&gt;
DEFINE STYLE "mytext2" "ariel", x_B, 1, 0 &lt;BR /&gt;
set style "mytext2" &lt;BR /&gt;
TEXT2 a/2, lw+1/2", ............................................................ &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to get this 3rd label to read &lt;BR /&gt;
&lt;BR /&gt;
6x8x(Beam length) Beam over &lt;BR /&gt;
&lt;BR /&gt;
I can't seem to combine the text with the length without "missing &lt;BR /&gt;
parenthesis" errors.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Feb 2006 23:52:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27855#M34826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-14T23:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: 2d object labeling</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27856#M34827</link>
      <description>&lt;BLOCKQUOTE&gt;4thorns wrote:&lt;BR /&gt;If labl3 then &lt;BR /&gt;
DEFINE STYLE "mytext2" "ariel", x_B, 1, 0 &lt;BR /&gt;
set style "mytext2" &lt;BR /&gt;
TEXT2 a/2, lw+1/2", ............................................................ &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
I'm trying to get this 3rd label to read &lt;BR /&gt;
&lt;BR /&gt;
6x8x(Beam length) Beam over &lt;BR /&gt;
&lt;BR /&gt;
I can't seem to combine the text with the length without "missing &lt;BR /&gt;
parenthesis" errors.&lt;/BLOCKQUOTE&gt;

Try something like this:
&lt;PRE&gt;&lt;I&gt;
&lt;/I&gt;var1 = "6x8x"
var2 = "Beam over"
TEXT2 x, y, var1 + BEAM_LENGTH + var2
&lt;/PRE&gt;
where "BEAM_LENGTH" is the Beam length variable.&lt;BR /&gt;
&lt;BR /&gt;
The following may also work (haven't needed to use it yet).
&lt;PRE&gt;TEXT2 x, y, "6x8x" + BEAM_LENGTH + "Beam over"&lt;/PRE&gt;
Disclaimer: I am no GDL guru, but I've played around with it at times and there's probably cleaner codes out there. However,  since nobody else replied... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Thu, 16 Feb 2006 17:32:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27856#M34827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-16T17:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: 2d object labeling</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27857#M34828</link>
      <description>Sergio, &lt;BR /&gt;
 &lt;BR /&gt;
     The + sign was a &lt;B&gt;HUGE&lt;/B&gt; plus!!!! I tried your suggestions and wound up tweaking one of them to get it to work. I grabbed the str("%ffi,nb) from one of the other labels above and put it between the + signs and "Bingo". Looking thru the help files I found out that ffi is feet &amp;amp; fractional inches. Unfortunately it wouldnt list the fractions on the first try so I'll have to work on that one. I'm pretty new to this so chances are I'll be posting more questions. I greatly appreciate your help. Thanks &lt;BR /&gt;
&lt;BR /&gt;
If labl3 then &lt;BR /&gt;
DEFINE STYLE "mytext2" "ariel", x_B, 1, 0 &lt;BR /&gt;
set style "mytext2" &lt;BR /&gt;
TEXT2 a/2, lw+1/2", "6x8x"+STR ("%ffi",nb) +"Beam Over"</description>
      <pubDate>Fri, 17 Feb 2006 00:32:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27857#M34828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-17T00:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: 2d object labeling</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27858#M34829</link>
      <description>&lt;BLOCKQUOTE&gt;4thorns wrote:&lt;BR /&gt;Looking thru the help files I found out that ffi is feet &amp;amp; fractional inches. Unfortunately it wouldnt list the fractions on the first try so I'll have to work on that one.&lt;/BLOCKQUOTE&gt;

The fractions depend on what accuracy you want. For 1/2" rounding try "%0.2ffi", and for 1/4" rounding try "%0.4ffi". Hope I'm getting this right. As for posting questions and being a beginner, take a number and join the line... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Fri, 17 Feb 2006 00:38:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27858#M34829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-17T00:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: 2d object labeling</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27859#M34830</link>
      <description>You're 2 for 2 Sergio!! Heres another. This is the first part of The Rafter 2_1 Property script. I'm trying to get the slope length of a rafter to show up in Interactive Schedule. I added the parameter lor..Length Of Rafter and made the type Length. I assume that L below is the sloped length. So far its not a happening thing. Any thoughts? And by the way, Thanks again.&lt;BR /&gt;
&lt;BR /&gt;
S=ABS(G-90)&lt;BR /&gt;
&lt;BR /&gt;
IF F=0 THEN &lt;BR /&gt;
    L=(A+O-(T/2)/COS(S))/COS(P)+H*TAN(P)+TAN(S)*(B/2) &lt;BR /&gt;
ELSE &lt;BR /&gt;
    L=(A+O-(T/2)/COS(S))/COS(P)+H*TAN(P)+TAN(S)*(B/2)-(B/2)*TAN(P) &lt;BR /&gt;
  &lt;BR /&gt;
Length_Of_Rafter=l&lt;BR /&gt;
lor = Length_Of_Rafter&lt;BR /&gt;
&lt;BR /&gt;
Endif&lt;BR /&gt;
!&lt;BR /&gt;
IF R="Perpendicular" THEN L=L-H*TAN(P) &lt;BR /&gt;
!&lt;BR /&gt;
!COMPONENT "LENGTH", L, "m"&lt;BR /&gt;
!COMPONENT "CROSS-SECTION WIDTH", B, "m"&lt;BR /&gt;
!COMPONENT "CROSS-SECTION HEIGHT", H, "m"</description>
      <pubDate>Fri, 17 Feb 2006 16:16:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2d-object-labeling/m-p/27859#M34830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-02-17T16:16:43Z</dc:date>
    </item>
  </channel>
</rss>

