<?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 Make Bounding Box HotSpots not editable in GDL</title>
    <link>https://community.graphisoft.com/t5/GDL/Make-Bounding-Box-HotSpots-not-editable/m-p/241518#M4056</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hy,&lt;BR /&gt;&lt;BR /&gt;I started developing some small objects for inhouse use and created a prototype for a small adjustable oject which adds objects along its way. This is working ok, but I want the outer corner to be Hotspots which are not editable, just to be able to grab the object there. When I use A and B for the dimensions of the object, AC automatically adds editable ones. Is there a way to turn this behavior off?&lt;BR /&gt;&lt;BR /&gt;I attached my code, maybe I'm doing something else wrong here?
&lt;PRE&gt;dLength = A
dWidth = B
sX = 0
sY = dWidth / 2

N = INT(dLength/dDist)

unID = 1
hotspot2 sX, sY, unID			: unID = unID + 1
hotspot2 dLength, sY, unID		: unID = unID + 1
hotspot2 sX, -sY, unID			: unID = unID + 1
hotspot2 dLength, -sY, unID		: unID = unID + 1

hotspot2 0, 0, unID, dLength, 1+256			: unID = unID + 1
hotspot2 -dLength, 0, unID, dLength, 3		: unID = unID + 1
hotspot2 dLength, 0, unID, dLength, 2		: unID = unID + 1

LINE2 sX, -sY, sX, sY
LINE2 dLength, -sY, dLength, sY
LINE2 sX, 0, dLength, 0

FOR I=0 TO N-1
	sX = sX + dDist
	LINE2 sX, -sY*0.75, sX, sY*0.75
NEXT I 
&lt;/PRE&gt;
I couldn't find any documentation on that topic, or I wasn't looking at the right place. So please forgive me if it's obvious, but I already wasted a day on this and I'm still stuck. &lt;BR /&gt;Thank you!&lt;/DIV&gt;</description>
    <pubDate>Tue, 14 Sep 2021 11:26:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-09-14T11:26:38Z</dc:date>
    <item>
      <title>Make Bounding Box HotSpots not editable</title>
      <link>https://community.graphisoft.com/t5/GDL/Make-Bounding-Box-HotSpots-not-editable/m-p/241518#M4056</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hy,&lt;BR /&gt;&lt;BR /&gt;I started developing some small objects for inhouse use and created a prototype for a small adjustable oject which adds objects along its way. This is working ok, but I want the outer corner to be Hotspots which are not editable, just to be able to grab the object there. When I use A and B for the dimensions of the object, AC automatically adds editable ones. Is there a way to turn this behavior off?&lt;BR /&gt;&lt;BR /&gt;I attached my code, maybe I'm doing something else wrong here?
&lt;PRE&gt;dLength = A
dWidth = B
sX = 0
sY = dWidth / 2

N = INT(dLength/dDist)

unID = 1
hotspot2 sX, sY, unID			: unID = unID + 1
hotspot2 dLength, sY, unID		: unID = unID + 1
hotspot2 sX, -sY, unID			: unID = unID + 1
hotspot2 dLength, -sY, unID		: unID = unID + 1

hotspot2 0, 0, unID, dLength, 1+256			: unID = unID + 1
hotspot2 -dLength, 0, unID, dLength, 3		: unID = unID + 1
hotspot2 dLength, 0, unID, dLength, 2		: unID = unID + 1

LINE2 sX, -sY, sX, sY
LINE2 dLength, -sY, dLength, sY
LINE2 sX, 0, dLength, 0

FOR I=0 TO N-1
	sX = sX + dDist
	LINE2 sX, -sY*0.75, sX, sY*0.75
NEXT I 
&lt;/PRE&gt;
I couldn't find any documentation on that topic, or I wasn't looking at the right place. So please forgive me if it's obvious, but I already wasted a day on this and I'm still stuck. &lt;BR /&gt;Thank you!&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 Sep 2021 11:26:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Make-Bounding-Box-HotSpots-not-editable/m-p/241518#M4056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-09-14T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Make Bounding Box HotSpots not editable</title>
      <link>https://community.graphisoft.com/t5/GDL/Make-Bounding-Box-HotSpots-not-editable/m-p/241519#M4057</link>
      <description>If you don't want hotspots to be editable - you shouldn't use A and B standard variables. Just create new parameters dLength, dWidth plus hide and don't use A, B in your code... Basically, you need to change first 2 lines of your code - assign them some length or create dL and dW parameters, if you want that user could change them.</description>
      <pubDate>Wed, 03 Feb 2021 11:50:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/GDL/Make-Bounding-Box-HotSpots-not-editable/m-p/241519#M4057</guid>
      <dc:creator>A_ Smith</dc:creator>
      <dc:date>2021-02-03T11:50:29Z</dc:date>
    </item>
  </channel>
</rss>

