<?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: Editable 2D Hotspots in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Editable-2D-Hotspots/m-p/267804#M6312</link>
    <description>I have attached the object for your review, please take a look and let me know if there is a way to display millimeters instead of meters. I feel it will create a cleaner finish if all parameters use one unit of measurement.&lt;BR /&gt;
&lt;BR /&gt;
Do keep in mind that I have no prior coding experience and started using GDL 2 weeks ago, so I apologise if my code is incoherent. If you have the time please feel free to provide feedback on any of the elements I have created, if there is a better, or more efficient procedure to use. &lt;BR /&gt;
&lt;BR /&gt;
- Jason</description>
    <pubDate>Sat, 11 Mar 2017 14:41:47 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-03-11T14:41:47Z</dc:date>
    <item>
      <title>Editable 2D Hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Editable-2D-Hotspots/m-p/267802#M6310</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi All,&lt;BR /&gt;
&lt;BR /&gt;
I am new to GDL scripting and I'm sure my issue will be easily fixed, but for the life of me I have no idea where to look.&lt;BR /&gt;
&lt;BR /&gt;
In my object I have parameters that control the front, rear, and side overhangs of the benchtop, these overhang parameters are integers. I wish for these to be controllable by the use of hotspots in 2d.&lt;BR /&gt;
&lt;BR /&gt;
For the most part I am able to get the 'hotspot2' command to work, the part that is leaving me scratching my head is when stretching the object in 2D, instead of giving me a width in 'millimeters' it snaps to every meter. This means if I want to show a 50mm overhang, I am forced to stretch the node 50m. The 2D model then shows correctly with a 50mm overhang.&lt;BR /&gt;
&lt;BR /&gt;
Does anyone have any idea what I have missed?&lt;BR /&gt;
&lt;BR /&gt;
I am happy to post more information if required,&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
&lt;BR /&gt;
- Jason&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 11 Mar 2017 09:42:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Editable-2D-Hotspots/m-p/267802#M6310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-11T09:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Editable 2D Hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Editable-2D-Hotspots/m-p/267803#M6311</link>
      <description>Without seeing your code, it's hard to be sure: but one possible reason is because the code will use meters as its dimensions, even if your project &amp;amp; parameters use millimeters.  &lt;BR /&gt;
&lt;BR /&gt;
Change the decimal place in your code to be for meters, and it could be what's causing the issue (e.g. instead of 50, use 0.05).</description>
      <pubDate>Sat, 11 Mar 2017 10:54:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Editable-2D-Hotspots/m-p/267803#M6311</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2017-03-11T10:54:40Z</dc:date>
    </item>
    <item>
      <title>Re: Editable 2D Hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Editable-2D-Hotspots/m-p/267804#M6312</link>
      <description>I have attached the object for your review, please take a look and let me know if there is a way to display millimeters instead of meters. I feel it will create a cleaner finish if all parameters use one unit of measurement.&lt;BR /&gt;
&lt;BR /&gt;
Do keep in mind that I have no prior coding experience and started using GDL 2 weeks ago, so I apologise if my code is incoherent. If you have the time please feel free to provide feedback on any of the elements I have created, if there is a better, or more efficient procedure to use. &lt;BR /&gt;
&lt;BR /&gt;
- Jason</description>
      <pubDate>Sat, 11 Mar 2017 14:41:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Editable-2D-Hotspots/m-p/267804#M6312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-11T14:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Editable 2D Hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Editable-2D-Hotspots/m-p/267805#M6313</link>
      <description>A quick look tells me you should get rid of the MUL 0.001 commands you have in your 2D &amp;amp; 3D scripts, along with then multiplying everything by 1000 (which essentially amounts to "variable/1000*1000").  &lt;BR /&gt;
&lt;BR /&gt;
Trying to apply a multiplication to parameters in dynamic HOTSPOT commands is what is causing the issue, I think.</description>
      <pubDate>Sun, 12 Mar 2017 20:25:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Editable-2D-Hotspots/m-p/267805#M6313</guid>
      <dc:creator>Bruce</dc:creator>
      <dc:date>2017-03-12T20:25:21Z</dc:date>
    </item>
  </channel>
</rss>

