<?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: 3D hotspots - something odd? in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/3D-hotspots-something-odd/m-p/36523#M35799</link>
    <description>Thanks guys. In the end my coding was correct but for some reason it wasnt working in the library part. I copy and pasted to a fresh library part, recreated all of the parameters and now it works!! - no changes to the code. Go figure</description>
    <pubDate>Sun, 28 Aug 2005 22:57:08 GMT</pubDate>
    <dc:creator>Aussie John</dc:creator>
    <dc:date>2005-08-28T22:57:08Z</dc:date>
    <item>
      <title>3D hotspots - something odd?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/3D-hotspots-something-odd/m-p/36520#M35796</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;two parameters bm_wdth and Bm_dpth&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
unid=1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ADDx a/2&lt;BR /&gt;
	ADDy bm_wdth&lt;BR /&gt;
		hotspot 0,0,0,unid,bm_dpth,1+128:unid=unid+1&lt;BR /&gt;
		hotspot 0,0,-bm_dpth,unid,bm_dpth,2:unid=unid+1&lt;BR /&gt;
		hotspot 0,0,.1,unid,bm_dpth,3:unid=unid+1&lt;BR /&gt;
	DEL 1&lt;BR /&gt;
	ADDz -bm_dpth&lt;BR /&gt;
		hotspot 0,0,0,unid,bm_wdth,1+128:unid=unid+1&lt;BR /&gt;
		hotspot 0,bm_wdth,0,unid,bm_wdth,2:unid=unid+1&lt;BR /&gt;
		hotspot 0,-.1,0,unid,bm_wdth,3:unid=unid+1&lt;BR /&gt;
	DEL 1&lt;BR /&gt;
DEL 1&lt;BR /&gt;
&lt;BR /&gt;
ROTy 90&lt;BR /&gt;
&lt;BR /&gt;
PRISM_ 5,a,&lt;BR /&gt;
0,0,15,&lt;BR /&gt;
0,BM_wdth,15,&lt;BR /&gt;
BM_dpth,BM_wdth,15,&lt;BR /&gt;
BM_dpth,0,15,&lt;BR /&gt;
0,0,15&lt;BR /&gt;
&lt;BR /&gt;
DEL 1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The hotspots drag in section but the value always return to the original. Of course they work fine if i adjust in the parameters.&lt;BR /&gt;
&lt;BR /&gt;
Thanks - I am going nuts&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 Aug 2005 06:15:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/3D-hotspots-something-odd/m-p/36520#M35796</guid>
      <dc:creator>Aussie John</dc:creator>
      <dc:date>2005-08-24T06:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: 3D hotspots - something odd?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/3D-hotspots-something-odd/m-p/36521#M35797</link>
      <description>&lt;BLOCKQUOTE&gt;Aussie wrote:&lt;BR /&gt;two parameters bm_wdth and Bm_dpth&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
unid=1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
ADDx a/2&lt;BR /&gt;
	ADDy bm_wdth&lt;BR /&gt;
		hotspot 0,0,0,unid,bm_dpth,1+128:unid=unid+1&lt;BR /&gt;
		hotspot 0,0,-bm_dpth,unid,bm_dpth,2:unid=unid+1&lt;BR /&gt;
		hotspot 0,0,.1,unid,bm_dpth,3:unid=unid+1&lt;BR /&gt;
	DEL 1&lt;BR /&gt;
	ADDz -bm_dpth&lt;BR /&gt;
		hotspot 0,0,0,unid,bm_wdth,1+128:unid=unid+1&lt;BR /&gt;
		hotspot 0,bm_wdth,0,unid,bm_wdth,2:unid=unid+1&lt;BR /&gt;
		hotspot 0,-.1,0,unid,bm_wdth,3:unid=unid+1&lt;BR /&gt;
	DEL 1&lt;BR /&gt;
DEL 1&lt;BR /&gt;
&lt;BR /&gt;
ROTy 90&lt;BR /&gt;
&lt;BR /&gt;
PRISM_ 5,a,&lt;BR /&gt;
0,0,15,&lt;BR /&gt;
0,BM_wdth,15,&lt;BR /&gt;
BM_dpth,BM_wdth,15,&lt;BR /&gt;
BM_dpth,0,15,&lt;BR /&gt;
0,0,15&lt;BR /&gt;
&lt;BR /&gt;
DEL 1&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
The hotspots drag in section but the value always return to the original. Of course they work fine if i adjust in the parameters.&lt;BR /&gt;
&lt;BR /&gt;
Thanks - I am going nuts&lt;/BLOCKQUOTE&gt;

Works fine in 3D in Archicad 8.1.&lt;BR /&gt;
In section it depends on the view you have.&lt;BR /&gt;
Anything from the front or rear won't work because one of the stretchy hotspots is working in the Y-axis so can't be stretched.&lt;BR /&gt;
&lt;BR /&gt;
Look at it from the side an all is fine.&lt;BR /&gt;
&lt;BR /&gt;
Is this what you are finding?&lt;BR /&gt;
&lt;BR /&gt;
If so you will need to make two separate hotspots.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Wed, 24 Aug 2005 09:35:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/3D-hotspots-something-odd/m-p/36521#M35797</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2005-08-24T09:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: 3D hotspots - something odd?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/3D-hotspots-something-odd/m-p/36522#M35798</link>
      <description>&lt;BLOCKQUOTE&gt;Aussie wrote:&lt;BR /&gt;The hotspots drag in section but the value always return to the original. Of course they work fine if i adjust in the parameters.&lt;/BLOCKQUOTE&gt;

John,&lt;BR /&gt;
In 3D, if you have two hotspots overlaping, the result will move anyway in space, and you can't "constraint" the moving. &lt;BR /&gt;
Separate them, and each one will stretch as expected.&lt;BR /&gt;
&lt;BR /&gt;
If for any reason you can't separate them, use this tip from Oleg Schmidt.&lt;BR /&gt;
&lt;BR /&gt;
x = REQUEST("Clean_intersections", "", state)&lt;BR /&gt;
&lt;BR /&gt;
if state then&lt;BR /&gt;
	! ----- depth&lt;BR /&gt;
	hotspot A/2, bm_wdth,  0      , unid, bm_dpth, 1+128 : unid=unid+1   ! base&lt;BR /&gt;
	hotspot A/2, bm_wdth,  1      , unid, bm_dpth, 3     : unid=unid+1   ! ref&lt;BR /&gt;
	hotspot A/2, bm_wdth, -bm_dpth, unid, bm_dpth, 2     : unid=unid+1   ! moving&lt;BR /&gt;
else&lt;BR /&gt;
	! ----- width&lt;BR /&gt;
	hotspot A/2,  0      , -bm_dpth, unid, bm_wdth, 1+128 : unid=unid+1   ! base&lt;BR /&gt;
	hotspot A/2, -1      , -bm_dpth, unid, bm_wdth, 3     : unid=unid+1   ! ref&lt;BR /&gt;
	hotspot A/2,  bm_wdth, -bm_dpth, unid, bm_wdth, 2     : unid=unid+1   ! moving&lt;BR /&gt;
endif&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
According to "Walls &amp;amp; Beams clean junction" (Cmd+D) in Options menu,&lt;BR /&gt;
you will switch from one to the other hotspot.&lt;BR /&gt;
This works in 2D/3D. Just neeed a rebuild to update the change.</description>
      <pubDate>Wed, 24 Aug 2005 10:30:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/3D-hotspots-something-odd/m-p/36522#M35798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2005-08-24T10:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: 3D hotspots - something odd?</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/3D-hotspots-something-odd/m-p/36523#M35799</link>
      <description>Thanks guys. In the end my coding was correct but for some reason it wasnt working in the library part. I copy and pasted to a fresh library part, recreated all of the parameters and now it works!! - no changes to the code. Go figure</description>
      <pubDate>Sun, 28 Aug 2005 22:57:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/3D-hotspots-something-odd/m-p/36523#M35799</guid>
      <dc:creator>Aussie John</dc:creator>
      <dc:date>2005-08-28T22:57:08Z</dc:date>
    </item>
  </channel>
</rss>

