<?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: Limit editable hotspot movement to arbitrary values in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335445#M2810</link>
    <description>&lt;P&gt;The hotspot movement is a length, so your 'Height' parameter needs to be a 'length' type and not 'text' type.&lt;/P&gt;
&lt;P&gt;The value list will be lengths in meters with not quotes ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VALUES "Height", 1.420, 1.580, 1.880, 2.120, 2.280, 2.990&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2022 07:06:53 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2022-04-13T07:06:53Z</dc:date>
    <item>
      <title>Limit editable hotspot movement to arbitrary values</title>
      <link>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335439#M2809</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I would like to have a editable hotspot to move only by given values but obviously I get a numeric error when I check the script.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_1-1649830683592.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/20493i53290EC2479236CF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_1-1649830683592.png" alt="jc4d_1-1649830683592.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to "limit" the hotspot's movement to the given values only?&lt;BR /&gt;Practical example &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_0-1649830404887.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/20492iBD32337397BE5521/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_0-1649830404887.png" alt="jc4d_0-1649830404887.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the parameters tab I have this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VALUES "Height", '1420', '1580', '1880', '2120', '2280', '2990'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Master:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;unID = 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the 3D script&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;HOTSPOT 0,0,0, unID, Height, 1+128
unID = unID+1
HOTSPOT Height,0,0, unID, Height, 2
unID = unID+1
HOTSPOT -1,0,0, unID, Height, 3+128
unID = unID+1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 06:21:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335439#M2809</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-04-13T06:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: Limit editable hotspot movement to arbitrary values</title>
      <link>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335445#M2810</link>
      <description>&lt;P&gt;The hotspot movement is a length, so your 'Height' parameter needs to be a 'length' type and not 'text' type.&lt;/P&gt;
&lt;P&gt;The value list will be lengths in meters with not quotes ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VALUES "Height", 1.420, 1.580, 1.880, 2.120, 2.280, 2.990&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 07:06:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335445#M2810</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-04-13T07:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Limit editable hotspot movement to arbitrary values</title>
      <link>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335447#M2811</link>
      <description>&lt;P&gt;Ohh, that easy, thank you. I need to take a break &lt;span class="lia-unicode-emoji" title=":grinning_face_with_sweat:"&gt;😅&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 07:14:24 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335447#M2811</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-04-13T07:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: Limit editable hotspot movement to arbitrary values</title>
      <link>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335448#M2812</link>
      <description>&lt;P&gt;I hope is ok to ask another question here since it is somewhat related. If not the mods are free to move it to a new topic.&lt;BR /&gt;Is it possible to give a max and min lenght limits to the hotspot and define the movement steps?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 07:16:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335448#M2812</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-04-13T07:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Limit editable hotspot movement to arbitrary values</title>
      <link>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335452#M2813</link>
      <description>&lt;P&gt;You could use&amp;nbsp;&lt;EM&gt;Range&lt;/EM&gt; and&amp;nbsp;&lt;EM&gt;Step&lt;/EM&gt; to do something along the lines of&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&lt;EM&gt;VALUES "Height" range [1, 3] Step 1, 0.2&lt;/EM&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 08:34:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335452#M2813</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-04-13T08:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Limit editable hotspot movement to arbitrary values</title>
      <link>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335457#M2814</link>
      <description>&lt;P&gt;Thank you, sadly I get an error:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_0-1649836841701.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/20497i7E1F0E1BF9CABA5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_0-1649836841701.png" alt="jc4d_0-1649836841701.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 08:01:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335457#M2814</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-04-13T08:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Limit editable hotspot movement to arbitrary values</title>
      <link>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335459#M2815</link>
      <description>&lt;P&gt;Probably bad syntax on my part. I have not used the values command with range and step before. Updated previous post with what I think is the correction. Had an extra comma.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 08:34:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335459#M2815</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-04-13T08:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Limit editable hotspot movement to arbitrary values</title>
      <link>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335464#M2816</link>
      <description>&lt;P&gt;Fantastic, thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 08:58:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Limit-editable-hotspot-movement-to-arbitrary-values/m-p/335464#M2816</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-04-13T08:58:16Z</dc:date>
    </item>
  </channel>
</rss>

