License delivery maintenance is planned for Saturday, July 26, between 12:00 and 20:00 CEST. During this time, you may experience outages or limited availability across our services, including BIMcloud SaaS, License Delivery, Graphisoft ID (for customer and company management), Graphisoft Store, and BIMx Web Viewer. More details…

GDL
About building parametric objects with GDL.
SOLVED!

GDL: 2D Symbol Hotspots in 3D

Lingwisyer
Guru

Hi all,

 

How do you disable hotspots placed in the 2D Symbol window from appearing in 3D? Toggling AC_show2DHotspotsin3D doesn't seem to do anything... I am trying to reduce the amount of manual coding when making furniture objects...

 

 

Ling.

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
2 ACCEPTED SOLUTIONS

Accepted Solutions
Solution

I know you're more experienced than me in GDL, but just to be sure: if you've changed the AC_show2DHotspotsin3D parameter from the object, if you've already placed the object in archicad, the change in parameter value is not taken into account, unless you restore the default values.

 

I coded a cube with one 2D hostpot and one 3D hotspot, and they are not the same. Is this what you're looking for?

 

Capture d’écran 2025-06-27 à 11.04.51.png

Archicad 27 - GDL - PYTHON

View solution in original post

Solution

*facepalm*

Forcing the parameter in the Parameter Script did not seem to do anything....

PARAMETERS AC_Show2dHotspotsin3d = 0

 

Probably due to script exection order... When the UI says one thing, but the 3D says something else... Zzz...

 

Thanks...

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660

View solution in original post

6 REPLIES 6

I think that you need to have at least one 3D hotspot like HOTSPOT 0,0,0  with AC_show2DHotspotsin3D  disabled.

Archicad 27 - GDL - PYTHON

I have a full set of 3D hotspots coded, since I was wanting hotspots for all the fixing points

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660

It works for me. Did you restore the default settings of the object when you selected AC_show2DHotspotsin3D?

Archicad 27 - GDL - PYTHON

Restore default settings?

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660
Solution

I know you're more experienced than me in GDL, but just to be sure: if you've changed the AC_show2DHotspotsin3D parameter from the object, if you've already placed the object in archicad, the change in parameter value is not taken into account, unless you restore the default values.

 

I coded a cube with one 2D hostpot and one 3D hotspot, and they are not the same. Is this what you're looking for?

 

Capture d’écran 2025-06-27 à 11.04.51.png

Archicad 27 - GDL - PYTHON
Solution

*facepalm*

Forcing the parameter in the Parameter Script did not seem to do anything....

PARAMETERS AC_Show2dHotspotsin3d = 0

 

Probably due to script exection order... When the UI says one thing, but the 3D says something else... Zzz...

 

Thanks...

AC22-28 AUS 3110Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win11 | R5 2600 | 16GB | GTX1660