<?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 perform coordinate transform in macro in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/perform-coordinate-transform-in-macro/m-p/394613#M511</link>
    <description>&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;Is it possible to perform coordinate transformation (e.g. add2, rotate2 ) in Macro?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MACRO OBJECT :&lt;/P&gt;&lt;P&gt;angleViewRot = 0&lt;BR /&gt;if dt then&lt;BR /&gt;rrr = REQUEST ("View_Rotangle", "", angleViewRot)&lt;BR /&gt;endif&lt;BR /&gt;totalRotate = (SYMB_ROTANGLE + angleViewRot) MOD 360&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rot2&amp;nbsp;&amp;nbsp;totalRotate...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALLER OBJECT/s:&lt;/P&gt;&lt;P&gt;&amp;nbsp;! call macro object&lt;/P&gt;&lt;P&gt;! every unrotatable object i defined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 01:52:50 GMT</pubDate>
    <dc:creator>Toper Barrientos</dc:creator>
    <dc:date>2023-08-09T01:52:50Z</dc:date>
    <item>
      <title>perform coordinate transform in macro</title>
      <link>https://community.graphisoft.com/t5/GDL/perform-coordinate-transform-in-macro/m-p/394613#M511</link>
      <description>&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;Is it possible to perform coordinate transformation (e.g. add2, rotate2 ) in Macro?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MACRO OBJECT :&lt;/P&gt;&lt;P&gt;angleViewRot = 0&lt;BR /&gt;if dt then&lt;BR /&gt;rrr = REQUEST ("View_Rotangle", "", angleViewRot)&lt;BR /&gt;endif&lt;BR /&gt;totalRotate = (SYMB_ROTANGLE + angleViewRot) MOD 360&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rot2&amp;nbsp;&amp;nbsp;totalRotate...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALLER OBJECT/s:&lt;/P&gt;&lt;P&gt;&amp;nbsp;! call macro object&lt;/P&gt;&lt;P&gt;! every unrotatable object i defined&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 01:52:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/perform-coordinate-transform-in-macro/m-p/394613#M511</guid>
      <dc:creator>Toper Barrientos</dc:creator>
      <dc:date>2023-08-09T01:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: perform coordinate transform in macro</title>
      <link>https://community.graphisoft.com/t5/GDL/perform-coordinate-transform-in-macro/m-p/395170#M512</link>
      <description>&lt;P&gt;The transformations done in the macro won't have an effect in the caller object. What you can do is calculate the transformation parameters and return them from the macro.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 07:42:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/perform-coordinate-transform-in-macro/m-p/395170#M512</guid>
      <dc:creator>Peter Baksa</dc:creator>
      <dc:date>2023-08-17T07:42:26Z</dc:date>
    </item>
  </channel>
</rss>

