<?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 Hotspot Problem, Almost Solved in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-Problem-Almost-Solved/m-p/77510#M32354</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I'm creating a symbol that can have a piece of text positioned anywhere the user wants.  You can rotate the symbol any way you want, but the text will always remain horizontal.  In the code below, everything works great except when you rotate the symbol off of 0 degrees.  The diamond hotspot rotates as it should, but the text won't move.  It's still linked to the position of the diamond, but it won't follow the diamond when it is rotated. &lt;BR /&gt;
 
&lt;PRE&gt;IF TheAngle &amp;lt; 0 THEN TheAngle = TheAngle + 360 
HOTSPOT2 Switch_X,        0, unID, Switch_Y, 1+128 : unID = unID + 1 
HOTSPOT2 Switch_X,        0, unID, Switch_Y,     3 : unID = unID + 1 
HOTSPOT2 Switch_X, Switch_Y, unID, Switch_Y,     2 : unID = unID + 1 
 
HOTSPOT2        0, Switch_Y, unID, Switch_X, 1+128 : unID = unID + 1 
HOTSPOT2        0, Switch_Y, unID, Switch_X,     3 : unID = unID + 1 
HOTSPOT2 Switch_X, Switch_Y, unID, Switch_X,     2 : unID = unID + 1 
 
SET STYLE "AC_STYLE_1" 
ROT2 -SYMB_ROTANGLE 
TEXT2 Switch_X, Switch_Y, "S" 
DEL 1&lt;/PRE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
Any ideas? I've been laboring at this for about three hours, and I'm spent.&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 26 Jan 2007 21:37:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2007-01-26T21:37:28Z</dc:date>
    <item>
      <title>Hotspot Problem, Almost Solved</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-Problem-Almost-Solved/m-p/77510#M32354</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I'm creating a symbol that can have a piece of text positioned anywhere the user wants.  You can rotate the symbol any way you want, but the text will always remain horizontal.  In the code below, everything works great except when you rotate the symbol off of 0 degrees.  The diamond hotspot rotates as it should, but the text won't move.  It's still linked to the position of the diamond, but it won't follow the diamond when it is rotated. &lt;BR /&gt;
 
&lt;PRE&gt;IF TheAngle &amp;lt; 0 THEN TheAngle = TheAngle + 360 
HOTSPOT2 Switch_X,        0, unID, Switch_Y, 1+128 : unID = unID + 1 
HOTSPOT2 Switch_X,        0, unID, Switch_Y,     3 : unID = unID + 1 
HOTSPOT2 Switch_X, Switch_Y, unID, Switch_Y,     2 : unID = unID + 1 
 
HOTSPOT2        0, Switch_Y, unID, Switch_X, 1+128 : unID = unID + 1 
HOTSPOT2        0, Switch_Y, unID, Switch_X,     3 : unID = unID + 1 
HOTSPOT2 Switch_X, Switch_Y, unID, Switch_X,     2 : unID = unID + 1 
 
SET STYLE "AC_STYLE_1" 
ROT2 -SYMB_ROTANGLE 
TEXT2 Switch_X, Switch_Y, "S" 
DEL 1&lt;/PRE&gt; &lt;BR /&gt;
 &lt;BR /&gt;
Any ideas? I've been laboring at this for about three hours, and I'm spent.&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 26 Jan 2007 21:37:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-Problem-Almost-Solved/m-p/77510#M32354</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-26T21:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot Problem, Almost Solved</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-Problem-Almost-Solved/m-p/77511#M32355</link>
      <description>&lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_arrow.gif" style="display : inline;" /&gt; &lt;BR /&gt;
SET STYLE "AC_STYLE_1" &lt;BR /&gt;
&lt;FONT color="#da0000"&gt;ADD2 Switch_X, Switch_Y&lt;/FONT&gt;&lt;BR /&gt;
ROT2 -SYMB_ROTANGLE &lt;BR /&gt;
TEXT2 &lt;FONT color="#da0000"&gt;0, 0,&lt;/FONT&gt; "S" &lt;BR /&gt;
DEL &lt;FONT color="#da0000"&gt;2&lt;/FONT&gt;</description>
      <pubDate>Sat, 27 Jan 2007 00:13:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-Problem-Almost-Solved/m-p/77511#M32355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-27T00:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot Problem, Almost Solved</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-Problem-Almost-Solved/m-p/77512#M32356</link>
      <description>Thank you!  That worked perfect!  I had an ADD2 at one point, but I still had &lt;B&gt;TEXT Switch_X, Switch_Y, "S"&lt;/B&gt;, so it was not working.</description>
      <pubDate>Mon, 29 Jan 2007 15:45:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspot-Problem-Almost-Solved/m-p/77512#M32356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-01-29T15:45:04Z</dc:date>
    </item>
  </channel>
</rss>

