<?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 Hotspots in macros in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-in-macros/m-p/241819#M11829</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi!&lt;BR /&gt;
&lt;BR /&gt;
I wonder if anybody knows if there is a way to not include 2d hotspots when you call, for example a furniture object, as a macro into another object (in this example a furniture group object)? &lt;BR /&gt;
The result with all the hotspots is confusing at best and in worst case they interfere with move hotspots in the group object.&lt;/T&gt;&lt;/DIV&gt;</description>
    <pubDate>Thu, 29 Jan 2015 09:43:18 GMT</pubDate>
    <dc:creator>Andreas _kerlund</dc:creator>
    <dc:date>2015-01-29T09:43:18Z</dc:date>
    <item>
      <title>Hotspots in macros</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-in-macros/m-p/241819#M11829</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi!&lt;BR /&gt;
&lt;BR /&gt;
I wonder if anybody knows if there is a way to not include 2d hotspots when you call, for example a furniture object, as a macro into another object (in this example a furniture group object)? &lt;BR /&gt;
The result with all the hotspots is confusing at best and in worst case they interfere with move hotspots in the group object.&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Jan 2015 09:43:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-in-macros/m-p/241819#M11829</guid>
      <dc:creator>Andreas _kerlund</dc:creator>
      <dc:date>2015-01-29T09:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspots in macros</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-in-macros/m-p/241820#M11830</link>
      <description>You can if you script it into your objects (if the option is not already there to turn of the hotspots.&lt;BR /&gt;
&lt;BR /&gt;
In the object you want to call you have to add a boolean parameter to "Show 2D hotspots".&lt;BR /&gt;
In this object you set this 'ON' by default.&lt;BR /&gt;
In the 2D script you must then add an if/then control to each hotspot.&lt;BR /&gt;
i.e.&lt;BR /&gt;
if show_2d_hs = 1 then&lt;BR /&gt;
HOTSPOT2 0,0&lt;BR /&gt;
HOTSPOT2 1,0&lt;BR /&gt;
HOTSPOT2 2,0&lt;BR /&gt;
HOTSPOT2 3,0&lt;BR /&gt;
..... &lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Now when you CALL this object you add to the PARAMETERS list of the CALL that this Boolean value is 0 (zero).&lt;BR /&gt;
There by turning off the 2D hotspots.&lt;BR /&gt;
The same can be done for the 3D hotspots if you want.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Of course if your Called object already has control over the hotspot visibility (some objects do) then you just need to add the correct parameter to the CALL statement.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Thu, 29 Jan 2015 11:45:37 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-in-macros/m-p/241820#M11830</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2015-01-29T11:45:37Z</dc:date>
    </item>
  </channel>
</rss>

