<?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 GDL : Get xy coordinate of mouse click as GDL input in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Get-xy-coordinate-of-mouse-click-as-GDL-input/m-p/112090#M30413</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello : &lt;BR /&gt;
 &lt;BR /&gt;
Tom Waltz kindly answered this question some time ago.  &lt;BR /&gt;
 &lt;BR /&gt;
However, I don't understand the answer. And I cannot find any reference in ArchiCad Help to a "2-point object placement method". &lt;BR /&gt;
(I assume this means I can ask ArchiCad to accept x1y1 and then x2y2 as input, before activating the macro).  &lt;BR /&gt;
Can someone tell me how this is done? &lt;BR /&gt;
 &lt;BR /&gt;
Nevertheless, the answer goes begging. Is there any way to write a GDL so I can obtain x1y1 and x2y2 from within the subroutine? I may wish to do something more complicated than merely place to those points. &lt;BR /&gt;
 &lt;BR /&gt;
If this is complicated please eMail me privately. I'll write up the answer with an example and post it later. &lt;BR /&gt;
 &lt;BR /&gt;
Regards : Douglas Wagner &lt;BR /&gt;
&lt;A href="mailto: hdmw@mac.com"&gt;hdmw@mac.com&lt;/A&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 03 Aug 2007 19:52:06 GMT</pubDate>
    <dc:creator>Hubert Wagner</dc:creator>
    <dc:date>2007-08-03T19:52:06Z</dc:date>
    <item>
      <title>GDL : Get xy coordinate of mouse click as GDL input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Get-xy-coordinate-of-mouse-click-as-GDL-input/m-p/112090#M30413</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hello : &lt;BR /&gt;
 &lt;BR /&gt;
Tom Waltz kindly answered this question some time ago.  &lt;BR /&gt;
 &lt;BR /&gt;
However, I don't understand the answer. And I cannot find any reference in ArchiCad Help to a "2-point object placement method". &lt;BR /&gt;
(I assume this means I can ask ArchiCad to accept x1y1 and then x2y2 as input, before activating the macro).  &lt;BR /&gt;
Can someone tell me how this is done? &lt;BR /&gt;
 &lt;BR /&gt;
Nevertheless, the answer goes begging. Is there any way to write a GDL so I can obtain x1y1 and x2y2 from within the subroutine? I may wish to do something more complicated than merely place to those points. &lt;BR /&gt;
 &lt;BR /&gt;
If this is complicated please eMail me privately. I'll write up the answer with an example and post it later. &lt;BR /&gt;
 &lt;BR /&gt;
Regards : Douglas Wagner &lt;BR /&gt;
&lt;A href="mailto: hdmw@mac.com"&gt;hdmw@mac.com&lt;/A&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Aug 2007 19:52:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Get-xy-coordinate-of-mouse-click-as-GDL-input/m-p/112090#M30413</guid>
      <dc:creator>Hubert Wagner</dc:creator>
      <dc:date>2007-08-03T19:52:06Z</dc:date>
    </item>
    <item>
      <title>Re: GDL : Get xy coordinate of mouse click as GDL input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Get-xy-coordinate-of-mouse-click-as-GDL-input/m-p/112091#M30414</link>
      <description>The two-point method is on the Info Box for the Object Tool.&lt;BR /&gt;
&lt;BR /&gt;
Using that, all you need are to use the A and B variables of the object.&lt;BR /&gt;
&lt;BR /&gt;
Beyond that.... we'd need a bit more detail of what you had in mind. I would say it's probably possible as long as all the points in question are contained inside that one object.</description>
      <pubDate>Fri, 03 Aug 2007 19:59:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Get-xy-coordinate-of-mouse-click-as-GDL-input/m-p/112091#M30414</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2007-08-03T19:59:32Z</dc:date>
    </item>
  </channel>
</rss>

