GDL: Editable 3D Hotspot within Array

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-04-23 05:54 AM
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...
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)
Ling
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |
Solved! Go to Solution.
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-05-09 03:48 AM
sinceV6 wrote:
Inside a FOR loop?
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 glob_modpar 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.
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.
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-04-24 06:06 PM
i.e.: taken from a work I have done recently (
array points_array[]
for __i = 1 to vardim1 (points[])
hotspot origin_refrence, hotspot_id, points_array[__i], 128 : hotspot_id = hotspot_id + 1
hotspot points_array[__i], hotspot_id, points_array[__i], 2 : hotspot_id = hotspot_id + 1
hotspot -ve_direction_ref, hotspot_id, points_array[__i], 3 : hotspot_id = hotspot_id + 1
next __i


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-04-26 03:56 AM
I have yet to explore parameter arrays
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-04-26 01:34 PM
can you be more specific, or explain what is your case ??


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-04-29 12:20 PM
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-04-29 04:01 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-04-30 03:03 AM
Dig a bit into it... they open an array of possibilities (pun intended)
Best regards.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2019-05-09 03:48 AM
sinceV6 wrote:
Inside a FOR loop?
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 glob_modpar 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.
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.
Ling.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win11 | R5 2600 | 16GB | GTX1660 |