<?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: unable to hide hotspots in object in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277260#M3293</link>
    <description>Please give a little more detail on what you're doing.   You say that you made "an object" ... do you mean that you created, by script or by saving, a GDL Object?  If so, the entire object exists in only the one layer that you use to place it into your project.  Hotspots or other sub-elements do not have any associated layer.  If you want to hide part of a GDL object - you must create a parameter (or use a global) and then use that parameter to drive the logic to generate or not generate the desired parts of the object (hotspots in this case).</description>
    <pubDate>Sun, 20 Jun 2021 17:00:51 GMT</pubDate>
    <dc:creator>Karl Ottenstein</dc:creator>
    <dc:date>2021-06-20T17:00:51Z</dc:date>
    <item>
      <title>unable to hide hotspots in object</title>
      <link>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277259#M3292</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello,&lt;BR /&gt;I made an object with hotspots (with "hotspot placement tool"), these hotspots are placed in the layer of "drafting-hotspot", &lt;BR /&gt;but when I hide this layer of "drafting-hotspot", these hostpots are still visible,&lt;BR /&gt;how to hide them?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 May 2023 14:27:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277259#M3292</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-23T14:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: unable to hide hotspots in object</title>
      <link>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277260#M3293</link>
      <description>Please give a little more detail on what you're doing.   You say that you made "an object" ... do you mean that you created, by script or by saving, a GDL Object?  If so, the entire object exists in only the one layer that you use to place it into your project.  Hotspots or other sub-elements do not have any associated layer.  If you want to hide part of a GDL object - you must create a parameter (or use a global) and then use that parameter to drive the logic to generate or not generate the desired parts of the object (hotspots in this case).</description>
      <pubDate>Sun, 20 Jun 2021 17:00:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277260#M3293</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2021-06-20T17:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: unable to hide hotspots in object</title>
      <link>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277261#M3294</link>
      <description>Hello Karl &lt;BR /&gt;
I :&lt;BR /&gt;
(1) made a morpoh &lt;BR /&gt;
(2) then add hotspots with "hotspot placement tool" and set to layer "2D Drafting"&lt;BR /&gt;
(3) the save selection of morph and hotspot as a library part&lt;BR /&gt;
(4) then insert this objects to model&lt;BR /&gt;
&lt;BR /&gt;
then after hide the layer "2D Drafting", the hotspots are still visible&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Mon, 21 Jun 2021 07:48:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277261#M3294</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-21T07:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: unable to hide hotspots in object</title>
      <link>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277262#M3295</link>
      <description>As Karl said, once you save it as an object, it no longer has separate layers.&lt;BR /&gt;
It becomes one single object and is placed in the layer of your choice.&lt;BR /&gt;
&lt;BR /&gt;
The only way to hide the hotspots permanently would be to turn them off before you save as an object.&lt;BR /&gt;
&lt;BR /&gt;
Otherwise you will need to edit the GDL script and add a boolean switch parameter to allow you to turn the hotspots on or off in the object settings - you will need to know a little GDL coding to do this.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 21 Jun 2021 07:54:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277262#M3295</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-06-21T07:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: unable to hide hotspots in object</title>
      <link>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277263#M3296</link>
      <description>Hello Barry,&lt;BR /&gt;
Could you give this code? I know a little bit about GDL&lt;BR /&gt;
&lt;BR /&gt;
Thanks</description>
      <pubDate>Mon, 21 Jun 2021 11:47:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277263#M3296</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-21T11:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: unable to hide hotspots in object</title>
      <link>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277264#M3297</link>
      <description>Create a boolean parameter called ... show_hotspot_3d&lt;BR /&gt;
&lt;BR /&gt;
Then in the 3D script you will see the HOTSPOT commands.&lt;BR /&gt;
&lt;BR /&gt;
You need to contain those HOTSPOTs in an IF/THEN command.&lt;BR /&gt;
&lt;BR /&gt;
i.e. in the 3D script to hide 3D hotspots...&lt;BR /&gt;

&lt;PRE&gt;IF show_hotspot_3d = 1 THEN
      HOTSPOT.....
      HOTSPOT.....
      HOTSPOT.....
ENDIF&lt;/PRE&gt;

&lt;BR /&gt;
You can do similar for 2D hotspots in the 2D script, create another boolean parameter ... show_hotspot_2d ...&lt;BR /&gt;

&lt;PRE&gt;IF show_hotspot_2d = 1 THEN
      HOTSPOT2.....
      HOTSPOT2.....
      HOTSPOT2.....
ENDIF&lt;/PRE&gt;

&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 21 Jun 2021 13:50:21 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277264#M3297</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2021-06-21T13:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: unable to hide hotspots in object</title>
      <link>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277265#M3298</link>
      <description>OK Thanks Barry</description>
      <pubDate>Tue, 22 Jun 2021 00:15:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/unable-to-hide-hotspots-in-object/m-p/277265#M3298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-22T00:15:12Z</dc:date>
    </item>
  </channel>
</rss>

