<?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/81196#M30934</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello :&lt;BR /&gt;
How do I record the xy coordinates of a mouse click in GDL?&lt;BR /&gt;
&lt;BR /&gt;
I want to define two point on screen and then have my sub-routine size an object and place it between these two points. e.g. the start and end points of a joist.&lt;BR /&gt;
&lt;BR /&gt;
Start:&lt;BR /&gt;
Select the type of GDL object&lt;BR /&gt;
Get x1Y1 (first mouse click)&lt;BR /&gt;
Get x2y2 (second mouse click)&lt;BR /&gt;
(do calculation and place object)&lt;BR /&gt;
&lt;BR /&gt;
Thanks : DW&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Sun, 24 Jun 2007 19:07:26 GMT</pubDate>
    <dc:creator>Hubert Wagner</dc:creator>
    <dc:date>2007-06-24T19:07:26Z</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/81196#M30934</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hello :&lt;BR /&gt;
How do I record the xy coordinates of a mouse click in GDL?&lt;BR /&gt;
&lt;BR /&gt;
I want to define two point on screen and then have my sub-routine size an object and place it between these two points. e.g. the start and end points of a joist.&lt;BR /&gt;
&lt;BR /&gt;
Start:&lt;BR /&gt;
Select the type of GDL object&lt;BR /&gt;
Get x1Y1 (first mouse click)&lt;BR /&gt;
Get x2y2 (second mouse click)&lt;BR /&gt;
(do calculation and place object)&lt;BR /&gt;
&lt;BR /&gt;
Thanks : DW&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 24 Jun 2007 19:07:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Get-xy-coordinate-of-mouse-click-as-GDL-input/m-p/81196#M30934</guid>
      <dc:creator>Hubert Wagner</dc:creator>
      <dc:date>2007-06-24T19:07:26Z</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/81197#M30935</link>
      <description>You don't need GDL for that. You can just use the 2-point object placement method.&lt;BR /&gt;
&lt;BR /&gt;
If your overall object size uses the A and B variables, it should size perfectly to fit between the two points.</description>
      <pubDate>Sun, 24 Jun 2007 19:46:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Get-xy-coordinate-of-mouse-click-as-GDL-input/m-p/81197#M30935</guid>
      <dc:creator>TomWaltz</dc:creator>
      <dc:date>2007-06-24T19:46:52Z</dc:date>
    </item>
  </channel>
</rss>

