<?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: HOTSPOTS in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/HOTSPOTS/m-p/199656#M25384</link>
    <description>Yes GDL is quite addictive. Hotspots are really cool for adjusting parameter values graphically. For a 2D angle you could use a script like this:&lt;BR /&gt;
&lt;BR /&gt;
!Hotspots to control an angle parameter angleParameter&lt;BR /&gt;
!about a center xC, yC. The hotspot is positioned at radius R.&lt;BR /&gt;
  hotspot2 xC, yC, iHotspot + 1, angleParameter, 6&lt;BR /&gt;
  hotspot2 xC + R*cos(angleParameter), yC + R*sin(angleParameter),&lt;BR /&gt;
  iHotspot + 2, angleParameter, 5&lt;BR /&gt;
  hotspot2 xC + 1, yC, iHotspot + 3, angleParameter, 4&lt;BR /&gt;
  iHotspot = iHotspot + 3&lt;BR /&gt;
&lt;BR /&gt;
You can also move a hotspot in 2 dimensions at once.&lt;BR /&gt;
&lt;BR /&gt;
BTW hotspots are discussed in more detail in the GDL Handbook.</description>
    <pubDate>Fri, 27 Mar 2009 03:41:01 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-03-27T03:41:01Z</dc:date>
    <item>
      <title>HOTSPOTS</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HOTSPOTS/m-p/199654#M25382</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Greetings All &lt;BR /&gt;
 &lt;BR /&gt;
I am new to GDL but enjoy it immensely. &lt;BR /&gt;
 &lt;BR /&gt;
The physical building is coming along well but I struggle with making the HOTSPOT do what I want them to do. Especially the rotate. &lt;BR /&gt;
 &lt;BR /&gt;
Can some one please explain the theory behind them?? How to make them work??&lt;BR /&gt;
 &lt;BR /&gt;
Regards   &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 25 Mar 2009 09:40:11 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HOTSPOTS/m-p/199654#M25382</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-25T09:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: HOTSPOTS</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HOTSPOTS/m-p/199655#M25383</link>
      <description>YellowToes:&lt;BR /&gt;
&lt;BR /&gt;
You will be more likely to get an answer if you post what you are specifically trying to accomplish (images help), whether it is in 2D or 3D, and the code you have tried so far. Also, you should add your ArchiCAD version to your signature.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Wed, 25 Mar 2009 12:15:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HOTSPOTS/m-p/199655#M25383</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2009-03-25T12:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: HOTSPOTS</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/HOTSPOTS/m-p/199656#M25384</link>
      <description>Yes GDL is quite addictive. Hotspots are really cool for adjusting parameter values graphically. For a 2D angle you could use a script like this:&lt;BR /&gt;
&lt;BR /&gt;
!Hotspots to control an angle parameter angleParameter&lt;BR /&gt;
!about a center xC, yC. The hotspot is positioned at radius R.&lt;BR /&gt;
  hotspot2 xC, yC, iHotspot + 1, angleParameter, 6&lt;BR /&gt;
  hotspot2 xC + R*cos(angleParameter), yC + R*sin(angleParameter),&lt;BR /&gt;
  iHotspot + 2, angleParameter, 5&lt;BR /&gt;
  hotspot2 xC + 1, yC, iHotspot + 3, angleParameter, 4&lt;BR /&gt;
  iHotspot = iHotspot + 3&lt;BR /&gt;
&lt;BR /&gt;
You can also move a hotspot in 2 dimensions at once.&lt;BR /&gt;
&lt;BR /&gt;
BTW hotspots are discussed in more detail in the GDL Handbook.</description>
      <pubDate>Fri, 27 Mar 2009 03:41:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/HOTSPOTS/m-p/199656#M25384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-27T03:41:01Z</dc:date>
    </item>
  </channel>
</rss>

