<?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: Mouse Input in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161380#M25720</link>
    <description>That's another of those automated things. Curved edges are translated in short linear segments. So you get all the coordinates of the segmented sides into the array. It is not tied with the Magic Wand setting, so we don't have any control on it, unfortunately. &lt;BR /&gt;
 &lt;BR /&gt;
I've to say that I'm not looking at the object and, since it is an old one, I hope I'm recalling all these info correctly  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
    <pubDate>Mon, 26 Jan 2009 15:35:08 GMT</pubDate>
    <dc:creator>rocorona</dc:creator>
    <dc:date>2009-01-26T15:35:08Z</dc:date>
    <item>
      <title>Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161375#M25715</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have made numerous GDL scripts but they have always been quite simple. Some have involved quite complex geometry and numerous parameters, but they have been simple in the sense that they have been standalone models which I just place into my design as I need them, like a car, or a tree, or a door handle.&lt;BR /&gt;
&lt;BR /&gt;
I am looking to make a much more complex model. I am designing a building which has many catwalks and stairways, and I would like to create a parametric model of a hand rail which I can use throughout the design. Furthermore, if there is a design change in the detail of the hand rail, I would like it to update automatically throughout my model.&lt;BR /&gt;
&lt;BR /&gt;
Is there a way that I can click on a series of points in my design with my mouse, and have these points become data points passed to my model, so that a post supporting the hand rail is automatically generated at that point, and the hand rail itself is inserted, spanning from the previous point to the new one? &lt;BR /&gt;
&lt;BR /&gt;
I would love it if I could do this, because then I would just have to change the macro for the post or the rail to change everything.&lt;BR /&gt;
&lt;BR /&gt;
Does this make sense? Does anyone know how to do something like this? It seems difficult because it looks like my object would somehow have to interact with the ArchiCard user interface to capture the mouse positions.&lt;BR /&gt;
&lt;BR /&gt;
If it is possible, I would like to program the model in as open ended a way as possible so that I could reuse the core idea to make a fence generating script, or even a wall generating script simply by clicking on a number of points.&lt;BR /&gt;
&lt;BR /&gt;
Thanks!!&lt;BR /&gt;
Philipp&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 08:23:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161375#M25715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T08:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161376#M25716</link>
      <description>It is a not easy task. &lt;BR /&gt;
AFIK plain GDL do not allow for a direct interaction with the mouse or other interface elements, but you can take advantage of existing Add-ons.  &lt;BR /&gt;
Using the Accessories is my best bet for this.  &lt;BR /&gt;
Some years ago I made a  "Slab border" object (see it &lt;A href="http://www.archiradar.it/index.php?option=com_docman&amp;amp;task=cat_view&amp;amp;gid=105&amp;amp;Itemid=28" target="_blank"&gt;HERE&lt;/A&gt;) that works very well in association with a standard Slab. The Slab itself can be in a hidden layer. When I need to change the path, I simply edit the Slab perimeter.</description>
      <pubDate>Mon, 26 Jan 2009 09:16:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161376#M25716</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2009-01-26T09:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161377#M25717</link>
      <description>Hi Roberto,&lt;BR /&gt;
&lt;BR /&gt;
I've known about your "Slab border" object a couple of years ago and I found it very interesting...&lt;BR /&gt;
But I actually didn't have much time to try it...&lt;BR /&gt;
Could you please explain:&lt;BR /&gt;
Can we create an open path?...&lt;BR /&gt;
Can I control the starting point of the path?...&lt;BR /&gt;
In which form the path coordinates are given... Is it an array?...&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advance.</description>
      <pubDate>Mon, 26 Jan 2009 10:18:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161377#M25717</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-26T10:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161378#M25718</link>
      <description>Yes to all.  &lt;BR /&gt;
You can specify a starting node end an end node, then the border is drawn between these two points, following the Slab perimeter. &lt;BR /&gt;
The nodes coordinates are found in a parameter array, created in the interface of the object and filled automatically by the Accessory Add-on. &lt;BR /&gt;
 &lt;BR /&gt;
The numbering of the Slab nodes is also managed internally by the Add-on and the user has no control on it, so things can get messed-up, when the Slab perimeter is edited adding/deleting nodes... &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 26 Jan 2009 11:50:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161378#M25718</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2009-01-26T11:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161379#M25719</link>
      <description>&lt;BLOCKQUOTE&gt;rocorona wrote:&lt;BR /&gt;Yes to all.&lt;/BLOCKQUOTE&gt;
Great! &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
Maybe I'll use it in my next object...&lt;BR /&gt;
Just one more question Roberto...&lt;BR /&gt;
How does it manage a curved path/edge?...</description>
      <pubDate>Mon, 26 Jan 2009 15:01:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161379#M25719</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-26T15:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161380#M25720</link>
      <description>That's another of those automated things. Curved edges are translated in short linear segments. So you get all the coordinates of the segmented sides into the array. It is not tied with the Magic Wand setting, so we don't have any control on it, unfortunately. &lt;BR /&gt;
 &lt;BR /&gt;
I've to say that I'm not looking at the object and, since it is an old one, I hope I'm recalling all these info correctly  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt;</description>
      <pubDate>Mon, 26 Jan 2009 15:35:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161380#M25720</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2009-01-26T15:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161381#M25721</link>
      <description>Thanks for the response!&lt;BR /&gt;
&lt;BR /&gt;
It sounds like the slab idea is a good starting point, except that you mention that the user does not have control over the number of nodes in the path. This is something that I need explicitly. Given a catwalk area, I would like just to click in the positions that I need to place the railing. Clearly, different parts of the building would need railings with a differing number of supports, so it really would be best for the number to be open ended. &lt;BR /&gt;
&lt;BR /&gt;
Instead of using a slab as a parameter would it be possible just to use a 2D polygonal line as an input, and then examine the line in GDL to determine the number of points it contains?</description>
      <pubDate>Mon, 26 Jan 2009 16:58:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161381#M25721</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-26T16:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161382#M25722</link>
      <description>Is it hard to program a custom add-on? &lt;BR /&gt;
&lt;BR /&gt;
I am very experienced programmer in a number of languages, so if I just had access to some sort of tutorial explaining the process I would be okay. Does anyone know of such a thing?&lt;BR /&gt;
&lt;BR /&gt;
Thanks again.</description>
      <pubDate>Mon, 26 Jan 2009 17:01:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161382#M25722</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-26T17:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161383#M25723</link>
      <description>Sorry, I just reread your post about the slab control. It looks like you are saying that the number of nodes is open-ended, but the user cannot delete or add any within the GDL script, but could delete them from the slab by using the add-on, is this correct?</description>
      <pubDate>Mon, 26 Jan 2009 17:05:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161383#M25723</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-26T17:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161384#M25724</link>
      <description>Yes, correct. In this case we use a plain GDL object, through a standard add-on provided by Graphisoft. &lt;BR /&gt;
 &lt;BR /&gt;
Check the first section of this forum: there is the DEVELOPER FORUM, focussed on  programming custom Add-ons</description>
      <pubDate>Mon, 26 Jan 2009 17:11:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161384#M25724</guid>
      <dc:creator>rocorona</dc:creator>
      <dc:date>2009-01-26T17:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161385#M25725</link>
      <description>&lt;BLOCKQUOTE&gt;In this case we use a plain GDL object, through a standard add-on provided by Graphisoft.&lt;/BLOCKQUOTE&gt;

More examples, here (For Wall, Slab and Roof)&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://www.3dsmile.it/index.php?option=com_docman&amp;amp;task=cat_view&amp;amp;gid=138&amp;amp;&amp;amp;Itemid=73" target="_blank"&gt;&lt;LINK_TEXT text="http://www.3dsmile.it/index.php?option= ... &amp;amp;Itemid=73"&gt;http://www.3dsmile.it/index.php?option=com_docman&amp;amp;task=cat_view&amp;amp;gid=138&amp;amp;&amp;amp;Itemid=73&lt;/LINK_TEXT&gt;&lt;/A&gt;</description>
      <pubDate>Mon, 26 Jan 2009 20:14:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161385#M25725</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-26T20:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Mouse Input</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161386#M25726</link>
      <description>Thanks Roberto... For the info and the object!...  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
BTW... Greetings for all the ArchiRadar folks!... &lt;BR /&gt;
I don't pass by that much (language barrier &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_cry.gif" style="display : inline;" /&gt; )...&lt;BR /&gt;
But I really admire this BIM community...&lt;BR /&gt;
Keep up the good work!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_smile.gif" style="display : inline;" /&gt;</description>
      <pubDate>Tue, 27 Jan 2009 09:49:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Mouse-Input/m-p/161386#M25726</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-27T09:49:47Z</dc:date>
    </item>
  </channel>
</rss>

