<?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: Mirror angle hotspot in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Mirror-angle-hotspot/m-p/387343#M458</link>
    <description>&lt;P&gt;The mirrored hotspot needs it angle of rotation reversed with a 512 attribute value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change the rotating hotspot (6) to this ... HOTSPOT2 0, 0, 1, ohtd, 6&lt;FONT color="#FF0000"&gt;+512*(i-1)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;When i = 1 it will not reverse (512*0).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;When i = 2 it will reverse (512*1).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Barry.&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 09:09:29 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2023-07-13T09:09:29Z</dc:date>
    <item>
      <title>Mirror angle hotspot</title>
      <link>https://community.graphisoft.com/t5/GDL/Mirror-angle-hotspot/m-p/387339#M457</link>
      <description>&lt;P&gt;When I mirror the Editable Angle Hotspot something goes wrong. How can I mirror this (without creating a new hotspot for mirrored cases, because the hotspot is in a macro)&lt;BR /&gt;&lt;BR /&gt;Normal:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jeroen_0-1689237788827.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/40237i44A1577EF59BC996/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jeroen_0-1689237788827.png" alt="Jeroen_0-1689237788827.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Mirrored&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jeroen_1-1689237810973.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/40238i424FCB1574F71954/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jeroen_1-1689237810973.png" alt="Jeroen_1-1689237810973.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jeroen_2-1689237876237.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/40239iB1BFB5C659E08C88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jeroen_2-1689237876237.png" alt="Jeroen_2-1689237876237.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;FOR i = 1 TO 2
	IF i = 2 THEN
		ADD2 0,-DikteDraaideel
		MUL2 1,-1
	ELSE !i=1

	ENDIF

	HOTSPOT2 0, 0, 1, ohtd, 6
	HOTSPOT2 A, 0, 2, ohtd, 4
	HOTSPOT2 A*COS(ohtd), A*SIN(ohtd), 3,ohtd, 5

	LINE2 0,0,A*COS(ohtd), A*SIN(ohtd)
	HOTLINE2 0,0,A*COS(ohtd), A*SIN(ohtd)
	ARC2 0,0,A,0,ohtd
	HOTARC2 0,0,A,0,ohtd

NEXT i	&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;thanks a lot,&lt;BR /&gt;Jeroen de Bruin&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 08:49:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Mirror-angle-hotspot/m-p/387339#M457</guid>
      <dc:creator>Jeroen</dc:creator>
      <dc:date>2023-07-13T08:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror angle hotspot</title>
      <link>https://community.graphisoft.com/t5/GDL/Mirror-angle-hotspot/m-p/387343#M458</link>
      <description>&lt;P&gt;The mirrored hotspot needs it angle of rotation reversed with a 512 attribute value.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Change the rotating hotspot (6) to this ... HOTSPOT2 0, 0, 1, ohtd, 6&lt;FONT color="#FF0000"&gt;+512*(i-1)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;When i = 1 it will not reverse (512*0).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;When i = 2 it will reverse (512*1).&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000000"&gt;Barry.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 09:09:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Mirror-angle-hotspot/m-p/387343#M458</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2023-07-13T09:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Mirror angle hotspot</title>
      <link>https://community.graphisoft.com/t5/GDL/Mirror-angle-hotspot/m-p/387365#M459</link>
      <description>&lt;P&gt;I am glad it was this easy, though I still had to transfer another parameter to the macro. Thanks Barry&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 11:22:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Mirror-angle-hotspot/m-p/387365#M459</guid>
      <dc:creator>Jeroen</dc:creator>
      <dc:date>2023-07-13T11:22:45Z</dc:date>
    </item>
  </channel>
</rss>

