<?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 2D Hotspot editing, please help in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/2D-Hotspot-editing-please-help/m-p/102060#M35417</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Howdy,&lt;BR /&gt;
I just made a little 2D “ALIGN” object as pictured below. Pretty simple really. I added hotspots for graphic editing and they work fine in my first edition of the object. Then I attempted to revise the object to respond to scale by adding a MUL2 A_, A_ statement at the top. Everything works fine except the hotspots which are now whacko. The object works just as before in 1:1 scale but at any other scale the hotspots at the arrow heads cannot be stretched, the hotspots at the corners send the leader lines shooting off into space. Any help is greatly appreciated.&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/72566iF7D23C828EC4E5A3/image-size/large?v=v2&amp;amp;px=999" border="0" alt="ALIGN Marker.png" title="ALIGN Marker.png" /&gt;</description>
    <pubDate>Wed, 28 Dec 2005 19:29:17 GMT</pubDate>
    <dc:creator>SeaGeoff</dc:creator>
    <dc:date>2005-12-28T19:29:17Z</dc:date>
    <item>
      <title>2D Hotspot editing, please help</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2D-Hotspot-editing-please-help/m-p/102060#M35417</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Howdy,&lt;BR /&gt;
I just made a little 2D “ALIGN” object as pictured below. Pretty simple really. I added hotspots for graphic editing and they work fine in my first edition of the object. Then I attempted to revise the object to respond to scale by adding a MUL2 A_, A_ statement at the top. Everything works fine except the hotspots which are now whacko. The object works just as before in 1:1 scale but at any other scale the hotspots at the arrow heads cannot be stretched, the hotspots at the corners send the leader lines shooting off into space. Any help is greatly appreciated.&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/72566iF7D23C828EC4E5A3/image-size/large?v=v2&amp;amp;px=999" border="0" alt="ALIGN Marker.png" title="ALIGN Marker.png" /&gt;</description>
      <pubDate>Wed, 28 Dec 2005 19:29:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2D-Hotspot-editing-please-help/m-p/102060#M35417</guid>
      <dc:creator>SeaGeoff</dc:creator>
      <dc:date>2005-12-28T19:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: 2D Hotspot editing, please help</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2D-Hotspot-editing-please-help/m-p/102061#M35418</link>
      <description>Here’s the code and the zipped .gsm:&lt;BR /&gt;
&lt;BR /&gt;
&lt;FONT color="blue"&gt;&lt;BR /&gt;
!©2005 Geoff Briggs, I &amp;amp; I Design&lt;BR /&gt;
&lt;BR /&gt;
FontSize = (FontSize*0.353)&lt;BR /&gt;
DEFINE STYLE "aa" Font,FontSize, 8, 0&lt;BR /&gt;
SET STYLE aa&lt;BR /&gt;
&lt;BR /&gt;
MUL2 A_,A_&lt;BR /&gt;
&lt;BR /&gt;
L3=B*TAN(Angle-90) !horiz offset from main line to arrow&lt;BR /&gt;
L1=A-2*L3 !length of main line&lt;BR /&gt;
L2=B/COS(Angle-90) !length of leader lines&lt;BR /&gt;
ArX=ArSz*.028" ! scale independent arrow points&lt;BR /&gt;
ArY=ArSz*.008"&lt;BR /&gt;
&lt;BR /&gt;
LINE2 -L1/2,B,L1/2,B&lt;BR /&gt;
HOTLINE2 -L1/2,B,L1/2,B&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ADD2 L1/2,B&lt;BR /&gt;
ROT2 Angle-180&lt;BR /&gt;
&lt;BR /&gt;
LINE2 0,0,L2-ArX,0&lt;BR /&gt;
HOTLINE2 0,0,L2,0&lt;BR /&gt;
&lt;BR /&gt;
ADD2 L2,0&lt;BR /&gt;
&lt;BR /&gt;
FILL markerfill&lt;BR /&gt;
POLY2 3,6,&lt;BR /&gt;
	0,0,&lt;BR /&gt;
	-ArX,-ArY,&lt;BR /&gt;
	-ArX,ArY&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DEL 3&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ADD2 -L1/2,B&lt;BR /&gt;
ROT2 -(Angle)&lt;BR /&gt;
&lt;BR /&gt;
LINE2 0,0,L2-ArX,0&lt;BR /&gt;
HOTLINE2 0,0,L2,0&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ADD2 L2,0&lt;BR /&gt;
FILL markerfill&lt;BR /&gt;
POLY2 3,6,&lt;BR /&gt;
	0,0,&lt;BR /&gt;
	-ArX,-ArY,&lt;BR /&gt;
	-ArX,ArY&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
DEL 3&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 A/2,0&lt;BR /&gt;
HOTSPOT2 -A/2,0&lt;BR /&gt;
!HOTSPOT2 0,B&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 L1/2,0,14,B,129&lt;BR /&gt;
HOTSPOT2 L1/2,-.1",15,B,3&lt;BR /&gt;
HOTSPOT2 L1/2,B,16,B,2&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 -L1/2,0,17,B,129&lt;BR /&gt;
HOTSPOT2 -L1/2,-.1",18,B,3&lt;BR /&gt;
HOTSPOT2 -L1/2,B,19,B,2&lt;BR /&gt;
&lt;BR /&gt;
HS=B+.02"*A_ ! hotspot offset above main line&lt;BR /&gt;
HOTSPOT2 0,HS,20,TxtPos,129&lt;BR /&gt;
HOTSPOT2 -L1/2,HS,21,TxtPos,3&lt;BR /&gt;
HOTSPOT2 TxtPos,HS,22,TxtPos,2&lt;BR /&gt;
&lt;BR /&gt;
TEXT2 TxtPos,B+TxtOff,Txt&lt;BR /&gt;
&lt;BR /&gt;
DEL TOP&lt;BR /&gt;
&lt;/FONT&gt;</description>
      <pubDate>Wed, 28 Dec 2005 19:34:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2D-Hotspot-editing-please-help/m-p/102061#M35418</guid>
      <dc:creator>SeaGeoff</dc:creator>
      <dc:date>2005-12-28T19:34:31Z</dc:date>
    </item>
    <item>
      <title>Re: 2D Hotspot editing, please help</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/2D-Hotspot-editing-please-help/m-p/102062#M35419</link>
      <description>I can not proof it now, but I think you shouldn't make the "B" parameter movebale. Because this is a special one and is made strechy automatically. The text position parameter should work in your object. Try to substitute the B by a new parameter.</description>
      <pubDate>Thu, 29 Dec 2005 00:49:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/2D-Hotspot-editing-please-help/m-p/102062#M35419</guid>
      <dc:creator>Frank Beister</dc:creator>
      <dc:date>2005-12-29T00:49:15Z</dc:date>
    </item>
  </channel>
</rss>

