<?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: Question about hiding hotspots in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284925#M2713</link>
    <description>@Barry&lt;BR /&gt;
&lt;BR /&gt;
I just thought in this idea, since that graphical editing hotspots are linked to parameter, so if locked there values when a condition is met, then there is no need to repeat scripting those hotspot !!!&lt;BR /&gt;
&lt;BR /&gt;
Is it posible to lock the parameter's values in the Parameter script if a condition is met ??</description>
    <pubDate>Thu, 14 Feb 2019 18:05:15 GMT</pubDate>
    <dc:creator>Nader Belal</dc:creator>
    <dc:date>2019-02-14T18:05:15Z</dc:date>
    <item>
      <title>Question about hiding hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284922#M2710</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi there,&lt;BR /&gt;
&lt;BR /&gt;
I have an object with many graphical editing hotspots. And I have programmed a condition that in case it is met those hotspots becomes inactivated, in favour to static hotspots.&lt;BR /&gt;
&lt;BR /&gt;
Is there is a way that can be implemented for not repeating the script for hotspots ??&lt;BR /&gt;
&lt;BR /&gt;
Thank you in advence&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Feb 2019 21:17:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284922#M2710</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2019-02-13T21:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hiding hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284923#M2711</link>
      <description>I am not quite sure what you are after.&lt;BR /&gt;
&lt;BR /&gt;
If you want graphical hotspots but in certain circumstances they are to be just plain hotspots then you will need to script both.&lt;BR /&gt;
Then use an IF/THEN statements to control which hotspots you see.&lt;BR /&gt;
&lt;BR /&gt;
If you are careful and each matching hotspot has the same ID number, you should find you can dimension your object to the hotspot and the dimension will remain when they change.&lt;BR /&gt;
If the hotspot ID changes and you have dimensioned it - the dimension will disappear with the hotspot.&lt;BR /&gt;
&lt;BR /&gt;
i.e. the HSID = HSID+1 routine you see between hotspots can be a bad thing if you are turning hotspots on and off and you want to dimension them.&lt;BR /&gt;
They need a static ID that remains the same all the time.&lt;BR /&gt;
&lt;BR /&gt;
I might be going a bit off topic there sorry, but it is important if you need to dimension your objects.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 14 Feb 2019 01:29:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284923#M2711</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2019-02-14T01:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hiding hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284924#M2712</link>
      <description>I have a spaghetti of conditions and variable that controls the a parametric object. And right now, the graphical hotspots are occupying the biggest portion on the script for that issue exactly "Dimentioning".&lt;BR /&gt;
&lt;BR /&gt;
I tried to hide them, but  is like turning them off.&lt;BR /&gt;
&lt;BR /&gt;
I also tried to create the non graphical editing hotspots with the same ID, but under my circumstances, it's simply no use, since I have a lot of nested routines that generates them.</description>
      <pubDate>Thu, 14 Feb 2019 04:02:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284924#M2712</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2019-02-14T04:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hiding hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284925#M2713</link>
      <description>@Barry&lt;BR /&gt;
&lt;BR /&gt;
I just thought in this idea, since that graphical editing hotspots are linked to parameter, so if locked there values when a condition is met, then there is no need to repeat scripting those hotspot !!!&lt;BR /&gt;
&lt;BR /&gt;
Is it posible to lock the parameter's values in the Parameter script if a condition is met ??</description>
      <pubDate>Thu, 14 Feb 2019 18:05:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284925#M2713</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2019-02-14T18:05:15Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hiding hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284926#M2714</link>
      <description>I think that I have just found it.&lt;BR /&gt;
&lt;BR /&gt;
It must all controlled in the &lt;B&gt;&lt;FONT color="#0000BF"&gt;Parameters Script&lt;/FONT&gt;&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;
lets say that you have a parameter that  is connected to a graphical hotspot with predefined values:
&lt;PRE&gt;values "length", range [1, 10]&lt;/PRE&gt;

&lt;BR /&gt;
And there must be a condition that its absence must lock those values, to prevent editing ... the normal procedure would by hiding the parameters and mark those hotspot as hidden, and may be writing new hotspots to subtitute the old graphical editing one. &lt;B&gt;&lt;FONT color="#FF0000"&gt;BAD MOVE&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
Because:
&lt;UL&gt;&lt;LI&gt;Associated dimensions will be lost as the graphical hotspot have turned as hidden.&lt;/LI&gt;&lt;/UL&gt;
&lt;UL&gt;&lt;LI&gt;The object's script will be bloated, &lt;B&gt;2D&lt;/B&gt; and &lt;B&gt;2D Script&lt;/B&gt;.&lt;/LI&gt;&lt;/UL&gt;
&lt;UL&gt;&lt;LI&gt;Even if the new non-graphical editing hotspot would have the same identification number as those of their graphical editing one, they could be treated as new entities (&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;that statement may need correction&lt;E&gt;&lt;/E&gt;).&lt;/LI&gt;&lt;/UL&gt;

A better way is to lock the parameters' values in the &lt;B&gt;&lt;FONT color="#0000BF"&gt;Parameters Script&lt;/FONT&gt;&lt;/B&gt; (&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;a mixture of pseudo-code and GDL&lt;E&gt;&lt;/E&gt;).&lt;BR /&gt;

&lt;PRE&gt;if (condition is not met) then
	values "length", range [1, 10]
else
	values "length", length
endif
&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Feb 2019 18:34:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284926#M2714</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2019-02-14T18:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Question about hiding hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284927#M2715</link>
      <description>Update,&lt;BR /&gt;
&lt;BR /&gt;
This method my pause problems with &lt;B&gt;&lt;FONT color="#FF0040"&gt;Array parameters&lt;/FONT&gt;&lt;/B&gt;</description>
      <pubDate>Thu, 14 Feb 2019 20:55:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Question-about-hiding-hotspots/m-p/284927#M2715</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2019-02-14T20:55:56Z</dc:date>
    </item>
  </channel>
</rss>

