<?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: Having an issue with dynamic hotspots in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295434#M5828</link>
    <description>&lt;BLOCKQUOTE&gt;Hmooslechner wrote:&lt;BR /&gt;sorry for the mass of copied texts - something happend during klicking on the apply-Button. How can i delete this?&lt;/BLOCKQUOTE&gt;

You should be able to delete your last post so long as nobody else has replied to it - the delete "X" is next to the 'Edit' button.&lt;BR /&gt;
&lt;BR /&gt;
If someone has replied then one of the moderators can delete the multiple posts.&lt;BR /&gt;
&lt;BR /&gt;
I find the forum runs a bit slow sometimes so after pressing 'Submit' you get the feeling nothing has happened. So you press it again and again.&lt;BR /&gt;
Finally it works and you end up with multiple post.&lt;BR /&gt;
Sometimes it can take up to a minute to respond (so I am finding).&lt;BR /&gt;
&lt;BR /&gt;
EDIT: for example this post took about 25 seconds after hitting the submit button before it finally went.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
    <pubDate>Mon, 10 Jul 2017 01:53:17 GMT</pubDate>
    <dc:creator>Barry Kelly</dc:creator>
    <dc:date>2017-07-10T01:53:17Z</dc:date>
    <item>
      <title>Having an issue with dynamic hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295429#M5823</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi, I am having a problem with dynamic hotspots working correctly with this specific object. I can't seem to work it out. 
&lt;PRE&gt;	HOTSPOT -mirror_width/2, 0.024, 1.1,HSID+1, mirror_width, 1+128      !base 
	HSID = HSID+1 
	HOTSPOT -1, 0, 0, HSID+1, mirror_width, 3         !reference 
	HSID = HSID+1 
	HOTSPOT mirror_width/2, 0.024, 1.1 ,HSID+1, mirror_width, 2      !moveable&lt;/PRE&gt;

I can't get the hotspot to move accurately with the dimension shown in the picture. I know that it's because it is using -mirror_width/2 which is changing but I do not know an alternative option which is what I'm after.&lt;BR /&gt;
Thanks&lt;/R&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/19955iFA5EFE94FACD41DF/image-size/large?v=v2&amp;amp;px=999" border="0" alt="mirror width example.jpg" title="mirror width example.jpg" /&gt;</description>
      <pubDate>Fri, 07 Jul 2017 12:03:04 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295429#M5823</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2017-07-07T12:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Having an issue with dynamic hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295430#M5824</link>
      <description>I don't currently have ArchiCad open to confirm, but I would try this:&lt;BR /&gt;

&lt;PRE&gt;HOTSPOT -mirror_width/2, 0.024, 1.1, HSID, mirror_width, 1+128: HSID = HSID+1  !base 
HOTSPOT mirror_width/2, 0.024, 1.1 ,HSID, mirror_width, 2: HSID = HSID+1    !moveable
HOTSPOT 1, 0.024, 1.1, HSID, mirror_width, 3: HSID = HSID+1         !reference &lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Jul 2017 12:59:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295430#M5824</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2017-07-07T12:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Having an issue with dynamic hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295431#M5825</link>
      <description>&lt;BLOCKQUOTE&gt;Erich wrote:&lt;BR /&gt;I don't currently have ArchiCad open to confirm, but I would try this:&lt;BR /&gt;

&lt;PRE&gt;HOTSPOT -mirror_width/2, 0.024, 1.1, HSID, mirror_width, 1+128: HSID = HSID+1  !base 
HOTSPOT mirror_width/2, 0.024, 1.1 ,HSID, mirror_width, 2: HSID = HSID+1    !moveable
HOTSPOT 1, 0.024, 1.1, HSID, mirror_width, 3: HSID = HSID+1         !reference &lt;/PRE&gt;&lt;/BLOCKQUOTE&gt; It sadly behaves the same way as my original. Thanks for the reply.</description>
      <pubDate>Fri, 07 Jul 2017 13:15:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295431#M5825</guid>
      <dc:creator>JGoode</dc:creator>
      <dc:date>2017-07-07T13:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Having an issue with dynamic hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295432#M5826</link>
      <description>In Your code - You are asking the Parameter mirror_width.&lt;BR /&gt;
&lt;BR /&gt;
If You calculate within the sequence - archicad "gets puzzeld".&lt;BR /&gt;
&lt;BR /&gt;
You dont have to calculate in the sequence!&lt;BR /&gt;
&lt;BR /&gt;
You wrote: mirror_width/2&lt;BR /&gt;
&lt;BR /&gt;
With /2 You get not working results on the asked parameter&lt;BR /&gt;
&lt;BR /&gt;
Just try it without any calculation.</description>
      <pubDate>Sat, 08 Jul 2017 17:00:48 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295432#M5826</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2017-07-08T17:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Having an issue with dynamic hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295433#M5827</link>
      <description>sorry for the mass of copied texts - something happend during klicking on the apply-Button. How can i delete this?</description>
      <pubDate>Sat, 08 Jul 2017 17:01:02 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295433#M5827</guid>
      <dc:creator>Hmooslechner</dc:creator>
      <dc:date>2017-07-08T17:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Having an issue with dynamic hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295434#M5828</link>
      <description>&lt;BLOCKQUOTE&gt;Hmooslechner wrote:&lt;BR /&gt;sorry for the mass of copied texts - something happend during klicking on the apply-Button. How can i delete this?&lt;/BLOCKQUOTE&gt;

You should be able to delete your last post so long as nobody else has replied to it - the delete "X" is next to the 'Edit' button.&lt;BR /&gt;
&lt;BR /&gt;
If someone has replied then one of the moderators can delete the multiple posts.&lt;BR /&gt;
&lt;BR /&gt;
I find the forum runs a bit slow sometimes so after pressing 'Submit' you get the feeling nothing has happened. So you press it again and again.&lt;BR /&gt;
Finally it works and you end up with multiple post.&lt;BR /&gt;
Sometimes it can take up to a minute to respond (so I am finding).&lt;BR /&gt;
&lt;BR /&gt;
EDIT: for example this post took about 25 seconds after hitting the submit button before it finally went.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 10 Jul 2017 01:53:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295434#M5828</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-07-10T01:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: Having an issue with dynamic hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295435#M5829</link>
      <description>Try this:&lt;BR /&gt;
&lt;BR /&gt;
2 parameters: mirror_width,mirror_widthper2&lt;BR /&gt;
Parameters script: parameters mirror_width=mirror_widthper2*2&lt;BR /&gt;
&lt;BR /&gt;
2d script:&lt;BR /&gt;
&lt;BR /&gt;
HSID=1&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 0,					0.024, 	HSID, 	mirror_widthper2,	1+128	,mirror_width		:HSID=HSID+1 !base &lt;BR /&gt;
HOTSPOT2 mirror_widthper2,	0.024, 	HSID, 	mirror_widthper2,	2		,mirror_width		:HSID=HSID+1 !moveable&lt;BR /&gt;
HOTSPOT2 -1,					0.024,	HSID, 	mirror_widthper2,	3		,mirror_width		:HSID=HSID+1 !reference&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2 0,					0.024, 	HSID, 	mirror_widthper2,	1+128	,mirror_width		:HSID=HSID+1 !base &lt;BR /&gt;
HOTSPOT2 -mirror_widthper2,	0.024, 	HSID, 	mirror_widthper2,	2		,mirror_width		:HSID=HSID+1 !moveable&lt;BR /&gt;
HOTSPOT2 1,					0.024,	HSID, 	mirror_widthper2,	3		,mirror_width		:HSID=HSID+1 !reference&lt;BR /&gt;
&lt;BR /&gt;
hotspot2 0,0&lt;BR /&gt;
line2 mirror_width*.5,0,-mirror_width*.5,0</description>
      <pubDate>Mon, 10 Jul 2017 07:06:56 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295435#M5829</guid>
      <dc:creator>Pertti Paasky</dc:creator>
      <dc:date>2017-07-10T07:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Having an issue with dynamic hotspots</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295436#M5830</link>
      <description>&lt;BLOCKQUOTE&gt;Pertti wrote:&lt;BR /&gt;Parameters script: parameters mirror_width=mirror_widthper2*2
&lt;/BLOCKQUOTE&gt;

This part is fine if you just want to stretch the mirror with the hotspot.&lt;BR /&gt;
But if you want to type a figure into the tracker then it won't work because you are still actually adjusting the half width while displaying the value of the full with on the hotspot.&lt;BR /&gt;
&lt;BR /&gt;
But to get around that just add this to the parameter script instead of what you had.&lt;BR /&gt;

&lt;PRE&gt;if GLOB_MODPAR_NAME = "mirror_widthper2" then
	mirror_width = mirror_widthper2*2
	PARAMETERS mirror_width = mirror_width
endif

if GLOB_MODPAR_NAME = "mirror_width" then
	mirror_widthper2 = mirror_width*0.5
	PARAMETERS mirror_widthper2 = mirror_widthper2
endif
&lt;/PRE&gt;

This way whether you adjust the half width or the full width one will adjust the other.&lt;BR /&gt;
&lt;BR /&gt;
Barry.</description>
      <pubDate>Mon, 10 Jul 2017 08:55:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Having-an-issue-with-dynamic-hotspots/m-p/295436#M5830</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2017-07-10T08:55:42Z</dc:date>
    </item>
  </channel>
</rss>

