<?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: Update A with custom parameter in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340826#M1908</link>
    <description>&lt;P&gt;Interesting, I will take a look. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2022 10:24:37 GMT</pubDate>
    <dc:creator>jc4d</dc:creator>
    <dc:date>2022-06-10T10:24:37Z</dc:date>
    <item>
      <title>Update A with custom parameter</title>
      <link>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340792#M1903</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an object with a custom values for the width.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I place the object, the value that shows in the toolbar is 1000 no matter what is the right width of the object. Therefore, my question is if it is possible to update that value in the toolbar to shoe the real width of the object?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jc4d_0-1654838449251.png" style="width: 400px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/22335i90F7E3DB8720F534/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jc4d_0-1654838449251.png" alt="jc4d_0-1654838449251.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paremeters:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;VALUES "mod_width" range [0.3, 2.0] Step 1, 0.005&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Master:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;A = mod_width&lt;/LI-CODE&gt;&lt;P&gt;But didn't work&lt;/P&gt;&lt;P&gt;Juan.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 05:23:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340792#M1903</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-06-10T05:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Update A with custom parameter</title>
      <link>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340795#M1904</link>
      <description>&lt;P&gt;Instead of using 'mod_width', you could just have used 'A'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you now need to say...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;A = mod_width

PARAMETERS A = A&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The first line sets the value for 'A' that the scripts will use, but the second line sets the parameter that the user sees.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But that is not the end of it.&lt;/P&gt;
&lt;P&gt;If the user now adjusts 'A', nothing will happen to the width - because you are not changing 'mod_width'.&lt;/P&gt;
&lt;P&gt;You could ...&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;LOCK "A"&lt;/LI-CODE&gt;
&lt;P&gt;So the user can see 'A' but not change it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is why it is best to just use 'A' instead of 'mod_width'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;VALUES "A" range [0.3, 2.0] Step 1, 0.005&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Anywhere else in your scripts that uses 'mod_width', just change it to 'A'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 05:41:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340795#M1904</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-06-10T05:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Update A with custom parameter</title>
      <link>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340798#M1905</link>
      <description>&lt;P&gt;Thank you, I don't know why I was "afraid" on using A... maybe is because what could happen if I have a dropdwon list of sizes?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another question related, the same logic applies to ZZYZX?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 06:03:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340798#M1905</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-06-10T06:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update A with custom parameter</title>
      <link>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340808#M1906</link>
      <description>&lt;P&gt;Sure.&lt;/P&gt;
&lt;P&gt;Use 'A' for the overall width.&lt;/P&gt;
&lt;P&gt;'B' for the overall depth.&lt;/P&gt;
&lt;P&gt;And 'ZZYZX' for the overall height.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They can all have a VALUE list if you want to choose pre-set sizes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 06:42:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340808#M1906</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-06-10T06:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Update A with custom parameter</title>
      <link>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340816#M1907</link>
      <description>&lt;P&gt;Value lists also work with&amp;nbsp;&lt;STRONG&gt;Hotspots&amp;nbsp;&lt;/STRONG&gt;which will allow you to change between presets without even entering any dialogue.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 08:08:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340816#M1907</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-06-10T08:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Update A with custom parameter</title>
      <link>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340826#M1908</link>
      <description>&lt;P&gt;Interesting, I will take a look. Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Juan&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2022 10:24:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Update-A-with-custom-parameter/m-p/340826#M1908</guid>
      <dc:creator>jc4d</dc:creator>
      <dc:date>2022-06-10T10:24:37Z</dc:date>
    </item>
  </channel>
</rss>

