<?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 stop working in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-stop-working/m-p/136037#M22499</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
   I'm trying to get my head round hotspot to make my object stretchy, but they seem to stop working at random...&lt;BR /&gt;
&lt;BR /&gt;
This is my 3D code:
&lt;PRE&gt;HOTSPOT 0, 0, 0
HOTSPOT A, 0, 0
HOTSPOT A, B, 0
HOTSPOT 0, B, 0
HOTSPOT 0, 0, zzyzx
HOTSPOT A, 0, zzyzx
HOTSPOT A, B, zzyzx
HOTSPOT 0, B, zzyzx
HOTSPOT A/2, B/2, zzyzx

! Walls
material mat_walls
BLOCK A, B, zzyzx

! Roof
!material mat_roof
IF r_type = "Pitch" THEN	! Pitched Roof

	ADDz zzyzx
	ROTx 90

	cPRISM_ mat_walls, mat_walls, mat_roof, 4, -B,
		0,0,15,
		A/2,r_height,15,
		A,0,15,
		0,0,15

	IF r_overhang &amp;gt; 0 THEN
		material mat_roof
		ADDz r_overhang
		PRISM 9, -(B + (2*r_overhang)), 
			0,0,
			-r_overhang,0,
			-r_overhang,r_overhang,
			A/2,r_total_height+r_overhang,
			A+r_overhang,r_overhang,
			A+r_overhang,0,
			A, 0,
			A/2,r_height,
			0,0
		DEL 1
	ENDIF

	DEL 2
ENDIF
&lt;/PRE&gt;

It works fine unless r_overhang is anything other than 0 - then all of a sudden it stops being stretchable. Any ideas why this might happen?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Derek&lt;/R&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 10 Nov 2009 10:05:52 GMT</pubDate>
    <dc:creator>derekjackson</dc:creator>
    <dc:date>2009-11-10T10:05:52Z</dc:date>
    <item>
      <title>Hotspots stop working</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-stop-working/m-p/136037#M22499</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi,&lt;BR /&gt;
   I'm trying to get my head round hotspot to make my object stretchy, but they seem to stop working at random...&lt;BR /&gt;
&lt;BR /&gt;
This is my 3D code:
&lt;PRE&gt;HOTSPOT 0, 0, 0
HOTSPOT A, 0, 0
HOTSPOT A, B, 0
HOTSPOT 0, B, 0
HOTSPOT 0, 0, zzyzx
HOTSPOT A, 0, zzyzx
HOTSPOT A, B, zzyzx
HOTSPOT 0, B, zzyzx
HOTSPOT A/2, B/2, zzyzx

! Walls
material mat_walls
BLOCK A, B, zzyzx

! Roof
!material mat_roof
IF r_type = "Pitch" THEN	! Pitched Roof

	ADDz zzyzx
	ROTx 90

	cPRISM_ mat_walls, mat_walls, mat_roof, 4, -B,
		0,0,15,
		A/2,r_height,15,
		A,0,15,
		0,0,15

	IF r_overhang &amp;gt; 0 THEN
		material mat_roof
		ADDz r_overhang
		PRISM 9, -(B + (2*r_overhang)), 
			0,0,
			-r_overhang,0,
			-r_overhang,r_overhang,
			A/2,r_total_height+r_overhang,
			A+r_overhang,r_overhang,
			A+r_overhang,0,
			A, 0,
			A/2,r_height,
			0,0
		DEL 1
	ENDIF

	DEL 2
ENDIF
&lt;/PRE&gt;

It works fine unless r_overhang is anything other than 0 - then all of a sudden it stops being stretchable. Any ideas why this might happen?&lt;BR /&gt;
&lt;BR /&gt;
Thanks,&lt;BR /&gt;
&lt;BR /&gt;
Derek&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 10 Nov 2009 10:05:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-stop-working/m-p/136037#M22499</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2009-11-10T10:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspots stop working</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-stop-working/m-p/136038#M22500</link>
      <description>Hi Derek,&lt;BR /&gt;
&lt;BR /&gt;
I'd use the dynamic hotspots (GDL Ref Manual, page 133). They are much more reliable.&lt;BR /&gt;
&lt;BR /&gt;
HTH.&lt;BR /&gt;
&lt;BR /&gt;
p.s.: Also check &lt;A href="http://archicad-talk.graphisoft.com/object_depository.php?browse=Depository/02%20Sitework" target="_blank"&gt;&lt;/A&gt;&lt;S&gt;&lt;A href="http://archicad-talk.graphisoft.com/object_depository.php?browse=Depository/02%20Sitework" target="_blank"&gt;&lt;/A&gt;&lt;A href="http://archicad-talk.graphisoft.com/object_depository.php?browse=Depository/02%20Sitework" target="_blank"&gt;&lt;/A&gt;&lt;/S&gt;&lt;FONT color="#0051ff"&gt;this&lt;/FONT&gt;&lt;E&gt;&lt;/E&gt; AC9 Landscaping house made by Dragan Lazarevic. It seems to be what you are looking for.</description>
      <pubDate>Tue, 10 Nov 2009 11:49:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Hotspots-stop-working/m-p/136038#M22500</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-11-10T11:49:10Z</dc:date>
    </item>
  </channel>
</rss>

