<?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 help with code in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-code/m-p/6942#M42017</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;THis worked at one time and then i thought I fixed something but broke something else in the meantime. I know I should of made a copy. Here's the code:&lt;BR /&gt;
&lt;BR /&gt;
200:!Only lines **Phone with height of symbol  &lt;BR /&gt;
&lt;BR /&gt;
!IF SYMB_POS_Z=18" THEN GOSUB 300&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE STYLE_1 "Arial", 2.3,7,0&lt;BR /&gt;
&lt;BR /&gt;
STYLE STYLE_1&lt;BR /&gt;
PEN 3&lt;BR /&gt;
&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, d_y,unID, d_x,1+128 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 -1, d_y,unID, d_x,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 d_x,d_y,unID, d_x,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 d_x, 0,unID, d_y,1+128 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 d_x, -1,unID, d_y,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 d_x,d_y,unID, d_y,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
ADD2 d_x, d_y&lt;BR /&gt;
TEXT2 0, 0, STR("%fi", GLOB_ELEVATION)!!ZZYZX)&lt;BR /&gt;
DEL 2&lt;BR /&gt;
&lt;BR /&gt;
!!!!!THis is moveable text hotspot and text for more_text&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE STYLE_4 "Arial", 2.3,7,0&lt;BR /&gt;
STYLE STYLE_4&lt;BR /&gt;
PEN 3&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",(more_text)!!the 0",0" is text hotspot placement&lt;BR /&gt;
DEL 2&lt;BR /&gt;
&lt;BR /&gt;
PEN          3&lt;BR /&gt;
LINE2    34'-7.5542", -2'-11.9005", 34'-7.5542", -3'-10.6997"&lt;BR /&gt;
LINE2    34'-7.5542", -2'-11.9005", 33'-8.7511", -3'-5.2981"&lt;BR /&gt;
LINE2    33'-8.7511", -3'-5.2981", 34'-7.5542", -3'-10.6997"&lt;BR /&gt;
LINE2    33'-8.7511", -3'-1.6997", 33'-8.7511", -3'-8.9005"&lt;BR /&gt;
&lt;BR /&gt;
RETURN&lt;BR /&gt;
&lt;BR /&gt;
It is giving me text and the symbol but the text is being rotated at some weird angle (not close to where the sybol is)how can I get the text not to rotate the weird angle but the symbol be able to rotate? I want the height of the object to be located near the object.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for any help,&lt;BR /&gt;
Michele&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Feb 2004 17:33:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2004-02-03T17:33:58Z</dc:date>
    <item>
      <title>help with code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-code/m-p/6942#M42017</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;THis worked at one time and then i thought I fixed something but broke something else in the meantime. I know I should of made a copy. Here's the code:&lt;BR /&gt;
&lt;BR /&gt;
200:!Only lines **Phone with height of symbol  &lt;BR /&gt;
&lt;BR /&gt;
!IF SYMB_POS_Z=18" THEN GOSUB 300&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE STYLE_1 "Arial", 2.3,7,0&lt;BR /&gt;
&lt;BR /&gt;
STYLE STYLE_1&lt;BR /&gt;
PEN 3&lt;BR /&gt;
&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, d_y,unID, d_x,1+128 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 -1, d_y,unID, d_x,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 d_x,d_y,unID, d_x,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 d_x, 0,unID, d_y,1+128 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 d_x, -1,unID, d_y,3 : unID=unID+1&lt;BR /&gt;
HOTSPOT2 d_x,d_y,unID, d_y,2 : unID=unID+1&lt;BR /&gt;
&lt;BR /&gt;
ADD2 d_x, d_y&lt;BR /&gt;
TEXT2 0, 0, STR("%fi", GLOB_ELEVATION)!!ZZYZX)&lt;BR /&gt;
DEL 2&lt;BR /&gt;
&lt;BR /&gt;
!!!!!THis is moveable text hotspot and text for more_text&lt;BR /&gt;
&lt;BR /&gt;
DEFINE STYLE STYLE_4 "Arial", 2.3,7,0&lt;BR /&gt;
STYLE STYLE_4&lt;BR /&gt;
PEN 3&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",(more_text)!!the 0",0" is text hotspot placement&lt;BR /&gt;
DEL 2&lt;BR /&gt;
&lt;BR /&gt;
PEN          3&lt;BR /&gt;
LINE2    34'-7.5542", -2'-11.9005", 34'-7.5542", -3'-10.6997"&lt;BR /&gt;
LINE2    34'-7.5542", -2'-11.9005", 33'-8.7511", -3'-5.2981"&lt;BR /&gt;
LINE2    33'-8.7511", -3'-5.2981", 34'-7.5542", -3'-10.6997"&lt;BR /&gt;
LINE2    33'-8.7511", -3'-1.6997", 33'-8.7511", -3'-8.9005"&lt;BR /&gt;
&lt;BR /&gt;
RETURN&lt;BR /&gt;
&lt;BR /&gt;
It is giving me text and the symbol but the text is being rotated at some weird angle (not close to where the sybol is)how can I get the text not to rotate the weird angle but the symbol be able to rotate? I want the height of the object to be located near the object.&lt;BR /&gt;
&lt;BR /&gt;
Thanks for any help,&lt;BR /&gt;
Michele&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Feb 2004 17:33:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-code/m-p/6942#M42017</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-02-03T17:33:58Z</dc:date>
    </item>
    <item>
      <title>Re: help with code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-code/m-p/6943#M42018</link>
      <description>At first glance...&lt;BR /&gt;
&lt;BR /&gt;
Your "Symbol" is defined statically as your "Text" is defined dynamically using the dynamic Hotspots.&lt;BR /&gt;
&lt;BR /&gt;
If you want the two to work as one entity you'll need to modify the "Symbol" geometry to be dynamic also - With reference to the dynamic Hotspot start location (0,0).</description>
      <pubDate>Tue, 03 Feb 2004 17:54:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-code/m-p/6943#M42018</guid>
      <dc:creator>David Larrew</dc:creator>
      <dc:date>2004-02-03T17:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: help with code</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/help-with-code/m-p/6944#M42019</link>
      <description>Thanks David. I redefined the symbol with it starting at 0,0.&lt;BR /&gt;
&lt;BR /&gt;
I'm glad you guys are listening and take the time to write back.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again,&lt;BR /&gt;
Michele</description>
      <pubDate>Tue, 03 Feb 2004 18:17:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/help-with-code/m-p/6944#M42019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2004-02-03T18:17:55Z</dc:date>
    </item>
  </channel>
</rss>

