<?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: Second hotspot in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111970#M28783</link>
    <description>Hi Peter,&lt;BR /&gt;
Good to here from you again. Basically, I got it in my head that I could create my own stretchable dimension. Unfortunately I forgot to remember "KISS" ( keep it simple stupid) Actually I've never created a simple line object and it never entered my mind to try it in this case.(I have a tendency to do things the hard way but I'm trying to ease up on that!!) I used you're suggestion and found that the 3rd geometry method worked better for me because I only have to click twice(I'm lazy as well!!) I think I can put other lines and text into the script to make it look like a normal dimension using the formulas on the geometry reference sheet that I have hanging on the wall given to me by some kind gentleman! The next step will be to find a way to split a long wall dimension or add dimensions to a string using ctrl click(or maybe editable hotspots?) the way AC does to measure window and doors in a single string.</description>
    <pubDate>Sun, 06 Jan 2008 21:45:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-01-06T21:45:14Z</dc:date>
    <item>
      <title>Second hotspot</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111967#M28780</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
I know that the simple code, (hotspot2 0,0) will place a hotspot at the point that I click my mouse. Is there a way to place a second hotspot at a point of my choice within the same script?&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Doug&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 06 Jan 2008 17:12:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111967#M28780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-06T17:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Second hotspot</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111968#M28781</link>
      <description>I'm beginning to understand how this code works....&lt;BR /&gt;
&lt;BR /&gt;
!_________________________moving it horizontally &lt;BR /&gt;
hotspot2 0,verti,unID,horz,1+128 : unID=unID+1 &lt;BR /&gt;
hotspot2 -1,verti,unID,horz,3 : unID=unID+1 &lt;BR /&gt;
hotspot2 horz,verti,unID,horz,2+256 : unID=unID+1 &lt;BR /&gt;
&lt;BR /&gt;
!_________________________moving it vertically &lt;BR /&gt;
hotspot2 horz,0,unID,verti,1+128 : unID=unID+1 &lt;BR /&gt;
hotspot2 horz,-1,unID,verti,3 : unID=unID+1 &lt;BR /&gt;
hotspot2 horz,verti,unID,verti,2+256 : unID=unID+1 &lt;BR /&gt;
hotspot2 horz/2,verti/2&lt;BR /&gt;
line2 0,0,horz,verti&lt;BR /&gt;
&lt;BR /&gt;
Someone posted it in another thread at some point and I thank them very much. I added the line2 to create a line between the hotspots. What I'd like to be able to do is&lt;BR /&gt;
&lt;BR /&gt;
A: Draw the line by picking two points at the time I insert the object.&lt;BR /&gt;
B: After placing the object, I'd like to be able to stretch the line using either of the hotspots instead of one of them being fixed at 0,0&lt;BR /&gt;
C: Place other moveable hotspots on the same line.</description>
      <pubDate>Sun, 06 Jan 2008 19:31:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111968#M28781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-06T19:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Second hotspot</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111969#M28782</link>
      <description>Hello Doug,&lt;BR /&gt;
I wish I understood what you are trying to do.&lt;BR /&gt;
If you simply want to make a stretchable line&lt;BR /&gt;
then try this code.&lt;BR /&gt;
&lt;BR /&gt;
pen 10&lt;BR /&gt;
&lt;BR /&gt;
hotspot2 0,0&lt;BR /&gt;
&lt;BR /&gt;
hotspot2 a,b&lt;BR /&gt;
&lt;BR /&gt;
pen 1&lt;BR /&gt;
&lt;BR /&gt;
line2 0,0,a,b&lt;BR /&gt;
&lt;BR /&gt;
Place the object using the fourth placement method from the left.&lt;BR /&gt;
This will enable you to stretch the line to any length and angle.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sun, 06 Jan 2008 20:26:20 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111969#M28782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-06T20:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Second hotspot</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111970#M28783</link>
      <description>Hi Peter,&lt;BR /&gt;
Good to here from you again. Basically, I got it in my head that I could create my own stretchable dimension. Unfortunately I forgot to remember "KISS" ( keep it simple stupid) Actually I've never created a simple line object and it never entered my mind to try it in this case.(I have a tendency to do things the hard way but I'm trying to ease up on that!!) I used you're suggestion and found that the 3rd geometry method worked better for me because I only have to click twice(I'm lazy as well!!) I think I can put other lines and text into the script to make it look like a normal dimension using the formulas on the geometry reference sheet that I have hanging on the wall given to me by some kind gentleman! The next step will be to find a way to split a long wall dimension or add dimensions to a string using ctrl click(or maybe editable hotspots?) the way AC does to measure window and doors in a single string.</description>
      <pubDate>Sun, 06 Jan 2008 21:45:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111970#M28783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-06T21:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Second hotspot</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111971#M28784</link>
      <description>Hello Doug,&lt;BR /&gt;
It is interesting that you are trying to make an object look like&lt;BR /&gt;
a dimension line because I was just looking at an object I made&lt;BR /&gt;
a long time ago which looks like a dimension line. I have forgotten&lt;BR /&gt;
whey I made it and have never used it. You might be interested&lt;BR /&gt;
in the code so I am uploading here.&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Sun, 06 Jan 2008 22:47:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111971#M28784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-06T22:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Second hotspot</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111972#M28785</link>
      <description>Peter, is safe to assume that this was saved in a version later than AC9. That's what I have running at the moment and can't load it.</description>
      <pubDate>Mon, 07 Jan 2008 00:59:08 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111972#M28785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-07T00:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Second hotspot</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111973#M28786</link>
      <description>Hello Doug, &lt;BR /&gt;
Here is the lib part saved in AC 8.1&lt;BR /&gt;
Peter Devlin</description>
      <pubDate>Mon, 07 Jan 2008 01:12:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111973#M28786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-07T01:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Second hotspot</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111974#M28787</link>
      <description>Peter, &lt;BR /&gt;
I got it to load and it's pretty neat. It's nice that people are willing to share their scripts so that others can use them to figure out how things work.&lt;BR /&gt;
&lt;BR /&gt;
Thanks...Doug</description>
      <pubDate>Mon, 07 Jan 2008 17:50:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Second-hotspot/m-p/111974#M28787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-01-07T17:50:39Z</dc:date>
    </item>
  </channel>
</rss>

