<?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: No change of values A, B, ZZYZX in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271596#M1927</link>
    <description>&lt;BLOCKQUOTE&gt;zofa wrote:&lt;BR /&gt;
I made a parametrical object in which change the size by using hotspots and a custom parameter. 
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
This is probably your problem.&lt;BR /&gt;
As your script is not using A, B and ZZYZX to manipulate the size of the object.&lt;BR /&gt;
You are using custom parameters (length, width &amp;amp; height) so it is these parameters that you hotspots are changing.&lt;BR /&gt;
As Joachim suggested, it is probably easier if you can attach your object (zip file) or at least show us the script.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Wed, 13 Nov 2019 01:59:53 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2019-11-13T01:59:53Z</dc:date>
    <item>
      <title>No change of values A, B, ZZYZX</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271594#M1925</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;I made a parametrical object in which change the size by using hotspots and a custom parameter. When I use the object and change the size by using the hotspots, the values A, B, ZZYZX don't change. They stay at the default value as set in the objects parameter. For the rest the object works ok.&lt;BR /&gt;
&lt;BR /&gt;
I modelled a shape, saved this as an object and edited the 2D en 3D scripts to make it parametrical.&lt;BR /&gt;
&lt;BR /&gt;
I think my problem is very basic but I'm rather new in GDL  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_confused.gif" style="display : inline;" /&gt;&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Nov 2019 15:41:31 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271594#M1925</guid>
      <dc:creator>zofa groningen</dc:creator>
      <dc:date>2019-11-12T15:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: No change of values A, B, ZZYZX</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271595#M1926</link>
      <description>Please post your scripts, especially 3D-Script.&lt;BR /&gt;
And did you use anywhere the command "PARAMETERS"?</description>
      <pubDate>Tue, 12 Nov 2019 19:13:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271595#M1926</guid>
      <dc:creator>Jochen Suehlo</dc:creator>
      <dc:date>2019-11-12T19:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: No change of values A, B, ZZYZX</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271596#M1927</link>
      <description>&lt;BLOCKQUOTE&gt;zofa wrote:&lt;BR /&gt;
I made a parametrical object in which change the size by using hotspots and a custom parameter. 
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
This is probably your problem.&lt;BR /&gt;
As your script is not using A, B and ZZYZX to manipulate the size of the object.&lt;BR /&gt;
You are using custom parameters (length, width &amp;amp; height) so it is these parameters that you hotspots are changing.&lt;BR /&gt;
As Joachim suggested, it is probably easier if you can attach your object (zip file) or at least show us the script.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 13 Nov 2019 01:59:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271596#M1927</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2019-11-13T01:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: No change of values A, B, ZZYZX</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271597#M1928</link>
      <description>If glob_modpar_name = x then A = x&lt;BR /&gt;
If glob_modpar_name = y then B = y&lt;BR /&gt;
If glob_modpar_name = z then ZZYZX = z&lt;BR /&gt;
&lt;BR /&gt;
If glob_modpar_name = A then x = A&lt;BR /&gt;
If glob_modpar_name = B then y = B&lt;BR /&gt;
If glob_modpar_name = ZZYZX then z = ZZYZX</description>
      <pubDate>Wed, 13 Nov 2019 02:09:25 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271597#M1928</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-11-13T02:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: No change of values A, B, ZZYZX</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271598#M1929</link>
      <description>&lt;BLOCKQUOTE&gt;Lingwisyer wrote:&lt;BR /&gt;
If glob_modpar_name = x then A = x&lt;BR /&gt;
If glob_modpar_name = y then B = y&lt;BR /&gt;
If glob_modpar_name = z then ZZYZX = z&lt;BR /&gt;
&lt;BR /&gt;
If glob_modpar_name = A then x = A&lt;BR /&gt;
If glob_modpar_name = B then y = B&lt;BR /&gt;
If glob_modpar_name = ZZYZX then z = ZZYZX
&lt;/BLOCKQUOTE&gt;

Don't forget if you do this synchronising of variables you also need to change the values displayed.&lt;BR /&gt;

&lt;PRE&gt;PARAMETERS A=A, B=B, ZZYZX=ZZYZX, x=x, y=y, z=z&lt;/PRE&gt;

Otherwise you are changing the values of the variable for future calculations, but are not updating what the user sees in the parameter list.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 13 Nov 2019 02:20:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271598#M1929</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2019-11-13T02:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: No change of values A, B, ZZYZX</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271599#M1930</link>
      <description>Thank you all for replying. I attached the object.&lt;BR /&gt;
&lt;BR /&gt;
In the meantime I'll try your suggestions.</description>
      <pubDate>Wed, 13 Nov 2019 10:35:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271599#M1930</guid>
      <dc:creator>zofa groningen</dc:creator>
      <dc:date>2019-11-13T10:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: No change of values A, B, ZZYZX</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271600#M1931</link>
      <description>Just adding "PARAMETERS A=HOR" in the parameter script solved it. &lt;BR /&gt;
Thank you all voor replying.&lt;BR /&gt;
&lt;BR /&gt;
Hans</description>
      <pubDate>Wed, 13 Nov 2019 12:41:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271600#M1931</guid>
      <dc:creator>zofa groningen</dc:creator>
      <dc:date>2019-11-13T12:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: No change of values A, B, ZZYZX</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271601#M1932</link>
      <description>The issue with only doing that is if someone decides to modify A. Nothing will happen, and it will no longer show the correct value until you modify HOR again. This can be resolved by using the &lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;GLOB_MODPAR_NAME&lt;E&gt;&lt;/E&gt; command to identify the last parameter modified then follow through from that.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Thu, 14 Nov 2019 01:28:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271601#M1932</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-11-14T01:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: No change of values A, B, ZZYZX</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271602#M1933</link>
      <description>&lt;BLOCKQUOTE&gt;zofa wrote:&lt;BR /&gt;
Just adding "PARAMETERS A=HOR" in the parameter script solved it. &lt;BR /&gt;
Thank you all voor replying.&lt;BR /&gt;
&lt;BR /&gt;
Hans
&lt;/BLOCKQUOTE&gt;

This will work but as Ling mentioned, does not help if someone adjusts A.&lt;BR /&gt;
&lt;BR /&gt;
You will need &lt;BR /&gt;

&lt;PRE&gt;if GLOB_MODPAR_NAME = "A" then
HOR = A
PARAMETERS HOR = HOR
endif&lt;/PRE&gt;

&lt;BR /&gt;
Or just change your script so you don't use the 'HOR' variable at all.&lt;BR /&gt;
Just use 'A' in its place (don't forget to change 'A' value to 100 or it will be really wide).&lt;BR /&gt;
Everywhere in your scripts that you use 'HOR', just change it to 'A'.&lt;BR /&gt;
&lt;BR /&gt;
That also allows you object to be adjusted in the info box without having to open the parameters (not so important if you have the editing hotspots though).&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 14 Nov 2019 02:18:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/No-change-of-values-A-B-ZZYZX/m-p/271602#M1933</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2019-11-14T02:18:28Z</dc:date>
    </item>
  </channel>
</rss>

