<?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: help with text code in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37202#M33270</link>
    <description>Is text STYLE_12 defined? Maybe it's too small?&lt;BR /&gt;
&lt;BR /&gt;
Also, try replacing the variable with a literal, like "My Text" (with quotes) to see if it's the variable or if it's the text settings.</description>
    <pubDate>Thu, 20 Jul 2006 19:47:14 GMT</pubDate>
    <dc:creator>TomWaltz</dc:creator>
    <dc:date>2006-07-20T19:47:14Z</dc:date>
    <item>
      <title>help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37199#M33267</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Here is code in an object and I can't get the text to show  up. I copied the code from another object where the text works just fine. I added dd_x and dd_y to the parameters. Can anyone tell from the my code what I did wrong?? Thanks in advance,&lt;BR /&gt;
&lt;BR /&gt;
Michele&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
1100: !square&lt;BR /&gt;
PEN gs_cont_pen&lt;BR /&gt;
RECT2 0,0,a_size,b_size&lt;BR /&gt;
PEN 91&lt;BR /&gt;
DEFINE STYLE STYLE_12 "Arial", 35 * MIN (a, b), 7, 2&lt;BR /&gt;
&lt;BR /&gt;
!!!!!THis is moveable text hotspot and text for more_text&lt;BR /&gt;
&lt;BR /&gt;
STYLE STYLE_12&lt;BR /&gt;
PEN cpen&lt;BR /&gt;
rot2 -symb_rotangle!!This rotate text to follow object&lt;BR /&gt;
unID = 1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 0, dd_y,unID, dd_x,1+128 : unID=unID+1!!!THis is moveable hotspot placement&lt;BR /&gt;
HOTSPOT2 -1, dd_y,unID, dd_x,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 dd_x,dd_y,unID, dd_x,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 dd_x, 0,unID, dd_y,1+128 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 dd_x, -1,unID, dd_y,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 dd_x,dd_y,unID, dd_y,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
ADD2 dd_x, dd_y&lt;BR /&gt;
TEXT2 0", 0",(descrip_equip)!!the 0",0" is text hotspot placement&lt;BR /&gt;
DEL 2&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
PEN        pen_clear&lt;BR /&gt;
SET LINE_TYPE "TRI Demolition"&lt;BR /&gt;
SET FILL "Air Space" !1' is a_size 2' is b_size&lt;BR /&gt;
POLY2_B{2}       5,      3,      0,      0, &lt;BR /&gt;
        0'-0.0000", 0'-0.0000", 0'-0.0000", &lt;BR /&gt;
        0'-0.0000"-left, 0'-0.0000"-bottom_,      1, &lt;BR /&gt;
        a_size + right, 0'-0.0000"-bottom_,      1, &lt;BR /&gt;
       a_size+right, b_size+top_,      1, &lt;BR /&gt;
        0'-0.0000"-left, b_size+top_,      1, &lt;BR /&gt;
        0'-0.0000"-left, 0'-0.0000"-bottom_,      1&lt;BR /&gt;
RETURN&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 20 Jul 2006 19:18:59 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37199#M33267</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-20T19:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37200#M33268</link>
      <description>Do you define "descrip_equip" somewhere, like in the Parameter List? That's what TEXT2 is trying to place and does not have a value.&lt;BR /&gt;
&lt;BR /&gt;
Also, is subroutine 1100 being called from somewhere? Otherwise the code you have here will not run at all.</description>
      <pubDate>Thu, 20 Jul 2006 19:26:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37200#M33268</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-07-20T19:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37201#M33269</link>
      <description>Yes and yes. &lt;BR /&gt;
I even get the green hotspot for the text like I do in my other object but no text. I zoomed extents in an empty file and still no text displayed.&lt;BR /&gt;
&lt;BR /&gt;
So the code looks fine as long as I'm adding parameters and I'm calling the sub routine?&lt;BR /&gt;
&lt;BR /&gt;
Any other ideas??!! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Michele</description>
      <pubDate>Thu, 20 Jul 2006 19:45:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37201#M33269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-20T19:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37202#M33270</link>
      <description>Is text STYLE_12 defined? Maybe it's too small?&lt;BR /&gt;
&lt;BR /&gt;
Also, try replacing the variable with a literal, like "My Text" (with quotes) to see if it's the variable or if it's the text settings.</description>
      <pubDate>Thu, 20 Jul 2006 19:47:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37202#M33270</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-07-20T19:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37203#M33271</link>
      <description>If you look in the code I added to the original post it does define the style. And I tried changing the variable to "my text" with no luck&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Michele</description>
      <pubDate>Thu, 20 Jul 2006 19:53:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37203#M33271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-20T19:53:42Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37204#M33272</link>
      <description>I just neede to fix the size of my text. It worked in the last object but I must of had other code that made it work.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for helping,&lt;BR /&gt;
Michele</description>
      <pubDate>Thu, 20 Jul 2006 20:02:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37204#M33272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-20T20:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37205#M33273</link>
      <description>Another question,&lt;BR /&gt;
&lt;BR /&gt;
I want the text to be underneath the object. I kind of want the text to show up only for my benefit and not be printed. I have it on the 91 color but it looks like it will cover up my object in parts!&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Michele</description>
      <pubDate>Thu, 20 Jul 2006 20:10:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37205#M33273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-20T20:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37206#M33274</link>
      <description>&lt;BLOCKQUOTE&gt;Michele wrote:&lt;BR /&gt;If you look in the code I added to the original post it does define the style. And I tried changing the variable to "my text" with no luck&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Michele&lt;/BLOCKQUOTE&gt;

Oops, sorry!</description>
      <pubDate>Thu, 20 Jul 2006 20:32:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37206#M33274</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-07-20T20:32:37Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37207#M33275</link>
      <description>&lt;BLOCKQUOTE&gt;Michele wrote:&lt;BR /&gt;Another question,&lt;BR /&gt;
&lt;BR /&gt;
I want the text to be underneath the object. I kind of want the text to show up only for my benefit and not be printed. I have it on the 91 color but it looks like it will cover up my object in parts!&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
Michele&lt;/BLOCKQUOTE&gt;

Technically there is no such thing as "non-printing" in Archicad. There is only "prints white so you cannot see it", but sometimes that covers other things &lt;E&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/E&gt;</description>
      <pubDate>Thu, 20 Jul 2006 20:33:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37207#M33275</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2006-07-20T20:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37208#M33276</link>
      <description>Okay, I thought I'd make the text moveable so if it is ON the object then you can move it. What the HECK is wrong with my code. It worked jsut fine in my other project (I know there probably was other code) Does anyone know why it isn't working? I thought I copied over everything that I needed. THe text shows up and I see the moveable hotspot. I even get the box that comes up showing me that the text is moving but in the end the text stays put.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Michele&lt;BR /&gt;
&lt;BR /&gt;
Here's all the code in 2D &lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 0,0&lt;BR /&gt;
HOTSPOT2 a_size,0&lt;BR /&gt;
HOTSPOT2 a_size/2,0 !down&lt;BR /&gt;
HOTSPOT2 a_size,b_size&lt;BR /&gt;
HOTSPOT2 0,b_size&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
!hotspot @ clearances&lt;BR /&gt;
		&lt;BR /&gt;
 HOTSPOT2       0'-0.0000"-left, 0'-0.0000"-bottom_ &lt;BR /&gt;
 HOTSPOT2       a_size + right, 0'-0.0000"-bottom_&lt;BR /&gt;
 HOTSPOT2      a_size+right, b_size+top_ &lt;BR /&gt;
 HOTSPOT2      0'-0.0000"-left, b_size+top_&lt;BR /&gt;
 HOTSPOT2     0'-0.0000"-left, 0'-0.0000"-bottom_&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
PEN gs_cont_pen&lt;BR /&gt;
RECT2 0,0,a_size,b_size&lt;BR /&gt;
PEN 91&lt;BR /&gt;
DEFINE STYLE STYLE_12 "Arial", text_size, 7, 6&lt;BR /&gt;
&lt;BR /&gt;
!!!!!THis is moveable text hotspot and text for descrip_equip&lt;BR /&gt;
STYLE STYLE_12&lt;BR /&gt;
PEN 91&lt;BR /&gt;
rot2 -symb_rotangle!!This rotate text to follow object&lt;BR /&gt;
unID = 1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 0, dd_y,unID, dd_x,1+128 : unID=unID+1!!!THis is moveable hotspot placement&lt;BR /&gt;
HOTSPOT2 -1, dd_y,unID, dd_x,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 dd_x,dd_y,unID, dd_x,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 dd_x, 0,unID, dd_y,1+128 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 dd_x, -1,unID, dd_y,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 dd_x,dd_y,unID, dd_y,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
ADD2 dd_x, dd_y&lt;BR /&gt;
TEXT2 3", 3",(descrip_equip)!!the 0",0" is text hotspot placement&lt;BR /&gt;
DEL 2&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
PEN        pen_clear&lt;BR /&gt;
SET LINE_TYPE "TRI Demolition"&lt;BR /&gt;
SET FILL "Air Space" !1' is a_size 2' is b_size&lt;BR /&gt;
POLY2_B{2}       5,      3,      0,      0, &lt;BR /&gt;
        0'-0.0000", 0'-0.0000", 0'-0.0000", &lt;BR /&gt;
        0'-0.0000"-left, 0'-0.0000"-bottom_,      1, &lt;BR /&gt;
        a_size + right, 0'-0.0000"-bottom_,      1, &lt;BR /&gt;
       a_size+right, b_size+top_,      1, &lt;BR /&gt;
        0'-0.0000"-left, b_size+top_,      1, &lt;BR /&gt;
        0'-0.0000"-left, 0'-0.0000"-bottom_,      1</description>
      <pubDate>Thu, 20 Jul 2006 20:45:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37208#M33276</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-20T20:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37209#M33277</link>
      <description>Are dd_x and dd_y defined in the parameters list?</description>
      <pubDate>Fri, 21 Jul 2006 01:57:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37209#M33277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-21T01:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37210#M33278</link>
      <description>Michele,&lt;BR /&gt;
I just copied your code and created all the necessary parameters and it all worked fine.&lt;BR /&gt;
I'd be guessing it is a problem with your parameters.&lt;BR /&gt;
i.e. something missing or the wrong parameter type?&lt;BR /&gt;
Barry.</description>
      <pubDate>Fri, 21 Jul 2006 02:30:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37210#M33278</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2006-07-21T02:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: help with text code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37211#M33279</link>
      <description>Thanks for saying that you started from scratch and it worked. I tried it from scratch and it worked too. I guess copying and modifying something isn't always better (&amp;amp; faster) than just starting from scratch and re entering parameters that you know you'll need.&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Michele</description>
      <pubDate>Fri, 21 Jul 2006 17:43:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-text-code/m-p/37211#M33279</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-07-21T17:43:45Z</dc:date>
    </item>
  </channel>
</rss>

