<?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: GDL: Editable 3D Hotspot within Array in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297516#M2510</link>
    <description>I don't get the idea, maybe by a simple diagram  I would get what you want?</description>
    <pubDate>Mon, 29 Apr 2019 14:01:45 GMT</pubDate>
    <dc:creator>Nader Belal</dc:creator>
    <dc:date>2019-04-29T14:01:45Z</dc:date>
    <item>
      <title>GDL: Editable 3D Hotspot within Array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297511#M2505</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;R&gt;Hi all,&lt;BR /&gt;
&lt;BR /&gt;
Is it possible to have editable 3D hotspots within an array? I seem to be only getting static hotspots... I got it working with 2D hotspots...&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;		hotspot ProWidth / 2,	0,	ProLength
		hotspot -ProWidth / 2,	0,	ProLength
		hotspot ProWidth / 2,	0,	-ProLength2 + HSO
		hotspot -ProWidth / 2,	0,	-ProLength2 + HSO

		hotspot ProWidth / 2,	ProHeight,	0,						unID, ProLength, 1+128	:unID = unID + 1
		hotspot ProWidth / 2,	ProHeight,	ProLength + sqr((SquareV2)^2-(ProHeight)^2),	unID, ProLength, 2	:unID = unID + 1
		hotspot ProWidth / 2,	ProHeight,	-ProLength2 + sqr((SquareV2)^2-(ProHeight)^2),	unID, ProLength, 3	:unID = unID + 1

		hotspot -ProWidth / 2,	ProHeight,	0, 						unID, ProLength, 1+128	:unID = unID + 1
		hotspot -ProWidth / 2,	ProHeight,	ProLength + sqr((SquareV2)^2-(ProHeight)^2),	unID, ProLength, 2	:unID = unID + 1
		hotspot -ProWidth / 2,	ProHeight,	-ProLength2 + sqr((SquareV2)^2-(ProHeight)^2),	unID, ProLength, 3	:unID = unID + 1

		hotspot ProWidth / 2,	ProHeight, -ProLength2 + sqr((SquareV2)^2-(ProHeight)^2)
		hotspot -ProWidth / 2,	ProHeight, -ProLength2 + sqr((SquareV2)^2-(ProHeight)^2)&lt;/PRE&gt;

&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling&lt;/R&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Apr 2019 03:54:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297511#M2505</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-04-23T03:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Editable 3D Hotspot within Array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297512#M2506</link>
      <description>Yes it's possible, but you have to specify which index of which array that you need to make the graphical editable 3D Hotspot.&lt;BR /&gt;
&lt;BR /&gt;
i.e.: taken from a work I have done recently (&lt;I&gt;&lt;/I&gt;&lt;S&gt;&lt;I&gt;&lt;I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/S&gt;in pseudo code&lt;E&gt;&lt;/E&gt;)&lt;BR /&gt;
&lt;BR /&gt;
array points_array[]&lt;BR /&gt;
&lt;BR /&gt;
for __i = 1 to vardim1 (points[])&lt;BR /&gt;
   hotspot origin_refrence, hotspot_id, points_array[__i], 128 :   hotspot_id = hotspot_id + 1&lt;BR /&gt;
   hotspot points_array[__i], hotspot_id, points_array[__i], 2 :   hotspot_id = hotspot_id + 1&lt;BR /&gt;
   hotspot -ve_direction_ref, hotspot_id, points_array[__i], 3 :   hotspot_id = hotspot_id + 1&lt;BR /&gt;
next __i</description>
      <pubDate>Wed, 24 Apr 2019 16:06:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297512#M2506</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2019-04-24T16:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Editable 3D Hotspot within Array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297513#M2507</link>
      <description>My bad.  I mean an object array, not a parameter array. For i = 1 to x&lt;BR /&gt;
I have yet to explore parameter arrays&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Fri, 26 Apr 2019 01:56:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297513#M2507</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-04-26T01:56:49Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Editable 3D Hotspot within Array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297514#M2508</link>
      <description>@lingswing&lt;BR /&gt;
&lt;BR /&gt;
can you be more specific, or explain what is your case ??</description>
      <pubDate>Fri, 26 Apr 2019 11:34:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297514#M2508</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2019-04-26T11:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Editable 3D Hotspot within Array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297515#M2509</link>
      <description>I have a stretchable sub-object that gets multiplied at various distances depending on other variables. These hotspots would enable the sub-object to be modified in the 3D view.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Mon, 29 Apr 2019 10:20:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297515#M2509</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-04-29T10:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Editable 3D Hotspot within Array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297516#M2510</link>
      <description>I don't get the idea, maybe by a simple diagram  I would get what you want?</description>
      <pubDate>Mon, 29 Apr 2019 14:01:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297516#M2510</guid>
      <dc:creator>Nader Belal</dc:creator>
      <dc:date>2019-04-29T14:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Editable 3D Hotspot within Array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297517#M2511</link>
      <description>Inside a FOR loop? it is possible, but if I'm getting right what you are trying to do, every resulting stretchable sub object will be the same (tied to the same value of the parameter). If you want each sub object to work independently, you'll need a parameter array: a parameter that can have several values.&lt;BR /&gt;
&lt;BR /&gt;
Dig a bit into it... they open an array of possibilities (pun intended)&lt;BR /&gt;
&lt;BR /&gt;
Best regards.</description>
      <pubDate>Tue, 30 Apr 2019 01:03:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297517#M2511</guid>
      <dc:creator>sinceV6</dc:creator>
      <dc:date>2019-04-30T01:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: GDL: Editable 3D Hotspot within Array</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297518#M2512</link>
      <description>&lt;BLOCKQUOTE&gt;sinceV6 wrote:&lt;BR /&gt;
Inside a FOR loop?
&lt;/BLOCKQUOTE&gt;

&lt;BR /&gt;
That is correct. I managed to get it to work by adding the variable I am wanting to change (ProLength) to the parameter list and by adding a &lt;B&gt;glob_modpar&lt;/B&gt; statement to change the order some of the calculations were done in. It seems that a user cannot edit a parameter via hotspots that is not shown in the parameter list.&lt;BR /&gt;
&lt;BR /&gt;
Using an array might help with my hotspots when I cut diagonally through my object. Then I would not have hotspots floating out in the middle of nowhere, but I will look into that separately.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Thu, 09 May 2019 01:48:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/GDL-Editable-3D-Hotspot-within-Array/m-p/297518#M2512</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2019-05-09T01:48:38Z</dc:date>
    </item>
  </channel>
</rss>

