<?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: Newbie needs help with editable Hotspots. in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28299#M31270</link>
    <description>Hi Paul,&lt;BR /&gt;
&lt;BR /&gt;
Each editable hotspot should correspond to a single parameter.&lt;BR /&gt;
&lt;BR /&gt;
As an example of what you're trying to do - adjustable column widths (I think?) - take a look at DET_Detailer_Template 10 in the US library here:&lt;BR /&gt;
&lt;BR /&gt;
Object Library 10.lcf &amp;gt; 01 Genearl 10 &amp;gt; Detailer Library 10 &amp;gt; Symbols 10&lt;BR /&gt;
&lt;BR /&gt;
There are two editable hotspots at the top which let you stretch the widths of the dimension and notes columns.  (Another editable hotspot at the top right lets you stretch the entire template in integral multiples as described in the Detailer help file.)&lt;BR /&gt;
&lt;BR /&gt;
The hotspot code is at the bottom of the 2D script (and in the parameter script).&lt;BR /&gt;
&lt;BR /&gt;
The code there is a little trickier than usual because the object was designed prior to AC 10 for placing on a plan, section or detail window and for stretch feedback to be given in print units, rather than model units.  So, there are some fake parameters to allow the user to see feedback in paper-space inches (if you will) vs whatever the current model units might be.&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
    <pubDate>Thu, 12 Apr 2007 18:47:50 GMT</pubDate>
    <dc:creator>Karl Ottenstein</dc:creator>
    <dc:date>2007-04-12T18:47:50Z</dc:date>
    <item>
      <title>Newbie needs help with editable Hotspots.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28298#M31269</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Though it seems like I'm here reading posts every day, this is my first attempt.  I'm creating template to place behind my schedules that it displays the proper headings, since I couldn't make the "IS" look exactly the way I wanted.  I need to be able to stretch these to match what is generated from the "IS".  All my attempts to create editable hotspots have failed.  I've read all I can find on the subject, but it's not working.  The colored hotspots show up correctly, the pet palette pops up and when I select the stretch option the display parameter displays the correct dimension, but when I click OK nothing changes.  My "X" variable is forced to = a specified length in my master script.  Is this causing my problem?  I hope I've given enough information.&lt;BR /&gt;
&lt;BR /&gt;
!2D Script!&lt;BR /&gt;
unID =	1&lt;BR /&gt;
HOTSPOT2	-0'-1.0", 0'-1.0", unID, X, 3  :unID=unID+1	!REF!&lt;BR /&gt;
HOTSPOT2	0'-0.0", 0'-1.0", unID, X, 1+256  :unID=unID+1 !BASE!&lt;BR /&gt;
HOTSPOT2	X, 0'-1.0", unID, X, 2		:unID=unID+1 !MOVE!&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2	-0'-1.0", 0'-0.5", unID, X, 3   :unID=unID+1 !REF!&lt;BR /&gt;
HOTSPOT2	0'-0.0", 0'-0.5", unID, X, 1+256 :unID=unID+1 !BASE!&lt;BR /&gt;
HOTSPOT2	X, 0'-0.5", unID, X, 2	:unID=unID+1 !MOVE!&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2    -0'-1.0", 0'-0.0", unID, X, 3   :unID=unID+1 !REF!&lt;BR /&gt;
HOTSPOT2	0'-0.0", 0'-0.0", unID, X, 1+256  :unID=unID+1 !BASE!&lt;BR /&gt;
HOTSPOT2    X, 0'-0.0", unID, X, 2   :unID=unID+1 !MOVE!&lt;BR /&gt;
&lt;BR /&gt;
HOTSPOT2	-0'-1.0", -B+1", unID, X, 3   :unID=unID+1	!REF!&lt;BR /&gt;
HOTSPOT2    0'-0.0", -B+1", unID, X, 1+256   :unID=unID+1 !BASE!&lt;BR /&gt;
HOTSPOT2	X, -B+1", unID, X, 2		:unID=unID+1 !MOVE!&lt;BR /&gt;
&lt;BR /&gt;
!Master Script!&lt;BR /&gt;
IF	TYPE="Beam" THEN&lt;BR /&gt;
A=	1'-6 61/64"&lt;BR /&gt;
B=	4 33/64"&lt;BR /&gt;
X=	A&lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
&lt;IMG src="http://homepage.mac.com/klmo/.cv/klmo/Sites/.Public//Picture%201.jpg-thumb_194_194.jpg" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
&lt;IMG src="http://homepage.mac.com/klmo/.cv/klmo/Sites/.Public//Picture%202.jpg-thumb_194_194.jpg" /&gt;&lt;BR /&gt;
&lt;BR /&gt;
I also attached these images.  I need to learn more about inserting images into this topic window.&lt;BR /&gt;
Thanks&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 24 May 2023 10:05:19 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28298#M31269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-24T10:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie needs help with editable Hotspots.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28299#M31270</link>
      <description>Hi Paul,&lt;BR /&gt;
&lt;BR /&gt;
Each editable hotspot should correspond to a single parameter.&lt;BR /&gt;
&lt;BR /&gt;
As an example of what you're trying to do - adjustable column widths (I think?) - take a look at DET_Detailer_Template 10 in the US library here:&lt;BR /&gt;
&lt;BR /&gt;
Object Library 10.lcf &amp;gt; 01 Genearl 10 &amp;gt; Detailer Library 10 &amp;gt; Symbols 10&lt;BR /&gt;
&lt;BR /&gt;
There are two editable hotspots at the top which let you stretch the widths of the dimension and notes columns.  (Another editable hotspot at the top right lets you stretch the entire template in integral multiples as described in the Detailer help file.)&lt;BR /&gt;
&lt;BR /&gt;
The hotspot code is at the bottom of the 2D script (and in the parameter script).&lt;BR /&gt;
&lt;BR /&gt;
The code there is a little trickier than usual because the object was designed prior to AC 10 for placing on a plan, section or detail window and for stretch feedback to be given in print units, rather than model units.  So, there are some fake parameters to allow the user to see feedback in paper-space inches (if you will) vs whatever the current model units might be.&lt;BR /&gt;
&lt;BR /&gt;
Hope that helps.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Thu, 12 Apr 2007 18:47:50 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28299#M31270</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2007-04-12T18:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie needs help with editable Hotspots.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28300#M31271</link>
      <description>Forcing the value of X in the master pretty much defeats the purpose of the dynamic hotspots (as I prefer to call them). As Karl points out it is also unusual (though it can work just fine) to have multiple hotspots refer to the same parameter.&lt;BR /&gt;
&lt;BR /&gt;
I suggest you start with a simpler test part to get the hang of it first (even just a line or box or bit of moveable text with a leader). I usually do this with any function that I am figuring out for the first time, as the interactions in a complex part can be baffling enough with functions I know inside out.</description>
      <pubDate>Fri, 13 Apr 2007 13:01:06 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28300#M31271</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-13T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie needs help with editable Hotspots.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28301#M31272</link>
      <description>Thanks Karl,&lt;BR /&gt;
I think I got it figured out!  I had my script backwards.  I was telling my "X" variable (schedule width) to equal the default "A" width.  What I needed to do was to tell the defaut "A" width to equal my "X" variable width.  I was sort of suprised that I had to create a new variable "X" to be edited by the hotspot and make it equal the default "A" variable.  I was wanting to just use the default "A" varible created by Archicad in my hotspot script.&lt;BR /&gt;
 &lt;BR /&gt;
Thanks,&lt;BR /&gt;
Paul</description>
      <pubDate>Fri, 13 Apr 2007 13:34:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28301#M31272</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-13T13:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie needs help with editable Hotspots.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28302#M31273</link>
      <description>&lt;BLOCKQUOTE&gt;Paul wrote:&lt;BR /&gt;I was wanting to just use the default "A" varible created by Archicad in my hotspot script.&lt;/BLOCKQUOTE&gt;

You can modify "A" and "B" directly with dynamic hotspots. Just specify them in the Hotspot or Hotspot2 statement. For example:&lt;BR /&gt;

&lt;PRE&gt;Hotspot2 0, 0, unID, A, 1 : unID = unID+1
Hotspot2 A, 0, unID, A, 2 : unID = unID+1
Hotspot2 -1, 0, unID, A, 3 : unID = unID+1&lt;/PRE&gt;</description>
      <pubDate>Mon, 16 Apr 2007 11:16:12 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28302#M31273</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-16T11:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie needs help with editable Hotspots.</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28303#M31274</link>
      <description>Matthew, &lt;BR /&gt;
For some reason when I try to change the A &amp;amp; B values with my dynamic hotspots, nothing stretches, but when I make a new parameter with a variable that = A or B, it works perfect.  I will try this more in the future.  I feel much more comfortable with dynamic hotspots now, thanks to all the help from the forum.  &lt;BR /&gt;
Thanks, &lt;BR /&gt;
Paul</description>
      <pubDate>Tue, 17 Apr 2007 14:23:30 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Newbie-needs-help-with-editable-Hotspots/m-p/28303#M31274</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2007-04-17T14:23:30Z</dc:date>
    </item>
  </channel>
</rss>

